[Scons-users] replacing ant with java

Pierre-Luc Boily pierreluc.boily at gmail.com
Wed Oct 19 17:16:58 EDT 2016


Bill, thx for the info, I'll have a look into that.  In an other hand, /my
parallel build is working now/ with java.  As I said in a previous post, I
was starting multiple time the same java compilation (through ant+scons).  I
kept only the main SConscript and now, it is OK.

It brings me back in my original post.  I will narrow my question to "/Does
it worth it to pass from ant to scons/"?

Advantage I can see is :
1 - Only one build system (easier to maintain)
2 - Cleaning is better manage with scons (might be no longer a problem if I
use correctly target as stated)
3 - With scons, I can use the powerful checksum feature.  Will not recompile
for nothing 
4 - Any other idea?

But then, I am worried to do that change, I can read in a previous post :

/but the builders have a lot of restrictions, so I have had difficulty in
the past when porting from ANT -> SCons, but it is doable; some of this is
related to bugs in the Java toolchain which didn't get appropriate community
support./

Plus :
/For example, items added to the JAVACLASSPATH are not automatically added
as dependencies./

I want to hear your opinion =)



--
View this message in context: http://scons.1086193.n5.nabble.com/replacing-ant-with-java-tp40648p40662.html
Sent from the Users mailing list archive at Nabble.com.


More information about the Scons-users mailing list