Survey Says:
The useful Ant task turned out to be:
<!-- set a timestamp just before compiling -->
<tstamp>
<format property="compiletime" pattern="MM/dd/yyyy hh:mm aa" />
</tstamp>
<!--compile the code-->
<javac srcdir="${src.dir}"
destdir="${build.dest}"
debug="${debug}"
deprecation="${deprecation}"
optimize="${optimize}"
compiler="modern"
excludes="**\UnitTest.java"
memoryMaximumSize="240m"
fork="yes"
classpath="${lib.classpath}"
listfiles="yes"/>
<!-- copy all of the local files that have changed -->
<copy todir="${devbuild.dest}" preservelastmodified="yes">
<fileset dir="${build.dest}" includes="**/*.class">
<date datetime="${compiletime}" when="after"/>
</fileset>
</copy>
Now I need to write a task to seed the local directories with the remote files.
<!-- set a timestamp just before compiling -->
<tstamp>
<format property="compiletime" pattern="MM/dd/yyyy hh:mm aa" />
</tstamp>
<!--compile the code-->
<javac srcdir="${src.dir}"
destdir="${build.dest}"
debug="${debug}"
deprecation="${deprecation}"
optimize="${optimize}"
compiler="modern"
excludes="**\UnitTest.java"
memoryMaximumSize="240m"
fork="yes"
classpath="${lib.classpath}"
listfiles="yes"/>
<!-- copy all of the local files that have changed -->
<copy todir="${devbuild.dest}" preservelastmodified="yes">
<fileset dir="${build.dest}" includes="**/*.class">
<date datetime="${compiletime}" when="after"/>
</fileset>
</copy>
Now I need to write a task to seed the local directories with the remote files.
