ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wise, Bowden (Research)" <wis...@crd.ge.com>
Subject RE: Referencing java.home in build.xml
Date Mon, 29 Jul 2002 21:50:52 GMT
Ahhs, thats good to know, any workarounds?!
Bowden


>-----Original Message-----
>From: Dominique Devienne [mailto:DDevienne@lgc.com]
>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:wisegb@crd.ge.com] 
>Sent: Monday, July 29, 2002 4:46 PM
>To: 'ant-user@jakarta.apache.org'
>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:wisegb@research.ge.com
>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:ant-user-unsubscribe@jakarta.apache.org>
>For 
>additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   
><mailto:ant-user-unsubscribe@jakarta.apache.org>
>For 
>additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message