<property name="tools.jar" location="${java.home}/../lib/tools.jar" />

When using the JRE (instead of the JDK) or a pre-Java2 JDK, the tools.jar
file will not exist. --DD

-----Original Message-----
From: Wise, Bowden (Research) [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 29, 2002 4:51 PM
To: 'Ant Users List'
Subject: RE: Referencing java.home in build.xml

Ahhs, thats good to know, any workarounds?!
Bowden


>-----Original Message-----
>From: Dominique Devienne [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 29, 2002 5:49 PM
>To: 'Ant Users List'
>Subject: RE: Referencing java.home in build.xml
>
>
>The VM is doing this, not Ant. --DD
>
>-----Original Message-----
>From: Wise, Bowden (Research) [mailto:[EMAIL PROTECTED]] 
>Sent: Monday, July 29, 2002 4:46 PM
>To: '[EMAIL PROTECTED]'
>Subject: Referencing java.home in build.xml
>
>Hi
>
>Using ant on Windows platform... 
>
>My JAVA_HOME is defined as C:\j2sdk1.4.0
>when i reference ${java.home} in my build.xml file it is equal to:
>C:\j2sdk1.4.0\jre 
>
>This causes problems if i want to reference a jar file in
>C:\j2sdk1.4.0\lib
>
>For example
>   <property name="tools.jar"      value="${java.home}\lib\tools.jar"/>
>comes out to be:
>
>C:\j2sdk1.4.0\jre\lib\tools.jar
>
>Why has the 'jre' directory been added to java.home?
>
>> Bowden
>> g GE Global Research Center 
>>
>_______________________________________________________________
>_____________
>_______________________
>> ________________
>G. Bowden Wise
>mailto:[EMAIL PROTECTED]
>Information and Decision Technologies
>GE Global Research Center
>Building K1, Room 5B2C
>PO Box 8                            | One Research Circle
>Schenectady, NY 12301       | Niskayuna NY 12309
>Phone: 518-387-7833           | Fax: 518-387-6104
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For 
>additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For 
>additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to