ant jar two base directories
i'm writing an ant script that will jar the java .obj classes in the {classes} directory and the jar files in the {lib} directory.
my ant script is as follows
<target name="compile" depends="init" description="compile the source " >
<echo message="compiling java source files" />
<javac srcdir="${src}" destdir="${classes}" />
<jar destfile="${classes}/MyApp.jar" basedir="${classes}" includes="**/*.class">
<include name="build"/>
<manifest>
<attribute name="Main-Class" value="MyApp"/>
<attribute name="Class-Path" value="../lib/activation.jar ../lib/log4j-1.2.8.jar ../lib/mail.jar ../lib/xercesImpl.jar ../lib/xmlParserAPIs.jar " />
</manifest>
</jar>
</target>
how do i incude the baselib to look in two directories instead of one?
current;ly..it look at classes directory

