Scons missing builtin Builder for "Jar" -


i'm using (admittedly aged) version of scons (2.0.1; upgrading possible might difficult), , i'm having trouble "jar" builder. specifically, isn't available, , don't know why. "javaclassfile" builder available , works correctly, can't build jar, failing error:

scons: reading sconscript files ... attributeerror: 'sconsenvironment' object has no attribute 'jar': file "/home/fred/comms/sconstruct", line 183: envwithjava.jar(target='util/myproject.jar', source=['util/myproject.class', 'util/jasypt.jar', 'util/bcprov-ext-jdk15on-152.jar', 'util/manifest.txt'])

the relevant sconstruct excerpt:

env.jar(target='util/myproject.jar', source=['util/myproject.class', 'util/jasypt.jar', 'util/bcprov-ext-jdk15on-152.jar', 'util/manifest.txt'])

"builders:" env.dump() not list "jar", has numerous others, , builds c, c++, flex , other sources fine.

i'm looking way debug what's happening inside of scons make skip builder. jar command in same dir javac, , builder works, doesn't seem path related. python files have jar references present in lib used scons.

any ideas?

my guess either have no "jar" executable installed (can call on command line?), or it's located in path hasn't been propagated environment. see #1 of "most asked faqs" @ http://scons.org/wiki/frequentlyaskedquestions , java-specific bug report @ http://scons.tigris.org/issues/show_bug.cgi?id=2730 .


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -