1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <project basedir="." default="all" name="i2p"> |
---|
3 | |
---|
4 | <!-- Things you might want to change --> |
---|
5 | <!-- This keeps gcj a lot quieter --> |
---|
6 | <!-- |
---|
7 | <property name="javac.compilerargs" value="-warn:-unchecked,raw,unused,serial" /> |
---|
8 | --> |
---|
9 | |
---|
10 | <!-- You probably don't want to change anything from here down --> |
---|
11 | <target name="help" depends="all" /> |
---|
12 | <target name="all" > |
---|
13 | <echo message="Useful targets: " /> |
---|
14 | <echo message=" pkg: distclean then package everything up (installer, clean tarball, update tarball)" /> |
---|
15 | <echo message=" dist: pkg and javadoc" /> |
---|
16 | <echo message=" installer: build the GUI installer" /> |
---|
17 | <echo message=" tarball: tar the full install into i2p.tar.bz2 (extracts to build a new clean install)" /> |
---|
18 | <echo message=" updater: tar the built i2p specific files into an i2pupdate.zip (extracts safely over existing installs)" /> |
---|
19 | <echo message=" updaterWithJetty: tar the built i2p specific files and jetty into an i2pupdate.zip (extracts safely over existing installs)" /> |
---|
20 | <echo message=" updaterWithJettyFixes: updater including local jetty patches" /> |
---|
21 | <echo message=" updaterWithGeoIP: updater including GeoIP Files" /> |
---|
22 | <echo message=" updaterWithJettyFixesAndGeoIP" /> |
---|
23 | <echo message=" updaterSmall: updater with the essentials only - no SAM, i2psnark, SusiMail, SusiDNS, news.xml, or history.txt" /> |
---|
24 | <echo message=" updaterRouter: updater with the i2p.jar and router.jar only" /> |
---|
25 | <echo message=" distclean: clean up all derived files" /> |
---|
26 | <echo message=" syndie: generate a standalone syndie install" /> |
---|
27 | <echo message=" i2psnark: generate a standalone i2psnark install" /> |
---|
28 | <echo message=" javadoc: generate javadoc for the entire project into ./build/javadoc" /> |
---|
29 | <echo message=" slackpkg: generate Slackware packages in ./Slackware/i2p and ./Slackware/i2p-base" /> |
---|
30 | <echo message=" debianhowto: instructions on building Debian packages" /> |
---|
31 | <echo message=" updaterWithDesktopgui: tar the built files and desktopgui in an i2pupdate.zip" /> |
---|
32 | <echo message=" pkgWithDesktopgui: distclean then package everything up with the desktopgui" /> |
---|
33 | <echo message=" distWithDesktopgui: pkgWithDesktopgui and javadoc" /> |
---|
34 | <echo message=" distcleanWithDesktopgui: clean up all derived files (including desktopgui files)" /> |
---|
35 | </target> |
---|
36 | <target name="debianhowto"> |
---|
37 | <echo message="To build debian packages, you must run dpkg-buildpackage as root in the source directory. It will then run ant for you. dpkg-buildpackage is found in the 'dpkg-dev' package. Also it should work fine to use the 'fakeroot' package with dpkg-buildpackage, if you don't want to run as root. Please read 'man dpkg-buildpackage' before building any packages yourself." /> |
---|
38 | </target> |
---|
39 | <target name="dist" depends="pkg, javadoc"> |
---|
40 | </target> |
---|
41 | <target name="build" depends="build2"> |
---|
42 | <!-- so we don't build standalone for the updater --> |
---|
43 | <!-- This builds apps/i2psnark/java/i2psnark-standalone.zip, |
---|
44 | - which we don't distribute anywhere... |
---|
45 | <ant dir="apps/i2psnark/java/" target="standalone" /> |
---|
46 | --> |
---|
47 | </target> |
---|
48 | <target name="build2" depends="builddep, jar, buildWEB" /> |
---|
49 | <target name="buildSmall" depends="builddepSmall, jarSmall, buildWEB" /> |
---|
50 | <target name="buildclean" depends="distclean, build" /> |
---|
51 | <target name="builddep" depends="builddepSmall"> |
---|
52 | <!-- build *everything* here, but only once --> |
---|
53 | <ant dir="apps/BOB/" target="jar" /> |
---|
54 | <ant dir="apps/sam/java/" target="jar" /> |
---|
55 | <ant dir="apps/susimail/" target="war" /> |
---|
56 | <ant dir="apps/susidns/src" target="all" /> |
---|
57 | <ant dir="apps/i2psnark/java/" target="war" /> |
---|
58 | </target> |
---|
59 | <target name="builddepSmall"> |
---|
60 | <ant dir="core/java/" target="jar" /> |
---|
61 | <ant dir="router/java/" target="jar" /> |
---|
62 | <ant dir="apps/systray/java/" target="jar" /> |
---|
63 | <ant dir="apps/routerconsole/java/" target="jar" /> |
---|
64 | <ant dir="apps/ministreaming/java/" target="jar" /> |
---|
65 | <ant dir="apps/streaming/java/" target="jar" /> |
---|
66 | <ant dir="apps/i2ptunnel/java/" target="jar" /> |
---|
67 | <ant dir="apps/addressbook/" target="war" /> |
---|
68 | </target> |
---|
69 | <target name="buildrouter"> |
---|
70 | <ant dir="core/java/" target="jar" /> |
---|
71 | <ant dir="router/java/" target="jar" /> |
---|
72 | <copy file="core/java/build/i2p.jar" todir="build/" /> |
---|
73 | <copy file="router/java/build/router.jar" todir="build/" /> |
---|
74 | </target> |
---|
75 | <target name="buildWEB"> |
---|
76 | <ant dir="apps/jetty" target="ensureJettylib" /> |
---|
77 | <ant dir="apps/routerconsole/java" target="build" /> |
---|
78 | <copy file="apps/routerconsole/java/build/routerconsole.jar" todir="build/" /> |
---|
79 | <copy file="apps/routerconsole/java/build/routerconsole.war" todir="build/" /> |
---|
80 | <copy file="apps/jetty/jettylib/org.mortbay.jetty.jar" todir="build/" /> |
---|
81 | <copy file="apps/jetty/jettylib/jasper-compiler.jar" todir="build/" /> |
---|
82 | <copy file="apps/jetty/jettylib/jasper-runtime.jar" todir="build/" /> |
---|
83 | <copy file="apps/jetty/jettylib/commons-logging.jar" todir="build/" /> |
---|
84 | <copy file="apps/jetty/jettylib/commons-el.jar" todir="build/" /> |
---|
85 | <copy file="apps/jetty/jettylib/javax.servlet.jar" todir="build/" /> |
---|
86 | </target> |
---|
87 | <target name="buildexe"> |
---|
88 | <condition property="noExe"> |
---|
89 | <os arch="x86_64" /> |
---|
90 | </condition> |
---|
91 | <condition property="noExe"> |
---|
92 | <os arch="ppc" /> |
---|
93 | </condition> |
---|
94 | <condition property="noExe"> |
---|
95 | <os arch="amd64" /> |
---|
96 | </condition> |
---|
97 | <condition property="noExe"> |
---|
98 | <not> |
---|
99 | <or> |
---|
100 | <os name="Linux" /> |
---|
101 | <os family="windows" /> |
---|
102 | </or> |
---|
103 | </not> |
---|
104 | </condition> |
---|
105 | <ant target="doBuildEXE" /> |
---|
106 | </target> |
---|
107 | <target name="doBuildEXE" unless="noExe"> |
---|
108 | <jar destfile="./build/launchi2p.jar"> |
---|
109 | <manifest> |
---|
110 | <attribute name="Main-Class" value="net.i2p.router.RouterLaunch" /> |
---|
111 | <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/wrapper.jar lib/systray.jar lib/systray4j.jar" /> |
---|
112 | </manifest> |
---|
113 | </jar> |
---|
114 | <!-- now the standalone launcher exe --> |
---|
115 | <taskdef name="launch4j" |
---|
116 | classname="net.sf.launch4j.ant.Launch4jTask" |
---|
117 | classpath="${basedir}/installer/lib/launch4j/launch4j.jar:${basedir}/installer/lib/launch4j/lib/xstream.jar" /> |
---|
118 | <launch4j configFile="./installer/i2pstandalone.xml" /> |
---|
119 | <!-- thazzit --> |
---|
120 | </target> |
---|
121 | <target name="compile" /> |
---|
122 | <target name="jar" depends="jarSmall" > |
---|
123 | <copy file="apps/BOB/dist/BOB.jar" todir="build/" /> |
---|
124 | <copy file="apps/sam/java/build/sam.jar" todir="build/" /> |
---|
125 | <copy file="apps/susimail/susimail.war" todir="build/" /> |
---|
126 | <copy file="apps/susidns/src/susidns.war" todir="build/" /> |
---|
127 | <copy file="apps/i2psnark/i2psnark.war" todir="build/" /> |
---|
128 | <copy file="apps/i2psnark/java/build/i2psnark.jar" todir="build/" /> |
---|
129 | </target> |
---|
130 | <target name="jarSmall" depends="compile" > |
---|
131 | <copy file="core/java/build/i2p.jar" todir="build/" /> |
---|
132 | <copy file="router/java/build/router.jar" todir="build/" /> |
---|
133 | <copy file="apps/ministreaming/java/build/mstreaming.jar" todir="build/" /> |
---|
134 | <copy file="apps/streaming/java/build/streaming.jar" todir="build/" /> |
---|
135 | <copy file="apps/i2ptunnel/java/build/i2ptunnel.jar" todir="build/" /> |
---|
136 | <copy file="apps/i2ptunnel/java/build/i2ptunnel.war" todir="build/" /> |
---|
137 | <copy file="apps/systray/java/build/systray.jar" todir="build/" /> |
---|
138 | <copy file="installer/lib/jbigi/jbigi.jar" todir="build" /> |
---|
139 | <copy file="apps/addressbook/dist/addressbook.war" todir="build/" /> |
---|
140 | </target> |
---|
141 | <target name="javadoc"> |
---|
142 | <mkdir dir="./build" /> |
---|
143 | <mkdir dir="./build/javadoc" /> |
---|
144 | <javadoc access="package" |
---|
145 | destdir="./build/javadoc" |
---|
146 | packagenames="*" |
---|
147 | use="true" |
---|
148 | group="SDK net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:freenet.support.CPUInformation, |
---|
149 | Streaming net.i2p.client.streaming, |
---|
150 | BOB net.i2p.BOB, |
---|
151 | SAM net.i2p.sam:net.i2p.sam.client, |
---|
152 | RouterConsole net.i2p.router.web, |
---|
153 | Router net.i2p.router:net.i2p.router.*:net.i2p.data.i2np, |
---|
154 | Systray net.i2p.apps.systray, |
---|
155 | I2PTunnel net.i2p.i2ptunnel:net.i2p.i2ptunnel.*" |
---|
156 | splitindex="true" |
---|
157 | windowtitle="I2P"> |
---|
158 | <sourcepath> |
---|
159 | <pathelement location="core/java/src" /> |
---|
160 | <!--<pathelement location="core/java/test" />--> |
---|
161 | <pathelement location="router/java/src" /> |
---|
162 | <!--<pathelement location="router/java/test" />--> |
---|
163 | <pathelement location="apps/ministreaming/java/src" /> |
---|
164 | <pathelement location="apps/streaming/java/src" /> |
---|
165 | <pathelement location="apps/i2ptunnel/java/src" /> |
---|
166 | <pathelement location="apps/systray/java/src" /> |
---|
167 | <pathelement location="apps/routerconsole/java/src" /> |
---|
168 | <pathelement location="apps/addressbook/java/src" /> |
---|
169 | <pathelement location="apps/i2psnark/java/src" /> |
---|
170 | <pathelement location="apps/sam/java/src" /> |
---|
171 | <pathelement location="apps/BOB/src" /> |
---|
172 | </sourcepath> |
---|
173 | <classpath> |
---|
174 | <pathelement location="apps/jetty/jettylib/org.mortbay.jetty.jar" /> |
---|
175 | <pathelement location="apps/jetty/jettylib/javax.servlet.jar" /> |
---|
176 | <pathelement location="apps/systray/java/lib/systray4j.jar" /> |
---|
177 | <pathelement location="apps/jrobin/jrobin-1.4.0.jar" /> |
---|
178 | <pathelement location="installer/lib/wrapper/win32/wrapper.jar" /> |
---|
179 | <pathelement location="core/lib/junit.jar" /> |
---|
180 | </classpath> |
---|
181 | </javadoc> |
---|
182 | </target> |
---|
183 | <target name="clean" depends="pkgclean" > |
---|
184 | <delete dir="./build" /> |
---|
185 | <delete file="i2pinstall.exe" failonerror="false" quiet="true" /> |
---|
186 | <delete file="i2p.exe" failonerror="false" quiet="true" /> |
---|
187 | <delete file="syndie-standalone.zip" failonerror="false" quiet="true" /> |
---|
188 | <delete file="i2psnark-standalone.zip" failonerror="false" quiet="true" /> |
---|
189 | </target> |
---|
190 | <target name="distclean" depends="clean"> |
---|
191 | <ant dir="core/java/" target="distclean" /> |
---|
192 | <ant dir="router/java/" target="distclean" /> |
---|
193 | <ant dir="apps/ministreaming/java/" target="distclean" /> |
---|
194 | <ant dir="apps/streaming/java/" target="distclean" /> |
---|
195 | <ant dir="apps/i2ptunnel/java/" target="distclean" /> |
---|
196 | <ant dir="apps/sam/java/" target="distclean" /> |
---|
197 | <ant dir="apps/BOB" target="clean" /> |
---|
198 | <ant dir="apps/routerconsole/java/" target="distclean" /> |
---|
199 | <ant dir="apps/addressbook/" target="distclean" /> |
---|
200 | <ant dir="apps/susimail/" target="distclean" /> |
---|
201 | <ant dir="apps/susidns/src/" target="distclean" /> |
---|
202 | <ant dir="apps/systray/java/" target="distclean" /> |
---|
203 | <ant dir="apps/i2psnark/java/" target="distclean" /> |
---|
204 | <delete> |
---|
205 | <fileset dir="." includes="**/*.class" /> |
---|
206 | <fileset dir="." includes="**/*.java~" /> |
---|
207 | </delete> |
---|
208 | </target> |
---|
209 | <target name="pkg" depends="distclean, updater, preppkg, installer" /> |
---|
210 | <target name="pkgclean" depends="deletepkg-temp"> |
---|
211 | <delete> |
---|
212 | <fileset dir="." includes="i2p.tar.bz2 install.jar i2pupdate.zip" /> |
---|
213 | </delete> |
---|
214 | </target> |
---|
215 | <target name="preppkg" depends="build, buildexe, preplicenses, prepconsoleDocs"> |
---|
216 | <copy file="build/i2p.jar" todir="pkg-temp/lib/" /> |
---|
217 | <copy file="build/i2ptunnel.jar" todir="pkg-temp/lib/" /> |
---|
218 | <copy file="build/jasper-compiler.jar" todir="pkg-temp/lib/" /> |
---|
219 | <copy file="build/jasper-runtime.jar" todir="pkg-temp/lib/" /> |
---|
220 | <copy file="build/commons-logging.jar" todir="pkg-temp/lib/" /> |
---|
221 | <copy file="build/commons-el.jar" todir="pkg-temp/lib/" /> |
---|
222 | <copy file="build/javax.servlet.jar" todir="pkg-temp/lib/" /> |
---|
223 | <copy file="build/jbigi.jar" todir="pkg-temp/lib" /> |
---|
224 | <copy file="build/mstreaming.jar" todir="pkg-temp/lib/" /> |
---|
225 | <copy file="build/streaming.jar" todir="pkg-temp/lib/" /> |
---|
226 | <copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" /> |
---|
227 | <copy file="build/router.jar" todir="pkg-temp/lib/" /> |
---|
228 | <copy file="build/routerconsole.jar" todir="pkg-temp/lib/" /> |
---|
229 | <copy file="build/sam.jar" todir="pkg-temp/lib/" /> |
---|
230 | <copy file="build/BOB.jar" todir="pkg-temp/lib/" /> |
---|
231 | <copy file="build/systray.jar" todir="pkg-temp/lib" /> |
---|
232 | <!-- <copy file="build/sucker.jar" todir="pkg-temp/lib" /> --> |
---|
233 | <copy file="build/i2psnark.jar" todir="pkg-temp/lib/" /> |
---|
234 | <copy file="i2p.exe" todir="pkg-temp/" failonerror="false" /> |
---|
235 | <copy file="installer/resources/runplain.sh" todir="pkg-temp/" /> |
---|
236 | <copy file="apps/systray/java/lib/systray4j.jar" todir="pkg-temp/lib" /> |
---|
237 | <copy file="apps/systray/java/lib/systray4j.dll" todir="pkg-temp/lib" /> |
---|
238 | <copy file="apps/systray/java/resources/iggy.ico" todir="pkg-temp/icons" /> |
---|
239 | <copy file="apps/systray/java/resources/iggy.xpm" todir="pkg-temp/icons" /> |
---|
240 | <copy file="build/i2ptunnel.war" todir="pkg-temp/webapps/" /> |
---|
241 | <copy file="build/routerconsole.war" todir="pkg-temp/webapps/" /> |
---|
242 | <copy file="build/addressbook.war" todir="pkg-temp/webapps/" /> |
---|
243 | <copy file="build/susimail.war" todir="pkg-temp/webapps/" /> |
---|
244 | <copy file="build/susidns.war" todir="pkg-temp/webapps/" /> |
---|
245 | <!-- <copy file="build/syndie.war" todir="pkg-temp/webapps/" /> --> |
---|
246 | <copy file="build/i2psnark.war" todir="pkg-temp/webapps/" /> |
---|
247 | <copy file="apps/i2psnark/launch-i2psnark" todir="pkg-temp/" /> |
---|
248 | <copy file="apps/i2psnark/jetty-i2psnark.xml" todir="pkg-temp/" /> |
---|
249 | <copy file="apps/i2psnark/i2psnark.config" todir="pkg-temp/" /> |
---|
250 | <copy file="installer/resources/blocklist.txt" todir="pkg-temp/" /> |
---|
251 | <copy file="installer/resources/clients.config" todir="pkg-temp/" /> |
---|
252 | <copy file="installer/resources/eepget" todir="pkg-temp/" /> |
---|
253 | <copy file="installer/resources/i2prouter" todir="pkg-temp/" /> |
---|
254 | <copy file="installer/resources/i2prouter.bat" todir="pkg-temp/" /> |
---|
255 | <copy file="installer/resources/fixperms.bat" todir="pkg-temp/" /> |
---|
256 | <copy file="installer/resources/i2ptunnel.config" todir="pkg-temp/" /> |
---|
257 | <!-- <copy file="installer/resources/install_i2p_service_unix" todir="pkg-temp/" /> --> |
---|
258 | <copy file="installer/resources/install_i2p_service_winnt.bat" todir="pkg-temp/" /> |
---|
259 | <copy file="installer/resources/osid" todir="pkg-temp/" /> |
---|
260 | <copy file="installer/resources/postinstall.bat" todir="pkg-temp/" /> |
---|
261 | <copy file="installer/resources/postinstall.sh" todir="pkg-temp/" /> |
---|
262 | <copy file="installer/resources/systray.config" todir="pkg-temp/" /> |
---|
263 | <!-- <copy file="installer/resources/uninstall_i2p_service_unix" todir="pkg-temp/" /> --> |
---|
264 | <copy file="installer/resources/uninstall_i2p_service_winnt.bat" todir="pkg-temp/" /> |
---|
265 | <copy file="installer/resources/wrapper.config" todir="pkg-temp/" /> |
---|
266 | <copy todir="pkg-temp/lib/wrapper/freebsd/"> |
---|
267 | <fileset dir="installer/lib/wrapper/freebsd/" /> |
---|
268 | </copy> |
---|
269 | <copy todir="pkg-temp/lib/wrapper/linux/"> |
---|
270 | <fileset dir="installer/lib/wrapper/linux/" /> |
---|
271 | </copy> |
---|
272 | <copy todir="pkg-temp/lib/wrapper/linux64/"> |
---|
273 | <fileset dir="installer/lib/wrapper/linux64/" /> |
---|
274 | </copy> |
---|
275 | <copy todir="pkg-temp/lib/wrapper/macosx/"> |
---|
276 | <fileset dir="installer/lib/wrapper/macosx/" /> |
---|
277 | </copy> |
---|
278 | <copy todir="pkg-temp/lib/wrapper/solaris/"> |
---|
279 | <fileset dir="installer/lib/wrapper/solaris/" /> |
---|
280 | </copy> |
---|
281 | <copy todir="pkg-temp/lib/wrapper/win32/"> |
---|
282 | <fileset dir="installer/lib/wrapper/win32/" /> |
---|
283 | </copy> |
---|
284 | <copy file="hosts.txt" todir="pkg-temp/" /> |
---|
285 | <copy file="INSTALL-headless.txt" todir="pkg-temp/" /> |
---|
286 | <copy file="history.txt" todir="pkg-temp/" /> |
---|
287 | <mkdir dir="pkg-temp/scripts" /> |
---|
288 | <copy file="apps/proxyscript/i2pProxy.pac" todir="pkg-temp/scripts/" /> |
---|
289 | <!-- test classes aren't in the jars anymore |
---|
290 | <copy file="core/perl/i2pbench.sh" todir="pkg-temp/scripts/" /> |
---|
291 | <copy file="core/perl/i2ptest.sh" todir="pkg-temp/scripts/" /> |
---|
292 | --> |
---|
293 | <!-- polecat: please put your modified toolbar.html in installer/resources/toolbar.html |
---|
294 | and uncomment the following --> |
---|
295 | <!-- <copy file="installer/resources/toolbar.html" todir="pkg-temp/docs/" /> --> |
---|
296 | <!-- overwrite the news put in by the updater --> |
---|
297 | <copy file="installer/resources/initialNews.xml" tofile="pkg-temp/docs/news.xml" overwrite="true" /> |
---|
298 | <copy file="installer/resources/startconsole.html" todir="pkg-temp/docs/" /> |
---|
299 | <copy file="installer/resources/start.ico" todir="pkg-temp/docs/" /> |
---|
300 | <copy file="installer/resources/console.ico" todir="pkg-temp/docs/" /> |
---|
301 | <copy file="installer/resources/uninstall.ico" todir="pkg-temp/docs/" /> |
---|
302 | <mkdir dir="pkg-temp/docs/themes/" /> |
---|
303 | <copy todir="pkg-temp/docs/themes/" > |
---|
304 | <fileset dir="installer/resources/themes/" /> |
---|
305 | </copy> |
---|
306 | <mkdir dir="pkg-temp/eepsite" /> |
---|
307 | <mkdir dir="pkg-temp/eepsite/webapps" /> |
---|
308 | <mkdir dir="pkg-temp/eepsite/logs" /> |
---|
309 | <mkdir dir="pkg-temp/eepsite/docroot" /> |
---|
310 | <mkdir dir="pkg-temp/eepsite/cgi-bin" /> |
---|
311 | <copy file="installer/resources/eepsite_index.html" tofile="pkg-temp/eepsite/docroot/index.html" /> |
---|
312 | <copy file="installer/resources/eepsite_index_de.html" tofile="pkg-temp/eepsite/docroot/index_de.html" /> |
---|
313 | <copy file="installer/resources/eepsite.css" todir="pkg-temp/eepsite/docroot/" /> |
---|
314 | <copy file="installer/resources/robots.txt" todir="pkg-temp/eepsite/docroot/" /> |
---|
315 | <copy file="installer/resources/themes/console/images/favicon.ico" tofile="pkg-temp/eepsite/docroot/favicon.ico" /> |
---|
316 | <copy file="installer/resources/jetty.xml" tofile="pkg-temp/eepsite/jetty.xml" /> |
---|
317 | </target> |
---|
318 | <target name="preplicenses"> |
---|
319 | <copy file="LICENSE.txt" todir="pkg-temp/" /> |
---|
320 | <copy todir="pkg-temp/licenses/" > |
---|
321 | <fileset dir="licenses/" /> |
---|
322 | </copy> |
---|
323 | <copy file="installer/lib/launch4j/lib/foxtrot.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-Foxtrot.txt" /> |
---|
324 | <copy file="installer/lib/launch4j/lib/JGoodies.Forms.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Forms.txt" /> |
---|
325 | <copy file="installer/lib/launch4j/lib/JGoodies.Looks.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Looks.txt" /> |
---|
326 | <copy file="installer/lib/launch4j/lib/XStream.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-XStream.txt" /> |
---|
327 | </target> |
---|
328 | <target name="prepthemeupdates"> |
---|
329 | <!-- Add extricated I2PSnark css here, for now --> |
---|
330 | <copy file="installer/resources/themes/console/snark.css" todir="pkg-temp/docs/themes/console/" /> |
---|
331 | <!-- these files now in docs/, not in the .war --> |
---|
332 | <!-- No need to copy these individually, we're copying the whole dir below.. |
---|
333 | <copy file="installer/resources/themes/console/images/favicon.ico" todir="pkg-temp/docs/themes/console/images/" /> |
---|
334 | <copy file="installer/resources/themes/console/images/i2plogo.png" todir="pkg-temp/docs/themes/console/images/" /> |
---|
335 | --> |
---|
336 | <!-- Since the logo moved, we have to update the error pages --> |
---|
337 | <copy todir="pkg-temp/docs/" > |
---|
338 | <fileset dir="installer/resources/proxy" /> |
---|
339 | </copy> |
---|
340 | <!-- make a "classic" theme --> |
---|
341 | <copy todir="pkg-temp/docs/themes/console/classic/" > |
---|
342 | <fileset dir="installer/resources/themes/console/classic/" /> |
---|
343 | </copy> |
---|
344 | <!-- Add dark theme --> |
---|
345 | <copy todir="pkg-temp/docs/themes/console/dark/" > |
---|
346 | <fileset dir="installer/resources/themes/console/dark/" /> |
---|
347 | </copy> |
---|
348 | <!-- Add light theme --> |
---|
349 | <copy todir="pkg-temp/docs/themes/console/light/" > |
---|
350 | <fileset dir="installer/resources/themes/console/light/" /> |
---|
351 | </copy> |
---|
352 | <!-- Add midnight theme --> |
---|
353 | <copy todir="pkg-temp/docs/themes/console/midnight/" > |
---|
354 | <fileset dir="installer/resources/themes/console/midnight/" /> |
---|
355 | </copy> |
---|
356 | <!-- Add shared images.. these are subject to flux and change! --> |
---|
357 | <copy todir="pkg-temp/docs/themes/console/images/" > |
---|
358 | <fileset dir="installer/resources/themes/console/images/" /> |
---|
359 | </copy> |
---|
360 | <copy todir="pkg-temp/docs/" > |
---|
361 | <fileset dir="installer/resources/readme/" includes="readme*.html" /> |
---|
362 | </copy> |
---|
363 | </target> |
---|
364 | |
---|
365 | <!-- this is no longer required, izpack 4.3.0 supports headless installs with java -jar i2pinstall.exe -console --> |
---|
366 | <target name="tarball" depends="preppkg"> |
---|
367 | <tar compression="bzip2" destfile="i2p.tar.bz2"> |
---|
368 | <tarfileset dir="pkg-temp" includes="**/*" prefix="i2p" /> |
---|
369 | </tar> |
---|
370 | </target> |
---|
371 | <target name="deletepkg-temp"> |
---|
372 | <delete dir="pkg-temp" /> |
---|
373 | </target> |
---|
374 | <target name="prepconsoleDocs" depends="prepgeoupdate"> |
---|
375 | <copy todir="pkg-temp/docs/" > |
---|
376 | <fileset dir="." includes="readme*.html" /> |
---|
377 | <fileset dir="installer/resources/proxy" /> |
---|
378 | </copy> |
---|
379 | </target> |
---|
380 | <target name="consoleDocs" depends="deletepkg-temp, prepconsoleDocs"> |
---|
381 | <zip destfile="docs.zip" basedir="pkg-temp" whenempty="fail" /> |
---|
382 | </target> |
---|
383 | <target name="updater" depends="prepupdate, preplicenses, zipit" /> |
---|
384 | <target name="updaterWithGeoIP" depends="prepupdate, prepgeoupdate, preplicenses, zipit" /> |
---|
385 | <target name="updaterWithJetty" depends="prepjupdate, preplicenses, zipit" /> |
---|
386 | <target name="updaterWithJettyFixes" depends="prepjupdatefixes, preplicenses, zipit" /> |
---|
387 | <target name="updaterWithJettyFixesAndGeoIP" depends="prepjupdatefixes, prepgeoupdate, preplicenses, zipit" /> |
---|
388 | <target name="updaterSmall" depends="prepupdateSmall, zipit" /> |
---|
389 | <target name="updaterRouter" depends="prepupdateRouter, zipit" /> |
---|
390 | <target name="zipit"> |
---|
391 | <zip destfile="i2pupdate.zip" basedir="pkg-temp" whenempty="fail" /> |
---|
392 | </target> |
---|
393 | <target name="updateTest" depends="prepupdate"> |
---|
394 | <ant dir="core/java/" target="jarTest" /> |
---|
395 | <copy file="core/java/build/i2ptest.jar" todir="pkg-temp/lib" /> |
---|
396 | <zip destfile="i2pupdate.zip" basedir="pkg-temp" /> |
---|
397 | </target> |
---|
398 | <target name="prepupdate" depends="build2, prepupdateSmall"> |
---|
399 | <copy file="build/BOB.jar" todir="pkg-temp/lib/" /> |
---|
400 | <copy file="build/sam.jar" todir="pkg-temp/lib/" /> |
---|
401 | <copy file="build/i2psnark.jar" todir="pkg-temp/lib" /> |
---|
402 | <!-- include systray changes in 0.7.5 --> |
---|
403 | <copy file="build/systray.jar" todir="pkg-temp/lib/" /> |
---|
404 | <copy file="build/susimail.war" todir="pkg-temp/webapps/" /> |
---|
405 | <copy file="build/susidns.war" todir="pkg-temp/webapps/" /> |
---|
406 | <copy file="build/i2psnark.war" todir="pkg-temp/webapps/" /> |
---|
407 | <copy file="history.txt" todir="pkg-temp/" /> |
---|
408 | <!-- may be pointless now, people with split directories will never see this --> |
---|
409 | <copy file="installer/resources/news.xml" todir="pkg-temp/docs/" /> |
---|
410 | </target> |
---|
411 | <target name="prepupdateSmall" depends="buildSmall, prepupdateRouter, prepthemeupdates"> |
---|
412 | <copy file="build/i2ptunnel.jar" todir="pkg-temp/lib/" /> |
---|
413 | <copy file="build/mstreaming.jar" todir="pkg-temp/lib/" /> |
---|
414 | <copy file="build/streaming.jar" todir="pkg-temp/lib/" /> |
---|
415 | <copy file="build/routerconsole.jar" todir="pkg-temp/lib/" /> |
---|
416 | <copy file="build/i2ptunnel.war" todir="pkg-temp/webapps/" /> |
---|
417 | <copy file="build/routerconsole.war" todir="pkg-temp/webapps/" /> |
---|
418 | <copy file="build/addressbook.war" todir="pkg-temp/webapps/" /> |
---|
419 | <!-- decapitalized the file in 0.7.8 --> |
---|
420 | <copy file="installer/resources/countries.txt" todir="pkg-temp/geoip/" /> |
---|
421 | </target> |
---|
422 | <target name="prepupdateRouter" depends="buildrouter, deletepkg-temp"> |
---|
423 | <copy file="build/i2p.jar" todir="pkg-temp/lib/" /> |
---|
424 | <copy file="build/router.jar" todir="pkg-temp/lib/" /> |
---|
425 | </target> |
---|
426 | <target name="prepgeoupdate"> |
---|
427 | <copy file="installer/resources/geoip.txt" todir="pkg-temp/geoip/" /> |
---|
428 | <copy file="installer/resources/countries.txt" todir="pkg-temp/geoip/" /> |
---|
429 | <copy todir="pkg-temp/docs/icons/flags" > |
---|
430 | <fileset dir="installer/resources/icons/flags" /> |
---|
431 | </copy> |
---|
432 | </target> |
---|
433 | <target name="prepjupdate" depends="prepupdate, buildWEB"> |
---|
434 | <copy file="build/jasper-compiler.jar" todir="pkg-temp/lib/" /> |
---|
435 | <copy file="build/jasper-runtime.jar" todir="pkg-temp/lib/" /> |
---|
436 | <copy file="build/commons-logging.jar" todir="pkg-temp/lib/" /> |
---|
437 | <copy file="build/commons-el.jar" todir="pkg-temp/lib/" /> |
---|
438 | <copy file="build/javax.servlet.jar" todir="pkg-temp/lib/" /> |
---|
439 | <copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" /> |
---|
440 | </target> |
---|
441 | <target name="prepjupdatefixes" depends="prepupdate, buildWEB"> |
---|
442 | <copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" /> |
---|
443 | </target> |
---|
444 | <target name="installer" depends="preppkg"> |
---|
445 | <taskdef name="izpack" classpath="${basedir}/installer/lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask" /> |
---|
446 | <mkdir dir="pkg-temp/installer" /> |
---|
447 | <jar destfile="./pkg-temp/installer/copy.jar" basedir="./core/java/build/obj" includes="net/i2p/util/Copy.class net/i2p/util/FileUtil.class"> |
---|
448 | <manifest><attribute name="Main-Class" value="net.i2p.util.Copy" /></manifest> |
---|
449 | </jar> |
---|
450 | <jar destfile="./pkg-temp/installer/delete.jar" basedir="./core/java/build/obj" includes="net/i2p/util/Delete.class net/i2p/util/FileUtil.class"> |
---|
451 | <manifest><attribute name="Main-Class" value="net.i2p.util.Delete" /></manifest> |
---|
452 | </jar> |
---|
453 | <jar destfile="./pkg-temp/installer/exec.jar" basedir="./core/java/build/obj" includes="net/i2p/util/Exec.class"> |
---|
454 | <manifest><attribute name="Main-Class" value="net.i2p.util.Exec" /></manifest> |
---|
455 | </jar> |
---|
456 | <izpack input="${basedir}/installer/install.xml" output="${basedir}/install.jar" installerType="standard" basedir="${basedir}" /> |
---|
457 | |
---|
458 | <ant target="installerexe" /> |
---|
459 | </target> |
---|
460 | <target name="installerexe"> |
---|
461 | <condition property="noExe"> |
---|
462 | <os arch="x86_64" /> |
---|
463 | </condition> |
---|
464 | <condition property="noExe"> |
---|
465 | <os arch="amd64" /> |
---|
466 | </condition> |
---|
467 | <condition property="noExe"> |
---|
468 | <not> |
---|
469 | <or> |
---|
470 | <os name="Linux" /> |
---|
471 | <os family="windows" /> |
---|
472 | </or> |
---|
473 | </not> |
---|
474 | </condition> |
---|
475 | <ant target="doInstallerEXE" /> |
---|
476 | </target> |
---|
477 | <target name="doInstallerEXE" unless="noExe"> |
---|
478 | <!-- now the installer exe --> |
---|
479 | <taskdef name="launch4j" |
---|
480 | classname="net.sf.launch4j.ant.Launch4jTask" |
---|
481 | classpath="${basedir}/installer/lib/launch4j/launch4j.jar:${basedir}/installer/lib/launch4j/lib/xstream.jar" /> |
---|
482 | <launch4j configFile="./installer/i2pinstaller.xml" /> |
---|
483 | <launch4j configFile="./installer/i2pstandalone.xml" /> |
---|
484 | <!-- thazzit --> |
---|
485 | </target> |
---|
486 | <target name="test"> |
---|
487 | <ant dir="core/java/" target="test" /> |
---|
488 | </target> |
---|
489 | <target name="junit.report"> |
---|
490 | <ant dir="core/java/" target="junit.report" /> |
---|
491 | </target> |
---|
492 | <target name="clover.report"> |
---|
493 | <ant dir="core/java/" target="clover.report" /> |
---|
494 | </target> |
---|
495 | <target name="test.report" depends="junit.report, clover.report"/> |
---|
496 | <target name="fulltest"> |
---|
497 | <ant dir="core/java/" target="fulltest" /> |
---|
498 | <ant dir="router/java/" target="fulltest" /> |
---|
499 | </target> |
---|
500 | <target name="fullclovertest"> |
---|
501 | <ant dir="core/java/" target="fullclovertest" /> |
---|
502 | <ant dir="router/java/" target="fullclovertest" /> |
---|
503 | </target> |
---|
504 | <target name="syndie" > |
---|
505 | <ant dir="apps/syndie/java/" target="standalone" /> |
---|
506 | <copy file="apps/syndie/java/syndie-standalone.zip" todir="." /> |
---|
507 | </target> |
---|
508 | <target name="i2psnark"> |
---|
509 | <ant dir="apps/i2psnark/java" target="standalone" /> |
---|
510 | <copy file="apps/i2psnark/java/i2psnark-standalone.zip" todir="." /> |
---|
511 | </target> |
---|
512 | <target name="slackpkg"> |
---|
513 | <echo message="Building Slackware package." /> |
---|
514 | <ant dir="Slackware/i2p/" target="slackpkg" /> |
---|
515 | <ant dir="Slackware/i2p-base/" target="slackpkg" /> |
---|
516 | </target> |
---|
517 | <target name="findbugs" depends="build2"> |
---|
518 | <echo message="Starting findbugs, this will take a while..." /> |
---|
519 | <exec executable="nice"> |
---|
520 | <arg value="findbugs"/> |
---|
521 | <arg value="-textui"/> |
---|
522 | <arg value="-projectName"/> |
---|
523 | <arg value="i2p"/> |
---|
524 | <arg value="-sortByClass"/> |
---|
525 | <arg value="-xml"/> |
---|
526 | <arg value="-output"/> |
---|
527 | <arg value="findbugs.xml"/> |
---|
528 | <arg value="-auxclasspath"/> |
---|
529 | <arg value="build/commons-el.jar:build/commons-logging.jar:build/jasper-compiler.jar:build/jasper-runtime.jar:build/javax.servlet.jar:build/org.mortbay.jetty.jar:apps/jrobin/jrobin-1.4.0.jar:apps/systray/java/lib/systray4j.jar:installer/lib/wrapper/linux/wrapper.jar"/> |
---|
530 | <arg value="-sourcepath"/> |
---|
531 | <arg value="apps/BOB/src/:apps/addressbook/java/src/:apps/i2psnark/java/src/:apps/i2ptunnel/java/src/:apps/ministreaming/java/src/:apps/routerconsole/java/src/:apps/sam/java/src/:apps/streaming/java/src/:apps/susidns/src/java/src/:apps/susimail/src/src/:apps/systray/java/src/:core/java/src/:router/java/src/"/> |
---|
532 | <!-- start of the files to be analyzed --> |
---|
533 | <arg value="build/BOB.jar"/> |
---|
534 | <arg value="build/addressbook.war"/> |
---|
535 | <arg value="build/i2p.jar"/> |
---|
536 | <arg value="build/i2psnark.jar"/> |
---|
537 | <arg value="build/i2psnark.war"/> |
---|
538 | <arg value="build/i2ptunnel.jar"/> |
---|
539 | <arg value="build/i2ptunnel.war"/> |
---|
540 | <arg value="build/jbigi.jar"/> |
---|
541 | <arg value="build/mstreaming.jar"/> |
---|
542 | <arg value="build/router.jar/"/> |
---|
543 | <!-- use the class files rather than the jar for routerconsole so we don't analyze jrobin --> |
---|
544 | <arg value="apps/routerconsole/java/build/obj/"/> |
---|
545 | <arg value="build/sam.jar"/> |
---|
546 | <arg value="build/streaming.jar"/> |
---|
547 | <arg value="build/susidns.war"/> |
---|
548 | <arg value="build/susimail.war"/> |
---|
549 | <arg value="build/systray.jar"/> |
---|
550 | </exec> |
---|
551 | <echo message="Findbugs output stored in findbugs.xml" /> |
---|
552 | </target> |
---|
553 | <target name="buildWithDesktopgui" depends="buildrouter,builddepSmall"> |
---|
554 | <ant dir="apps/desktopgui" target="build_jar" /> |
---|
555 | </target> |
---|
556 | <target name="preppkgWithDesktopgui" depends="buildWithDesktopgui,preppkg"> |
---|
557 | <copy file="apps/desktopgui/dist/desktopgui.jar" todir="pkg-temp/lib/" /> |
---|
558 | <copy file="apps/desktopgui/lib/swing-worker.jar" todir="pkg-temp/lib/" /> |
---|
559 | <copy file="apps/desktopgui/lib/appframework.jar" todir="pkg-temp/lib/" /> |
---|
560 | <mkdir dir="pkg-temp/desktopgui/resources/" /> |
---|
561 | <copy todir="pkg-temp/desktopgui/resources/"> |
---|
562 | <fileset dir="apps/desktopgui/desktopgui/resources/" /> |
---|
563 | </copy> |
---|
564 | </target> |
---|
565 | <target name="installerWithDesktopgui" depends="preppkgWithDesktopgui,installer" /> |
---|
566 | <target name="prepupdateWithDesktopgui" depends="buildWithDesktopgui,prepupdate"> |
---|
567 | <copy file="apps/desktopgui/dist/desktopgui.jar" todir="pkg-temp/lib/" /> |
---|
568 | <copy file="apps/desktopgui/lib/swing-worker.jar" todir="pkg-temp/lib/" /> |
---|
569 | <copy file="apps/desktopgui/lib/appframework.jar" todir="pkg-temp/lib/" /> |
---|
570 | <mkdir dir="pkg-temp/desktopgui/resources/" /> |
---|
571 | <copy todir="pkg-temp/desktopgui/resources/"> |
---|
572 | <fileset dir="apps/desktopgui/desktopgui/resources/" /> |
---|
573 | </copy> |
---|
574 | </target> |
---|
575 | <target name="updaterWithDesktopgui" depends="prepupdateWithDesktopgui,updater" /> |
---|
576 | <target name="pkgWithDesktopgui" depends="distclean, updaterWithDesktopgui, installerWithDesktopgui, preppkg" /> |
---|
577 | <target name="distWithDesktopgui" depends="pkgWithDesktopgui, javadoc" /> |
---|
578 | <target name="distcleanWithDesktopgui" depends="distclean"> |
---|
579 | <ant dir="apps/desktopgui" target="build_clean" /> |
---|
580 | </target> |
---|
581 | <target name="release" depends="pkg"> |
---|
582 | <echo message="================================================================" /> |
---|
583 | <echo message="Did you update these files?" /> |
---|
584 | <exec executable="ls"> |
---|
585 | <arg value="-l" /> |
---|
586 | <arg value="history.txt" /> |
---|
587 | <arg value="installer/resources/initialNews.xml" /> |
---|
588 | <arg value="installer/install.xml" /> |
---|
589 | <arg value="installer/resources/news.xml" /> |
---|
590 | <arg value="core/java/src/net/i2p/CoreVersion.java" /> |
---|
591 | <arg value="router/java/src/net/i2p/router/RouterVersion.java" /> |
---|
592 | </exec> |
---|
593 | <echo message="Everything is checked in, right? Let's be sure:" /> |
---|
594 | <exec executable="mtn"> |
---|
595 | <arg value="st" /> |
---|
596 | </exec> |
---|
597 | <input message="Enter new version number:" addproperty="release.number" /> |
---|
598 | <fail message="You must enter a version number." > |
---|
599 | <condition> |
---|
600 | <equals arg1="${release.number}" arg2=""/> |
---|
601 | </condition> |
---|
602 | </fail> |
---|
603 | <echo message="New version number is ${release.number}" /> |
---|
604 | <copy file="i2pupdate.zip" tofile="i2pupdate_${release.number}.zip" /> |
---|
605 | <copy file="i2pinstall.exe" tofile="i2pinstall_${release.number}.exe" /> |
---|
606 | <delete file="i2pupdate.sud" failonerror="false" /> |
---|
607 | <input message="Enter private signing key file:" addproperty="release.privkey" /> |
---|
608 | <fail message="You must enter a path." > |
---|
609 | <condition> |
---|
610 | <equals arg1="${release.privkey}" arg2=""/> |
---|
611 | </condition> |
---|
612 | </fail> |
---|
613 | <echo message="Key file is ${release.privkey}" /> |
---|
614 | <java classname="net.i2p.crypto.TrustedUpdate" fork="true" failonerror="true"> |
---|
615 | <classpath> |
---|
616 | <pathelement location="build/i2p.jar" /> |
---|
617 | </classpath> |
---|
618 | <arg value="sign" /> |
---|
619 | <arg value="i2pupdate.zip" /> |
---|
620 | <arg value="i2pupdate.sud" /> |
---|
621 | <arg value="${release.privkey}" /> |
---|
622 | <arg value="${release.number}" /> |
---|
623 | </java> |
---|
624 | <fail message="i2pupdate.sud generation failed!" > |
---|
625 | <condition> |
---|
626 | <length file="i2pupdate.sud" when="lt" length="1000000" /> |
---|
627 | </condition> |
---|
628 | </fail> |
---|
629 | <echo message="Verify version and VALID signature:" /> |
---|
630 | <java classname="net.i2p.crypto.TrustedUpdate" fork="true" failonerror="true"> |
---|
631 | <classpath> |
---|
632 | <pathelement location="build/i2p.jar" /> |
---|
633 | </classpath> |
---|
634 | <arg value="verifysig" /> |
---|
635 | <arg value="i2pupdate.sud" /> |
---|
636 | </java> |
---|
637 | <java classname="net.i2p.crypto.TrustedUpdate" fork="true" failonerror="true"> |
---|
638 | <classpath> |
---|
639 | <pathelement location="build/i2p.jar" /> |
---|
640 | </classpath> |
---|
641 | <arg value="showversion" /> |
---|
642 | <arg value="i2pupdate.sud" /> |
---|
643 | </java> |
---|
644 | <!-- will this use the monotonerc file in the current workspace? --> |
---|
645 | <echo message="Checking out fresh copy into ../i2p-${release-number} for tarballing:" /> |
---|
646 | <delete dir="../i2p-${release.number}" /> |
---|
647 | <exec executable="mtn"> |
---|
648 | <arg value="co" /> |
---|
649 | <arg value="-b" /> |
---|
650 | <arg value="i2p.i2p" /> |
---|
651 | <arg value="../i2p-${release.number}/" /> |
---|
652 | </exec> |
---|
653 | <exec executable="tar"> |
---|
654 | <arg value="cjf" /> |
---|
655 | <arg value="i2psource_${release.number}.tar.bz2" /> |
---|
656 | <arg value="-C" /> |
---|
657 | <arg value=".." /> |
---|
658 | <arg value="--exclude" /> |
---|
659 | <arg value="i2p-${release.number}/_MTN*" /> |
---|
660 | <arg value="i2p-${release.number}/" /> |
---|
661 | </exec> |
---|
662 | <echo message="Sign the files:" /> |
---|
663 | <delete file="i2pinstall_${release.number}.exe.sig" /> |
---|
664 | <delete file="i2psource_${release.number}.tar.bz2.sig" /> |
---|
665 | <delete file="i2pupdate_${release.number}.zip.sig" /> |
---|
666 | <exec executable="gpg"> |
---|
667 | <arg value="-b" /> |
---|
668 | <arg value="i2pinstall_${release.number}.exe" /> |
---|
669 | </exec> |
---|
670 | <exec executable="gpg"> |
---|
671 | <arg value="-b" /> |
---|
672 | <arg value="i2psource_${release.number}.tar.bz2" /> |
---|
673 | </exec> |
---|
674 | <exec executable="gpg"> |
---|
675 | <arg value="-b" /> |
---|
676 | <arg value="i2pupdate_${release.number}.zip" /> |
---|
677 | </exec> |
---|
678 | <echo message="File sizes:" /> |
---|
679 | <exec executable="ls"> |
---|
680 | <arg value="-l" /> |
---|
681 | <arg value="i2pinstall_${release.number}.exe" /> |
---|
682 | <arg value="i2psource_${release.number}.tar.bz2" /> |
---|
683 | <arg value="i2pupdate_${release.number}.zip" /> |
---|
684 | <arg value="i2pupdate.sud" /> |
---|
685 | <arg value="i2pinstall_${release.number}.exe.sig" /> |
---|
686 | <arg value="i2psource_${release.number}.tar.bz2.sig" /> |
---|
687 | <arg value="i2pupdate_${release.number}.zip.sig" /> |
---|
688 | </exec> |
---|
689 | <echo message="SHA256 sums:" /> |
---|
690 | <exec executable="sha256sum"> |
---|
691 | <arg value="i2pinstall_${release.number}.exe" /> |
---|
692 | <arg value="i2psource_${release.number}.tar.bz2" /> |
---|
693 | <arg value="i2pupdate_${release.number}.zip" /> |
---|
694 | <arg value="i2pupdate.sud" /> |
---|
695 | </exec> |
---|
696 | <echo message="Don't forget to mtn tag h: i2p-${release-number}" /> |
---|
697 | </target> |
---|
698 | </project> |
---|