| Author |
ANT
|
yegappan ramaiah
Greenhorn
Joined: Dec 29, 2003
Posts: 27
|
|
|
i need to set the java_home dynamically in my build.xml file, anyone can help me???
|
 |
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
|
Since this is an ANT question, how's about we move it to the Ant forum...
|
My Blog | DZone Articles
|
 |
B Hayes
Ranch Hand
Joined: Feb 07, 2003
Posts: 61
|
|
You mean from outside the buildfile? You can set up environment variables before running your build.xml and read them. Ex: <property environment="env" /> <property name="project.home" value="${env.project_home}" />
|
 |
yegappan ramaiah
Greenhorn
Joined: Dec 29, 2003
Posts: 27
|
|
hi hayes, thanx but the requirement is that i have to use jdk1.4 for compilation and after the javac, i want the java_home to point to the websphere's jdk, everything is in a single build.xml... u have any idea how to proceed, thanx for replying, anyone can help in this regard, thanx to all
|
 |
 |
|
|
subject: ANT
|
|
|