[Scons-users] Java with tool call

Philipp Kraus philipp.kraus at flashpixx.de
Thu Nov 22 17:09:19 EST 2012



Am 22.11.2012 um 22:50 schrieb William Deegan:


> Phil,

>

> On Nov 22, 2012, at 5:13 AM, Philipp Kraus <philipp.kraus at flashpixx.de> wrote:

>

>> Hello,

>>

>> I have create the env object with

>> env = Environment( tools = [] )

>>

>> and I would like to use Java (javac, jar, javah) and try to set it up with

>> env.Tool("java")

>>

>> and I get the error: EnvironmentError: No tool named 'Java': not a Zip file:

>>

>> How can I add the Java support?

>

> Take a look at the manpage for the list of tools.

> http://scons.org/doc/production/HTML/scons-man.html

>

> I see:

> javac, javah, jar



damn it was a typo error, I have written Javac, Jar and Javah.
Always with an upper-case letter at the begin

Thanks for your answer, it works with a lower-case letter

Phil


More information about the Scons-users mailing list