source: build.xml @ bb32672

Last change on this file since bb32672 was bb32672, checked in by sponge <sponge@…>, 12 years ago

NEW BOB, a replacement for SAM, added It does have a different API. See it's java-doc.

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