how to set JAVA_HOME in antscript build.xml

"Naina Dani" <[email protected]> Tue, 1 Jul 2008 15:32:16 -0500
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
--===============1416566523==
Content-Type: multipart/alternative; 
	boundary="----=_Part_22313_30067079.1214944336045"

------=_Part_22313_30067079.1214944336045
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello everybody,

I am facing a peculiar problem. I have two projects in anthill. One of them
needs java 1.4 and the other needs java 1.5. The problem is, if I set
JAVA_HOME to 1.4 or 1.5 in my .profile, one project builds and the other
fail.

So I want to set JAVA_HOME in build.xml of the project, so that JAVA_HOME is
set depending on the project being built. Can anybody give me an idea how to
do this ?

Thanks in advance.
Regards,
Naina.

------=_Part_22313_30067079.1214944336045
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div class="gmail_quote"><br>Hello everybody,<br><br>I am facing a peculiar problem. I have two projects in anthill. One of them needs java 1.4 and the other needs java 1.5. The problem is, if I set JAVA_HOME to 1.4 or 1.5 in my .profile, one project builds and the other fail.<br>

<br>So I want to set JAVA_HOME in build.xml of the project, so that JAVA_HOME is set depending on the project being built. Can anybody give me an idea how to do this ?<br><br>Thanks in advance.<br>Regards,<br><font color="#888888">Naina.<br>

</font></div><br>

------=_Part_22313_30067079.1214944336045--

--===============1416566523==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill

--===============1416566523==--