Apologies for being stupid here -
I'm trying to get a javac task to have a classpath that points to a jar file that
isn't in the build base directory. The location of the jar is in a path specified by
an environment variable. Is it possible to get a fileset to point to this environment
specified directory?
My build.xml:
<project name="dbAccessTest" default="compile">
<property name="src" value="src"/>
<property name="build" value="build"/>
<property environment="env"/>
<property name="j2ee_home" value="${env.J2EE_HOME}"/>
<property name="java_home" value="${env.JAVA_HOME}"/>
<target name="init">
<tstamp/>
<delete dir="${build}"/>
<mkdir dir="${build}"/>
<mkdir dir="${build}/lib"/>
<mkdir dir="${build}/classes"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}/classes" includes="Account.java">
<classpath path="${j2ee_home}">
<fileset dir="lib">
<include name="j2ee.jar"/>
</fileset>
</classpath>
</javac>
</target>
</project>
Jim