|
From: Charles <ch...@th...> - 2001-08-12 03:59:22
|
I am getting an error message from AntFarm when I try & compile
indicating that
the environment variable JAVA_HOME should be set to point to the jdk.
JAVA_HOME is set on my system to do that so I gather this should be done
within
the ant call. Would someone point me to the way to do this ? The
property
documentation of ant didn't help me much. My attempt at solving this is
below.
Thanks,
Charles
<property environment="env" />
<target name="build" depends="init">
<mkdir dir="${java.build}"/>
<javac srcdir="${java.source}" destdir="${java.build}">
</javac>
</target>
|