how to set JAVA_HOME in antscript build.xml

"Naina Dani" <[email protected]> Tue, 1 Jul 2008 15:25:39 -0500
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
--===============0939960321==
Content-Type: multipart/alternative; 
	boundary="----=_Part_22299_1445695.1214943940105"

------=_Part_22299_1445695.1214943940105
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_22299_1445695.1214943940105
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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>Naina.<br>

------=_Part_22299_1445695.1214943940105--

--===============0939960321==
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

--===============0939960321==--