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 Referencing java.home in build.xml
Date Mon, 29 Jul 2002 21:45:54 GMT
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>


Mime
View raw message