I have an Apache Ant build file with a
command that requires four specific JARs to be on the build classpath
. I\'ve tried to do this:
Here's an example from a project I am currently working on. I suspect you can modify it to work for your situation.
<path id="master-classpath">
<fileset dir="${web.dir}/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${appserver.lib}">
<include name="servlet*.jar"/>
</fileset>
<pathelement path="${build.dir}"/>
</path>
...
<javac destdir="${build.dir}">
<src path="${src.dir}"/>
<classpath refid="master-classpath"/>
</javac>
Try
<javac ... classpathref="TSA.classpath">
or
<javac ...>
...
<classpath refid="TSA.classpath" />
</javac>
Try this:
<classpath refid="TSA.classpath"/>