* build.xml: Build speedups:

- Don't distclean in the updaterRouter target
      - Don't make prepUpdate and prepupdateSmall depend
        on distclean
      - Don't make susimail build always clean
      - Make pkg depend on distclean to be sure
      - Clean out more routerconsole and susidns files in 'ant clean'
      - i2ptunnel, routerconsole, susidns:
        Only build WEB-INF when necessary
      - systray: Only build jar when necessary
      - Don't build i2psnark standalone for the updater target
This commit is contained in:
zzz
2008-11-09 15:46:08 +00:00
parent 2b8d59d9f4
commit 2e72ece384
6 changed files with 43 additions and 13 deletions

View File

@@ -18,7 +18,7 @@
includes="**/*.java"
classpath="./lib/systray4j.jar:../../../core/java/build/i2p.jar" />
</target>
<target name="jar" depends="compile">
<target name="jar" depends="compile" unless="jar.uptodate">
<mkdir dir="./build/jar_temp" />
<copy todir="./build/jar_temp">
<fileset dir="./build/obj" includes="**/*.class" />
@@ -31,6 +31,11 @@
</jar>
<delete dir="./build/jar_temp" />
</target>
<uptodate property="jar.uptodate" targetfile="./build/systray.jar">
<srcfiles dir= "src" includes="**/*.java" />
</uptodate>
<target name="javadoc">
<mkdir dir="./build" />
<mkdir dir="./build/javadoc" />