[Anthill] how to set JAVA_HOME in antscript build.xml

Naina Dani ndani17 at gmail.com
Tue Jul 1 15:32:16 CDT 2008


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20080701/d0c32b9a/attachment-0002.htm


More information about the Anthill mailing list