Naina Dani | 1 Jul 22:25
Picon

how to set JAVA_HOME in antscript build.xml

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.

_______________________________________________
Anthill mailing list
Anthill@...
http://lists.urbancode.com/mailman/listinfo/anthill

Gmane