I'm a little new to using ant, and currently, the way I make ant scripts is by auto-generating them through eclipse in order to produce runnable jar's. The problem with this is that it only reads the bin directory. As a result, If I were to change a java src file, I wouldn't see the changes replicated in the ant build. What do I need to add to my ant script? I've shown an example script below:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project poodah">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<target name="create_run_jar">
<jar destfile="../lib/TestMaster.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="test.startup.TestMaster"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="../test/bin"/>
</jar>
</target>
</project>
I tried reading some of the documentation but it was a little confusing.