D
deepstar
Hey all
I have a simple app which requires a couple of jar files residing in
it's /lib directory. I'm trying to compile the app using Ant (i'm a Ant
newbie) but it complains that it can't find my jar files, how can I
make Ant aware of the jars in my /lib directory when using it to
compile my project?
Here's my short build.xml
<?xml version="1.0"?>
<project name="test" default="compile" basedir=".">
<property name="src" value="src"/>
<property name="build" value="build"/>
<target name="init">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code -->
<javac srcdir="${src}" destdir="${build}"/>
</target>
</project>
Thanks!
I have a simple app which requires a couple of jar files residing in
it's /lib directory. I'm trying to compile the app using Ant (i'm a Ant
newbie) but it complains that it can't find my jar files, how can I
make Ant aware of the jars in my /lib directory when using it to
compile my project?
Here's my short build.xml
<?xml version="1.0"?>
<project name="test" default="compile" basedir=".">
<property name="src" value="src"/>
<property name="build" value="build"/>
<target name="init">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code -->
<javac srcdir="${src}" destdir="${build}"/>
</target>
</project>
Thanks!