[Scons-users] Problems with the Java builder

Russel Winder russel at winder.org.uk
Tue Jan 21 13:26:33 EST 2014


On Tue, 2014-01-21 at 14:07 +0100, Brady Johnson wrote:
[…]

> I cant think of a solution for this problem, other than including direct

> calls to the java compiler in the builder that generates the java files,

> and figure out the correct java target class directory structure based on

> the input thrift files.

[…]

The (many) problems of the Java builder have been discussed many times
over the years. From time to time someone has a tinker to try and
resolve some of the problems. However they generally come across the
problem that SCons needs an emitter that determines the exact set
of .class files given the source input. Given that you have to compile
Java source to know what this set is, it sort of undermines the whole
SCons management of Java code.

Given that the number of people working with Java who are not using
Gradle (or Maven (or Ant)) is tiny, there isn't really that much energy
available to see what might be done. Given Scala has SBT, Clojure has
Leiningen, and Kotlin and Ceylon nigh on require an IDE, and Gradle can
now process C and C++, the need to make SCons JVM language offering work
is receding rapidly into the distance.

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder



More information about the Scons-users mailing list