source: build.xml @ ffc67d1

Last change on this file since ffc67d1 was ffc67d1, checked in by zzz <zzz@…>, 13 years ago

add a updaterRouter target, containing only i2p.jar and router.jar

  • Property mode set to 100644
File size: 22.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<project basedir="." default="all" name="i2p">
3   
4    <target name="all" >
5        <echo message="Useful targets: " />
6        <echo message="  pkg:       distclean then package everything up (installer, clean tarball, update tarball)" />
7        <echo message="  dist:      pkg and javadoc" />
8        <echo message="  installer: build the GUI installer" />
9        <echo message="  tarball:   tar the full install into i2p.tar.bz2 (extracts to build a new clean install)" />
10        <echo message="  updater:   tar the built i2p specific files into an i2pupdate.zip (extracts safely over existing installs)" />
11        <echo message="  updaterWithJetty:   tar the built i2p specific files and jetty into an i2pupdate.zip (extracts safely over existing installs)" />
12        <echo message="  updaterSmall:   updater with the essentials only - no SAM, i2psnark, SusiMail, SusiDNS, news.xml, or history.txt" />
13        <echo message="  updaterRouter:  updater with the i2p.jar and router.jar only" />
14        <echo message="  distclean: clean up all derived files" />
15        <echo message="  syndie:    generate a standalone syndie install" />
16        <echo message="  i2psnark:  generate a standalone i2psnark install" />
17        <echo message="  javadoc:   generate javadoc for the entire project into ./build/javadoc" />
18    </target>
19    <target name="dist" depends="pkg, javadoc">
20    </target>
21    <target name="build" depends="builddep, jar, buildWEB" />
22    <target name="buildSmall" depends="builddepSmall, jarSmall, buildWEB" />
23    <target name="buildclean" depends="distclean, build" />
24    <target name="builddep" depends="builddepSmall">
25        <!-- build *everything* here, but only once -->
26        <ant dir="apps/sam/java/" target="jar" />
27        <ant dir="apps/susimail/" target="war" />
28        <ant dir="apps/susidns/src" target="all" />
29        <ant dir="apps/i2psnark/java/" target="standalone" />
30    </target>
31    <target name="builddepSmall">
32        <ant dir="core/java/" target="jar" />
33        <ant dir="router/java/" target="jar" />
34        <ant dir="apps/ministreaming/java/" target="jar" />
35        <ant dir="apps/streaming/java/" target="jar" />
36        <ant dir="apps/i2ptunnel/java/" target="jar" />
37        <ant dir="apps/systray/java/" target="jar" />
38        <ant dir="apps/routerconsole/java/" target="jar" />
39        <ant dir="apps/addressbook/" target="war" />
40    </target>
41    <target name="buildrouter">
42        <ant dir="core/java/" target="distclean" />
43        <ant dir="router/java/" target="distclean" />
44        <ant dir="core/java/" target="jar" />
45        <ant dir="router/java/" target="jar" />
46        <copy file="core/java/build/i2p.jar" todir="build/" />
47        <copy file="router/java/build/router.jar" todir="build/" />
48    </target>
49    <target name="buildWEB">
50        <ant dir="apps/jetty" target="ensureJettylib" />
51        <ant dir="apps/routerconsole/java" target="build" />
52        <copy file="apps/routerconsole/java/build/routerconsole.jar" todir="build/" />
53        <copy file="apps/routerconsole/java/build/routerconsole.war" todir="build/" />
54        <copy file="apps/jetty/jettylib/org.mortbay.jetty.jar" todir="build/" />
55        <copy file="apps/jetty/jettylib/ant.jar" todir="build/" />
56        <copy file="apps/jetty/jettylib/jasper-compiler.jar" todir="build/" />
57        <copy file="apps/jetty/jettylib/jasper-runtime.jar" todir="build/" />
58        <copy file="apps/jetty/jettylib/commons-logging.jar" todir="build/" />
59        <copy file="apps/jetty/jettylib/commons-el.jar" todir="build/" />
60        <copy file="apps/jetty/jettylib/xercesImpl.jar" todir="build/" />
61        <copy file="apps/jetty/jettylib/javax.servlet.jar" todir="build/" />
62    </target>
63    <target name="buildexe">
64        <condition property="noExe">
65            <os arch="x86_64" />
66        </condition>
67        <condition property="noExe">
68            <os arch="ppc" />
69        </condition>
70        <condition property="noExe">
71            <os arch="amd64" />
72        </condition>
73        <condition property="noExe">
74           <not>
75            <or>
76             <os name="Linux" />
77             <os family="windows" />
78            </or>
79           </not>
80        </condition>
81        <ant target="doBuildEXE" />
82    </target>
83    <target name="doBuildEXE" unless="noExe">
84        <jar destfile="./build/launchi2p.jar">
85            <manifest>
86             <attribute name="Main-Class" value="net.i2p.router.RouterLaunch" />
87             <attribute name="Class-Path" value="lib/i2p.jar lib/router.jar lib/jbigi.jar lib/sam.jar lib/mstreaming.jar lib/streaming.jar lib/routerconsole.jar lib/i2ptunnel.jar lib/org.mortbay.jetty.jar lib/javax.servlet.jar lib/jasper-compiler.jar lib/jasper-runtime.jar lib/commons-logging.jar lib/commons-el.jar lib/ant.jar lib/xercesImpl.jar lib/wrapper.jar lib/systray.jar lib/systray4j.jar" />
88            </manifest>
89        </jar>
90        <!-- now the standalone launcher exe -->
91        <taskdef name="launch4j"
92                 classname="net.sf.launch4j.ant.Launch4jTask"
93                 classpath="${basedir}/installer/lib/launch4j/launch4j.jar:${basedir}/installer/lib/launch4j/lib/xstream.jar" />
94        <launch4j configFile="./installer/i2pstandalone.xml" />
95        <!-- thazzit -->
96    </target>
97    <target name="compile" />
98    <target name="jar" depends="jarSmall" >
99        <copy file="apps/sam/java/build/sam.jar" todir="build/" />
100        <copy file="apps/susimail/susimail.war" todir="build/" />
101        <copy file="apps/susidns/src/susidns.war" todir="build/" />
102        <copy file="apps/i2psnark/i2psnark.war" todir="build/" />
103        <copy file="apps/i2psnark/java/build/i2psnark.jar" todir="build/" />
104    </target>
105    <target name="jarSmall" depends="compile" >
106        <copy file="core/java/build/i2p.jar" todir="build/" />
107        <copy file="router/java/build/router.jar" todir="build/" />
108        <copy file="apps/ministreaming/java/build/mstreaming.jar" todir="build/" />
109        <copy file="apps/streaming/java/build/streaming.jar" todir="build/" />
110        <copy file="apps/i2ptunnel/java/build/i2ptunnel.jar" todir="build/" />
111        <copy file="apps/i2ptunnel/java/build/i2ptunnel.war" todir="build/" />
112        <copy file="apps/systray/java/build/systray.jar" todir="build/" />
113        <copy file="installer/lib/jbigi/jbigi.jar" todir="build" />
114        <copy file="apps/addressbook/dist/addressbook.war" todir="build/" />
115    </target>
116    <target name="javadoc">
117        <mkdir dir="./build" />
118        <mkdir dir="./build/javadoc" />
119        <javadoc access="package" 
120            destdir="./build/javadoc" 
121            packagenames="*" 
122            use="true" 
123            group="SDK net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:freenet.support.CPUInformation,
124                   Streaming net.i2p.client.streaming,
125                   RouterConsole net.i2p.router.web,
126                   Router net.i2p.router:net.i2p.router.*:net.i2p.data.i2np,
127                   Systray net.i2p.apps.systray,
128                   I2PTunnel net.i2p.i2ptunnel:net.i2p.i2ptunnel.*"
129            splitindex="true" 
130            windowtitle="I2P">
131            <sourcepath>
132                <pathelement location="core/java/src" />
133                <!--<pathelement location="core/java/test" />-->
134                <pathelement location="router/java/src" />
135                <!--<pathelement location="router/java/test" />-->
136                <pathelement location="apps/ministreaming/java/src" />
137                <pathelement location="apps/streaming/java/src" />
138                <pathelement location="apps/i2ptunnel/java/src" />
139                <pathelement location="apps/systray/java/src" />
140                <pathelement location="apps/routerconsole/java/src" />
141                <pathelement location="apps/addressbook/java/src" />
142                <pathelement location="apps/i2psnark/java/src" />
143                <pathelement location="apps/sam/java/src" />
144            </sourcepath>
145            <classpath>
146                <pathelement location="apps/jetty/jettylib/org.mortbay.jetty.jar" />
147                <pathelement location="apps/systray/java/lib/systray4j.jar" />
148                <pathelement location="installer/lib/wrapper/win32/wrapper.jar" />
149                <pathelement location="core/lib/junit.jar" />
150            </classpath>
151        </javadoc>
152    </target>
153    <target name="clean" depends="pkgclean" >
154        <delete dir="./build" />
155        <delete file="i2pinstall.exe" failonerror="false" quiet="true" />       
156        <delete file="i2p.exe" failonerror="false" quiet="true" />
157        <delete file="syndie-standalone.zip" failonerror="false" quiet="true" />
158        <delete file="i2psnark-standalone.zip" failonerror="false" quiet="true" />
159    </target>
160    <target name="distclean" depends="clean">
161        <ant dir="core/java/" target="distclean" />
162        <ant dir="router/java/" target="distclean" />
163        <ant dir="apps/ministreaming/java/" target="distclean" />
164        <ant dir="apps/streaming/java/" target="distclean" />
165        <ant dir="apps/i2ptunnel/java/" target="distclean" />
166        <ant dir="apps/sam/java/" target="distclean" />
167        <ant dir="apps/routerconsole/java/" target="distclean" />
168        <ant dir="apps/addressbook/" target="distclean" />
169        <ant dir="apps/susimail/" target="distclean" />
170        <ant dir="apps/susidns/src/" target="distclean" />
171        <ant dir="apps/systray/java/" target="distclean" />
172        <ant dir="apps/i2psnark/java/" target="distclean" />
173        <delete>
174            <fileset dir="." includes="**/*.class" />
175            <fileset dir="." includes="**/*.java~" />
176        </delete>
177    </target>
178    <target name="pkg" depends="updater, tarball, installer" />
179    <target name="pkgclean">
180        <delete dir="pkg-temp" />
181        <delete>
182            <fileset dir="." includes="i2p.tar.bz2 install.jar i2pupdate.zip" />
183        </delete>
184    </target>
185    <target name="preppkg" depends="build, buildexe">
186        <delete dir="pkg-temp" />
187        <copy file="build/ant.jar" todir="pkg-temp/lib/" />
188        <copy file="build/i2p.jar" todir="pkg-temp/lib/" />
189        <copy file="build/i2ptunnel.jar" todir="pkg-temp/lib/" />
190        <copy file="build/jasper-compiler.jar" todir="pkg-temp/lib/" />
191        <copy file="build/jasper-runtime.jar" todir="pkg-temp/lib/" />
192        <copy file="build/commons-logging.jar" todir="pkg-temp/lib/" />
193        <copy file="build/commons-el.jar" todir="pkg-temp/lib/" />
194        <copy file="build/javax.servlet.jar" todir="pkg-temp/lib/" />
195        <copy file="build/jbigi.jar" todir="pkg-temp/lib" />
196        <copy file="build/mstreaming.jar" todir="pkg-temp/lib/" />
197        <copy file="build/streaming.jar" todir="pkg-temp/lib/" />
198        <copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" />
199        <copy file="build/router.jar" todir="pkg-temp/lib/" />
200        <copy file="build/routerconsole.jar" todir="pkg-temp/lib/" />
201        <copy file="build/sam.jar" todir="pkg-temp/lib/" />
202        <copy file="build/systray.jar" todir="pkg-temp/lib" />
203        <!-- <copy file="build/sucker.jar" todir="pkg-temp/lib" /> -->
204        <copy file="build/i2psnark.jar" todir="pkg-temp/lib/" />
205        <copy file="i2p.exe" todir="pkg-temp/" failonerror="false" />
206        <copy file="installer/resources/runplain.sh" todir="pkg-temp/" />
207        <copy file="apps/systray/java/lib/systray4j.jar" todir="pkg-temp/lib" />
208        <copy file="apps/systray/java/lib/systray4j.dll" todir="pkg-temp/lib" />
209        <copy file="apps/systray/java/resources/iggy.ico" todir="pkg-temp/icons" />
210        <copy file="apps/systray/java/resources/iggy.xpm" todir="pkg-temp/icons" />
211        <copy file="build/xercesImpl.jar" todir="pkg-temp/lib/" />
212        <copy file="build/i2ptunnel.war" todir="pkg-temp/webapps/" />
213        <copy file="build/routerconsole.war" todir="pkg-temp/webapps/" />
214        <copy file="build/addressbook.war" todir="pkg-temp/webapps/" />
215        <copy file="build/susimail.war" todir="pkg-temp/webapps/" />
216        <copy file="build/susidns.war" todir="pkg-temp/webapps/" />
217        <!-- <copy file="build/syndie.war" todir="pkg-temp/webapps/" /> -->
218        <copy file="build/i2psnark.war" todir="pkg-temp/webapps/" />
219        <copy file="apps/i2psnark/java/build/launch-i2psnark.jar" todir="pkg-temp/" />
220        <copy file="apps/i2psnark/jetty-i2psnark.xml" todir="pkg-temp/" />
221        <copy file="installer/resources/clients.config" todir="pkg-temp/" />
222        <copy file="installer/resources/eepget" todir="pkg-temp/" />
223        <copy file="installer/resources/i2prouter" todir="pkg-temp/" />
224        <copy file="installer/resources/i2prouter.bat" todir="pkg-temp/" />
225        <copy file="installer/resources/i2ptunnel.config" todir="pkg-temp/" />
226        <!-- <copy file="installer/resources/install_i2p_service_unix" todir="pkg-temp/" /> -->
227        <copy file="installer/resources/install_i2p_service_winnt.bat" todir="pkg-temp/" />
228        <copy file="installer/resources/osid" todir="pkg-temp/" />
229        <copy file="installer/resources/postinstall.bat" todir="pkg-temp/" />
230        <copy file="installer/resources/postinstall.sh" todir="pkg-temp/" />
231        <copy file="installer/resources/systray.config" todir="pkg-temp/" />
232        <!-- <copy file="installer/resources/uninstall_i2p_service_unix" todir="pkg-temp/" /> -->
233        <copy file="installer/resources/uninstall_i2p_service_winnt.bat" todir="pkg-temp/" />
234        <copy file="installer/resources/wrapper.config" todir="pkg-temp/" />
235        <copy todir="pkg-temp/lib/wrapper/freebsd/">
236            <fileset dir="installer/lib/wrapper/freebsd/" />
237        </copy>
238        <copy todir="pkg-temp/lib/wrapper/linux/">
239            <fileset dir="installer/lib/wrapper/linux/" />
240        </copy>
241        <copy todir="pkg-temp/lib/wrapper/linux64/">
242            <fileset dir="installer/lib/wrapper/linux64/" />
243        </copy>
244        <copy todir="pkg-temp/lib/wrapper/macosx/">
245            <fileset dir="installer/lib/wrapper/macosx/" />
246        </copy>
247        <copy todir="pkg-temp/lib/wrapper/solaris/">
248            <fileset dir="installer/lib/wrapper/solaris/" />
249        </copy>
250        <copy todir="pkg-temp/lib/wrapper/win32/">
251            <fileset dir="installer/lib/wrapper/win32/" />
252        </copy>
253        <copy file="hosts.txt" todir="pkg-temp/" />
254        <copy file="install-headless.txt" todir="pkg-temp/" />
255        <copy file="history.txt" todir="pkg-temp/" />
256        <mkdir dir="pkg-temp/scripts" />
257        <copy file="apps/proxyscript/i2pProxy.pac" todir="pkg-temp/scripts/" />
258        <copy file="core/perl/i2pbench.sh" todir="pkg-temp/scripts/" />
259        <copy file="core/perl/i2ptest.sh" todir="pkg-temp/scripts/" />
260        <mkdir dir="pkg-temp/docs" />
261        <copy file="readme.html" todir="pkg-temp/docs/" />
262        <!-- polecat: please put your modified toolbar.html in installer/resources/toolbar.html
263             and uncomment the following -->
264        <!-- <copy file="installer/resources/toolbar.html" todir="pkg-temp/docs/" /> -->
265        <copy file="initialNews.xml" tofile="pkg-temp/docs/news.xml" />
266        <copy file="installer/resources/startconsole.html" todir="pkg-temp/docs/" />
267        <copy file="installer/resources/start.ico" todir="pkg-temp/docs/" />
268        <copy file="installer/resources/console.ico" todir="pkg-temp/docs/" />
269        <copy file="installer/resources/uninstall.ico" todir="pkg-temp/docs/" />
270        <copy file="installer/resources/dnf-header.ht" todir="pkg-temp/docs/" />
271        <copy file="installer/resources/dnfp-header.ht" todir="pkg-temp/docs/" />
272        <copy file="installer/resources/dnfb-header.ht" todir="pkg-temp/docs/" />
273        <copy file="installer/resources/dnfh-header.ht" todir="pkg-temp/docs/" />
274        <copy file="installer/resources/ahelper-conflict-header.ht" todir="pkg-temp/docs/" />
275        <mkdir dir="pkg-temp/docs/themes/" />
276        <copy todir="pkg-temp/docs/themes/" >
277          <fileset dir="installer/resources/themes/" />
278        </copy>
279        <mkdir dir="pkg-temp/eepsite" />
280        <mkdir dir="pkg-temp/eepsite/webapps" />
281        <mkdir dir="pkg-temp/eepsite/logs" />
282        <mkdir dir="pkg-temp/eepsite/docroot" />
283        <mkdir dir="pkg-temp/eepsite/cgi-bin" />
284        <copy file="installer/resources/eepsite_index.html" tofile="pkg-temp/eepsite/docroot/index.html" />
285        <copy file="installer/resources/favicon.ico" tofile="pkg-temp/eepsite/docroot/favicon.ico" />
286        <copy file="installer/resources/jetty.xml" tofile="pkg-temp/eepsite/jetty.xml" />
287        <!--
288        <mkdir dir="pkg-temp/syndie" />
289        <mkdir dir="pkg-temp/syndie/archive" />
290        <mkdir dir="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=" />
291        <copy file="installer/resources/blogMeta.snm" tofile="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=/meta.snm" />
292        <copy file="installer/resources/blogPost.snd" tofile="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=/1132012800001.snd" />
293        -->
294    </target>
295    <target name="tarball" depends="preppkg">
296        <tar compression="bzip2" destfile="i2p.tar.bz2">
297            <tarfileset dir="pkg-temp" includes="**/*" prefix="i2p" />
298        </tar>
299    </target>
300    <target name="updater" depends="prepupdate">
301        <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
302    </target>
303    <target name="updaterWithJetty" depends="prepjupdate">
304        <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
305    </target>
306    <target name="updaterSmall" depends="prepupdateSmall">
307        <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
308    </target>
309    <target name="updaterRouter" depends="prepupdateRouter">
310        <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
311    </target>
312    <target name="updateTest" depends="prepupdate">
313        <ant dir="core/java/" target="jarTest" />   
314        <copy file="core/java/build/i2ptest.jar" todir="pkg-temp/lib" />
315        <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
316    </target>
317    <target name="prepupdate" depends="distclean, build, prepupdateSmall">
318        <copy file="build/sam.jar" todir="pkg-temp/lib/" />
319        <copy file="build/i2psnark.jar" todir="pkg-temp/lib" />
320        <copy file="build/susimail.war" todir="pkg-temp/webapps/" />
321        <copy file="build/susidns.war" todir="pkg-temp/webapps/" />
322        <copy file="build/i2psnark.war" todir="pkg-temp/webapps/" />
323        <copy file="history.txt" todir="pkg-temp/" />
324        <mkdir dir="pkg-temp/docs/" />
325        <copy file="news.xml" todir="pkg-temp/docs/" />
326    </target>
327    <target name="prepupdateSmall" depends="distclean, buildSmall">
328        <delete dir="pkg-temp" />
329        <copy file="build/i2p.jar" todir="pkg-temp/lib/" />
330        <copy file="build/i2ptunnel.jar" todir="pkg-temp/lib/" />
331        <copy file="build/mstreaming.jar" todir="pkg-temp/lib/" />
332        <copy file="build/streaming.jar" todir="pkg-temp/lib/" />
333        <copy file="build/router.jar" todir="pkg-temp/lib/" />
334        <copy file="build/routerconsole.jar" todir="pkg-temp/lib/" />
335        <copy file="build/i2ptunnel.war" todir="pkg-temp/webapps/" />
336        <copy file="build/routerconsole.war" todir="pkg-temp/webapps/" />
337        <copy file="build/addressbook.war" todir="pkg-temp/webapps/" />
338    </target>
339    <target name="prepupdateRouter" depends="buildrouter">
340        <delete dir="pkg-temp" />
341        <copy file="build/i2p.jar" todir="pkg-temp/lib/" />
342        <copy file="build/router.jar" todir="pkg-temp/lib/" />
343    </target>
344    <target name="prepjupdate" depends="prepupdate, buildWEB">
345        <copy file="build/ant.jar" todir="pkg-temp/lib/" />
346        <copy file="build/jasper-compiler.jar" todir="pkg-temp/lib/" />
347        <copy file="build/jasper-runtime.jar" todir="pkg-temp/lib/" />
348        <copy file="build/commons-logging.jar" todir="pkg-temp/lib/" />
349        <copy file="build/commons-el.jar" todir="pkg-temp/lib/" />
350        <copy file="build/javax.servlet.jar" todir="pkg-temp/lib/" />
351        <copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" />
352        <copy file="build/xercesImpl.jar" todir="pkg-temp/lib/" />
353    </target>
354    <target name="installer" depends="preppkg">
355        <taskdef name="izpack" classpath="${basedir}/installer/lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask" />
356        <jar destfile="./pkg-temp/lib/copy.jar" basedir="./core/java/build/obj" includes="net/i2p/util/*.class">
357            <manifest><attribute name="Main-Class" value="net.i2p.util.Copy" /></manifest>
358        </jar>
359        <jar destfile="./pkg-temp/lib/delete.jar" basedir="./core/java/build/obj" includes="net/i2p/util/*.class">
360            <manifest><attribute name="Main-Class" value="net.i2p.util.Delete" /></manifest>
361        </jar>
362        <jar destfile="./pkg-temp/lib/exec.jar" basedir="./core/java/build/obj" includes="net/i2p/util/*.class">
363            <manifest><attribute name="Main-Class" value="net.i2p.util.Exec" /></manifest>
364        </jar>
365        <izpack input="${basedir}/installer/install.xml" output="${basedir}/install.jar" installerType="standard" basedir="${basedir}" />
366
367        <ant target="installerexe" />
368    </target>
369    <target name="installerexe">
370        <condition property="noExe">
371            <os arch="x86_64" />
372        </condition>
373        <condition property="noExe">
374            <os arch="amd64" />
375        </condition>
376        <condition property="noExe">
377           <not>
378            <or>
379             <os name="Linux" />
380             <os family="windows" />
381            </or>
382           </not>
383        </condition>
384        <ant target="doInstallerEXE" />
385    </target>
386    <target name="doInstallerEXE" unless="noExe">
387        <!-- now the installer exe -->
388        <taskdef name="launch4j"
389                 classname="net.sf.launch4j.ant.Launch4jTask"
390                 classpath="${basedir}/installer/lib/launch4j/launch4j.jar:${basedir}/installer/lib/launch4j/lib/xstream.jar" />
391        <launch4j configFile="./installer/i2pinstaller.xml" />
392        <launch4j configFile="./installer/i2pstandalone.xml" />
393        <!-- thazzit -->
394    </target>
395    <target name="test">
396        <ant dir="core/java/" target="test" />
397    </target>
398    <target name="junit.report">
399        <ant dir="core/java/" target="junit.report" />
400    </target>
401    <target name="clover.report">
402        <ant dir="core/java/" target="clover.report" />
403    </target>
404    <target name="test.report" depends="junit.report, clover.report"/>
405    <target name="fulltest">
406                <ant dir="core/java/" target="fulltest" />
407                <ant dir="router/java/" target="fulltest" />
408    </target>
409    <target name="fullclovertest">
410                <ant dir="core/java/" target="fullclovertest" />
411                <ant dir="router/java/" target="fullclovertest" />
412    </target>
413    <target name="syndie" >
414        <ant dir="apps/syndie/java/" target="standalone" />
415        <copy file="apps/syndie/java/syndie-standalone.zip" todir="." />
416    </target>
417    <target name="i2psnark">
418        <ant dir="apps/i2psnark/java" target="standalone" />
419        <copy file="apps/i2psnark/java/i2psnark-standalone.zip" todir="." />
420    </target>
421</project>
Note: See TracBrowser for help on using the repository browser.