2005-08-30 02:04:17 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2004-04-08 04:41:54 +00:00
|
|
|
<project basedir="." default="all" name="i2p">
|
2005-08-21 18:39:05 +00:00
|
|
|
|
2004-04-08 04:41:54 +00:00
|
|
|
<target name="all" >
|
|
|
|
<echo message="Useful targets: " />
|
2004-09-02 21:26:03 +00:00
|
|
|
<echo message=" dist: distclean then package everything up (installer, clean tarball, update tarball)" />
|
|
|
|
<echo message=" installer: build the GUI installer" />
|
|
|
|
<echo message=" tarball: tar the full install into i2p.tar.bz2 (extracts to build a new clean install)" />
|
2004-09-30 06:57:22 +00:00
|
|
|
<echo message=" updater: tar the built i2p specific files into an i2pupdate.zip (extracts safely over existing installs)" />
|
2004-04-08 04:41:54 +00:00
|
|
|
<echo message=" distclean: clean up all derived files" />
|
2004-09-02 21:26:03 +00:00
|
|
|
<echo message=" javadoc: generate javadoc for the entire project into ./build/javadoc" />
|
2004-04-08 04:41:54 +00:00
|
|
|
</target>
|
2004-11-04 08:31:11 +00:00
|
|
|
<target name="dist" depends="pkg, javadoc">
|
2004-08-20 19:58:04 +00:00
|
|
|
</target>
|
2005-09-20 03:38:14 +00:00
|
|
|
<target name="build" depends="builddep, jar, buildWEB" />
|
2004-08-01 05:31:15 +00:00
|
|
|
<target name="buildclean" depends="distclean, build" />
|
2004-04-08 04:41:54 +00:00
|
|
|
<target name="builddep">
|
2004-04-08 18:24:07 +00:00
|
|
|
<!-- build *everything* here, but only once -->
|
|
|
|
<ant dir="core/java/" target="jar" />
|
|
|
|
<ant dir="router/java/" target="jar" />
|
|
|
|
<ant dir="apps/ministreaming/java/" target="jar" />
|
2004-10-28 02:11:52 +00:00
|
|
|
<ant dir="apps/streaming/java/" target="jar" />
|
2004-04-08 18:24:07 +00:00
|
|
|
<ant dir="apps/i2ptunnel/java/" target="jar" />
|
2004-04-13 04:41:14 +00:00
|
|
|
<ant dir="apps/sam/java/" target="jar" />
|
2004-04-10 05:20:12 +00:00
|
|
|
<ant dir="apps/heartbeat/java/" target="jar" />
|
2004-04-16 03:08:01 +00:00
|
|
|
<ant dir="apps/netmonitor/java/" target="jar" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<ant dir="apps/systray/java/" target="jar" />
|
2004-08-01 05:31:15 +00:00
|
|
|
<ant dir="apps/routerconsole/java/" target="jar" />
|
2004-12-29 22:16:42 +00:00
|
|
|
<ant dir="apps/addressbook/" target="war" />
|
2005-02-17 20:55:07 +00:00
|
|
|
<ant dir="apps/susimail/" target="war" />
|
2005-09-16 04:12:24 +00:00
|
|
|
<ant dir="apps/susidns/src" target="all" />
|
2005-10-14 02:15:39 +00:00
|
|
|
<ant dir="apps/syndie/java/" target="jar" />
|
2005-10-19 23:23:19 +00:00
|
|
|
<ant dir="apps/i2psnark/java/" target="jar" />
|
2004-04-08 04:41:54 +00:00
|
|
|
</target>
|
2005-10-18 00:39:46 +00:00
|
|
|
<target name="buildrouter">
|
|
|
|
<ant dir="core/java/" target="distclean" />
|
|
|
|
<ant dir="router/java/" target="distclean" />
|
|
|
|
<ant dir="core/java/" target="jar" />
|
|
|
|
<ant dir="router/java/" target="jar" />
|
|
|
|
<copy file="core/java/build/i2p.jar" todir="build/" />
|
|
|
|
<copy file="router/java/build/router.jar" todir="build/" />
|
|
|
|
</target>
|
2004-08-31 22:26:19 +00:00
|
|
|
<target name="buildWEB">
|
|
|
|
<ant dir="apps/jetty" target="fetchJettylib" />
|
|
|
|
<ant dir="apps/routerconsole/java" target="build" />
|
|
|
|
<copy file="apps/routerconsole/java/build/routerconsole.jar" todir="build/" />
|
|
|
|
<copy file="apps/routerconsole/java/build/routerconsole.war" todir="build/" />
|
|
|
|
<copy file="apps/jetty/jettylib/org.mortbay.jetty.jar" todir="build/" />
|
|
|
|
<copy file="apps/jetty/jettylib/ant.jar" todir="build/" />
|
|
|
|
<copy file="apps/jetty/jettylib/jasper-compiler.jar" todir="build/" />
|
|
|
|
<copy file="apps/jetty/jettylib/jasper-runtime.jar" todir="build/" />
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
<copy file="apps/jetty/jettylib/commons-logging.jar" todir="build/" />
|
|
|
|
<copy file="apps/jetty/jettylib/commons-el.jar" todir="build/" />
|
2004-08-31 22:26:19 +00:00
|
|
|
<copy file="apps/jetty/jettylib/xercesImpl.jar" todir="build/" />
|
|
|
|
<copy file="apps/jetty/jettylib/javax.servlet.jar" todir="build/" />
|
|
|
|
</target>
|
2005-09-16 04:12:24 +00:00
|
|
|
<target name="buildexe">
|
2005-09-20 03:17:06 +00:00
|
|
|
<condition property="noExe">
|
2005-09-17 07:31:48 +00:00
|
|
|
<os family="mac" />
|
|
|
|
</condition>
|
2005-09-20 03:17:06 +00:00
|
|
|
<condition property="noExe">
|
|
|
|
<os arch="x86_64" />
|
|
|
|
</condition>
|
2005-10-14 15:05:26 +00:00
|
|
|
<condition property="noExe">
|
|
|
|
<os arch="ppc" />
|
|
|
|
</condition>
|
2005-09-20 03:17:06 +00:00
|
|
|
<condition property="noExe">
|
|
|
|
<os arch="amd64" />
|
|
|
|
</condition>
|
2005-09-17 07:31:48 +00:00
|
|
|
<ant target="doBuildEXE" />
|
|
|
|
</target>
|
2005-09-20 03:17:06 +00:00
|
|
|
<target name="doBuildEXE" unless="noExe">
|
2005-09-16 04:12:24 +00:00
|
|
|
<jar destfile="./build/launchi2p.jar">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Main-Class" value="net.i2p.router.RouterLaunch" />
|
|
|
|
<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" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
<!-- now the standalone launcher exe -->
|
|
|
|
<taskdef name="launch4j"
|
|
|
|
classname="net.sf.launch4j.ant.Launch4jTask"
|
|
|
|
classpath="${basedir}/installer/lib/launch4j/launch4j.jar:${basedir}/installer/lib/launch4j/lib/xstream.jar" />
|
|
|
|
<launch4j configFile="./installer/i2pstandalone.xml" />
|
|
|
|
<!-- thazzit -->
|
|
|
|
</target>
|
2004-04-08 04:41:54 +00:00
|
|
|
<target name="compile" />
|
|
|
|
<target name="jar" depends="compile" >
|
|
|
|
<copy file="core/java/build/i2p.jar" todir="build/" />
|
|
|
|
<copy file="router/java/build/router.jar" todir="build/" />
|
|
|
|
<copy file="apps/ministreaming/java/build/mstreaming.jar" todir="build/" />
|
2004-10-28 02:11:52 +00:00
|
|
|
<copy file="apps/streaming/java/build/streaming.jar" todir="build/" />
|
2004-04-08 04:41:54 +00:00
|
|
|
<copy file="apps/i2ptunnel/java/build/i2ptunnel.jar" todir="build/" />
|
2004-08-03 08:21:29 +00:00
|
|
|
<copy file="apps/i2ptunnel/java/build/i2ptunnel.war" todir="build/" />
|
2004-04-13 04:41:14 +00:00
|
|
|
<copy file="apps/sam/java/build/sam.jar" todir="build/" />
|
2004-04-10 05:20:12 +00:00
|
|
|
<copy file="apps/heartbeat/java/build/heartbeat.jar" todir="build/" />
|
2004-04-16 03:08:01 +00:00
|
|
|
<copy file="apps/netmonitor/java/build/netmonitor.jar" todir="build/" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<copy file="apps/systray/java/build/systray.jar" todir="build/" />
|
2004-08-21 18:03:45 +00:00
|
|
|
<copy file="installer/lib/jbigi/jbigi.jar" todir="build" />
|
2004-12-29 22:16:42 +00:00
|
|
|
<copy file="apps/addressbook/dist/addressbook.war" todir="build/" />
|
2005-02-17 20:55:07 +00:00
|
|
|
<copy file="apps/susimail/susimail.war" todir="build/" />
|
2005-09-16 04:12:24 +00:00
|
|
|
<copy file="apps/susidns/src/susidns.war" todir="build/" />
|
2005-08-23 21:25:49 +00:00
|
|
|
<copy file="apps/syndie/syndie.war" todir="build/" />
|
2005-08-21 18:39:05 +00:00
|
|
|
<copy file="apps/syndie/java/build/syndie.jar" todir="build/" />
|
2005-10-14 02:15:39 +00:00
|
|
|
<copy file="apps/syndie/java/build/sucker.jar" todir="build/" />
|
2005-08-21 18:39:05 +00:00
|
|
|
<copy file="apps/syndie/syndie.war" todir="build/" />
|
2005-10-19 23:23:19 +00:00
|
|
|
<copy file="apps/i2psnark/java/build/i2psnark.jar" todir="build/" />
|
2005-10-14 02:15:39 +00:00
|
|
|
<copy file="apps/jdom/jdom.jar" todir="build/" />
|
|
|
|
<copy file="apps/rome/rome-0.7.jar" todir="build/" />
|
2004-04-08 04:41:54 +00:00
|
|
|
</target>
|
|
|
|
<target name="javadoc">
|
|
|
|
<mkdir dir="./build" />
|
|
|
|
<mkdir dir="./build/javadoc" />
|
2004-09-26 15:16:44 +00:00
|
|
|
<javadoc access="package"
|
2004-04-08 04:41:54 +00:00
|
|
|
destdir="./build/javadoc"
|
|
|
|
packagenames="*"
|
|
|
|
use="true"
|
2004-09-02 21:26:03 +00:00
|
|
|
group="SDK net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:freenet.support.CPUInformation,
|
|
|
|
Streaming net.i2p.client.streaming,
|
|
|
|
RouterConsole net.i2p.router.web,
|
|
|
|
Router net.i2p.router:net.i2p.router.*:net.i2p.data.i2np,
|
|
|
|
Systray net.i2p.apps.systray,
|
|
|
|
I2PTunnel net.i2p.i2ptunnel:net.i2p.i2ptunnel.*"
|
2004-04-08 04:41:54 +00:00
|
|
|
splitindex="true"
|
2004-09-02 21:26:03 +00:00
|
|
|
windowtitle="I2P">
|
|
|
|
<sourcepath>
|
|
|
|
<pathelement location="core/java/src" />
|
2005-07-11 23:06:23 +00:00
|
|
|
<!--<pathelement location="core/java/test" />-->
|
2004-09-02 21:26:03 +00:00
|
|
|
<pathelement location="router/java/src" />
|
2005-07-11 23:06:23 +00:00
|
|
|
<!--<pathelement location="router/java/test" />-->
|
2004-09-02 21:26:03 +00:00
|
|
|
<pathelement location="apps/ministreaming/java/src" />
|
2004-10-28 02:11:52 +00:00
|
|
|
<pathelement location="apps/streaming/java/src" />
|
2004-09-02 21:26:03 +00:00
|
|
|
<pathelement location="apps/i2ptunnel/java/src" />
|
|
|
|
<pathelement location="apps/systray/java/src" />
|
|
|
|
<pathelement location="apps/routerconsole/java/src" />
|
|
|
|
</sourcepath>
|
|
|
|
<classpath>
|
|
|
|
<pathelement location="apps/jetty/jettylib/org.mortbay.jetty.jar" />
|
|
|
|
<pathelement location="apps/systray/java/lib/systray4j.jar" />
|
|
|
|
<pathelement location="installer/lib/wrapper/win32/wrapper.jar" />
|
2005-06-23 02:11:04 +00:00
|
|
|
<pathelement location="core/lib/junit.jar" />
|
2004-09-02 21:26:03 +00:00
|
|
|
</classpath>
|
|
|
|
</javadoc>
|
2004-04-08 04:41:54 +00:00
|
|
|
</target>
|
2004-08-19 21:26:11 +00:00
|
|
|
<target name="clean" depends="pkgclean" >
|
2004-04-08 04:41:54 +00:00
|
|
|
<delete dir="./build" />
|
2005-09-17 07:31:48 +00:00
|
|
|
<delete file="i2pinstall.exe" failonerror="false" quiet="true" />
|
|
|
|
<delete file="i2p.exe" failonerror="false" quiet="true" />
|
2004-04-08 04:41:54 +00:00
|
|
|
</target>
|
|
|
|
<target name="distclean" depends="clean">
|
|
|
|
<ant dir="core/java/" target="distclean" />
|
|
|
|
<ant dir="router/java/" target="distclean" />
|
|
|
|
<ant dir="apps/ministreaming/java/" target="distclean" />
|
2004-10-28 02:11:52 +00:00
|
|
|
<ant dir="apps/streaming/java/" target="distclean" />
|
2004-04-08 04:41:54 +00:00
|
|
|
<ant dir="apps/i2ptunnel/java/" target="distclean" />
|
2004-04-13 04:41:14 +00:00
|
|
|
<ant dir="apps/sam/java/" target="distclean" />
|
2004-04-10 05:20:12 +00:00
|
|
|
<ant dir="apps/heartbeat/java/" target="distclean" />
|
2004-04-16 03:08:01 +00:00
|
|
|
<ant dir="apps/netmonitor/java/" target="distclean" />
|
2004-08-01 05:31:15 +00:00
|
|
|
<ant dir="apps/routerconsole/java/" target="distclean" />
|
2004-12-29 22:16:42 +00:00
|
|
|
<ant dir="apps/addressbook/" target="distclean" />
|
2005-02-17 20:55:07 +00:00
|
|
|
<ant dir="apps/susimail/" target="distclean" />
|
2005-09-16 04:12:24 +00:00
|
|
|
<ant dir="apps/susidns/src/" target="distclean" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<ant dir="apps/systray/java/" target="distclean" />
|
2005-10-19 23:23:19 +00:00
|
|
|
<ant dir="apps/i2psnark/java/" target="distclean" />
|
2004-04-08 04:41:54 +00:00
|
|
|
<ant dir="installer/java/" target="distclean" />
|
2004-04-16 03:08:01 +00:00
|
|
|
<delete>
|
|
|
|
<fileset dir="." includes="**/*.class" />
|
|
|
|
<fileset dir="." includes="**/*.java~" />
|
|
|
|
</delete>
|
2004-04-08 04:41:54 +00:00
|
|
|
</target>
|
2004-04-20 20:56:55 +00:00
|
|
|
<target name="distGUI" depends="clean, buildGUI">
|
|
|
|
<mkdir dir="build/lib" />
|
|
|
|
<copy file="apps/jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" todir="build/lib" />
|
|
|
|
<copy file="apps/jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" todir="build/lib" />
|
|
|
|
<copy file="apps/jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" todir="build/lib" />
|
|
|
|
<copy file="apps/jfreechart/GUI-licenses.txt" todir="build/" />
|
|
|
|
<copy file="apps/netmonitor/java/build/netviewer.jar" todir="build/lib" />
|
|
|
|
<copy file="apps/heartbeat/java/build/heartbeatGUI.jar" todir="build/lib" />
|
|
|
|
<zip destfile="build/gui.zip" basedir="build/" includes="GUI-licenses.txt lib/*.jar" />
|
|
|
|
</target>
|
|
|
|
<target name="prepGUI">
|
|
|
|
<echo message="The code being fetched comes from http://www.jfree.org/jfreechart/" />
|
|
|
|
<echo message="It includes code licensed under the LGPL and the APL - please see" />
|
|
|
|
<echo message="the JFreeChart site (or the info downloaded) for source and details" />
|
|
|
|
<ant dir="apps/jfreechart/" target="fetchJfreechart" />
|
|
|
|
<ant dir="apps/jfreechart/" target="build" />
|
|
|
|
</target>
|
|
|
|
<target name="buildGUI">
|
|
|
|
<echo message="Building the GUIs for the heartbeat and netmonitor apps, which depend upon" />
|
|
|
|
<echo message="the JFreeChart and related packages. The following will fail if you haven't" />
|
|
|
|
<echo message="already run 'ant prepGUI' to fetch the LGPL/APL'ed code" />
|
|
|
|
<ant dir="apps/heartbeat/java" target="buildGUI" />
|
|
|
|
<ant dir="apps/netmonitor/java" target="buildGUI" />
|
|
|
|
<copy file="apps/jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" todir="build/" />
|
|
|
|
<copy file="apps/jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" todir="build/" />
|
|
|
|
<copy file="apps/jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" todir="build/" />
|
|
|
|
<copy file="apps/jfreechart/GUI-licenses.txt" todir="build/" />
|
|
|
|
<copy file="apps/netmonitor/java/build/netviewer.jar" todir="build/" />
|
|
|
|
<copy file="apps/heartbeat/java/build/heartbeatGUI.jar" todir="build/" />
|
|
|
|
<echo message="GUIs created. You will need the following files to run them: " />
|
|
|
|
<echo message="jfreechart-0.9.17.jar log4j-1.2.8.jar jcommon-0.9.2.jar" />
|
|
|
|
<echo message="To run the netmonitor GUI: java -cp jfreechart-0.9.17.jar:log4j-1.2.8.jar:jcommon-0.9.2.jar -jar netviewer.jar" />
|
|
|
|
<echo message="To run the heartbeat GUI: java -cp jfreechart-0.9.17.jar:log4j-1.2.8.jar:jcommon-0.9.2.jar -jar heartbeatGUI.jar" />
|
|
|
|
</target>
|
2004-09-02 21:26:03 +00:00
|
|
|
<target name="pkg" depends="updater, tarball, installer" />
|
2004-08-17 05:53:56 +00:00
|
|
|
<target name="pkgclean">
|
|
|
|
<delete dir="pkg-temp" />
|
|
|
|
<delete>
|
2004-09-30 06:57:22 +00:00
|
|
|
<fileset dir="." includes="i2p.tar.bz2 install.jar i2pupdate.zip" />
|
2004-08-17 05:53:56 +00:00
|
|
|
</delete>
|
|
|
|
</target>
|
2005-09-20 03:43:57 +00:00
|
|
|
<target name="preppkg" depends="build, buildexe">
|
2004-09-02 21:26:03 +00:00
|
|
|
<delete dir="pkg-temp" />
|
2004-08-17 05:53:56 +00:00
|
|
|
<copy file="build/ant.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/heartbeat.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/i2p.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/i2ptunnel.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/jasper-compiler.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/jasper-runtime.jar" todir="pkg-temp/lib/" />
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
<copy file="build/commons-logging.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/commons-el.jar" todir="pkg-temp/lib/" />
|
2004-08-17 05:53:56 +00:00
|
|
|
<copy file="build/javax.servlet.jar" todir="pkg-temp/lib/" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<copy file="build/jbigi.jar" todir="pkg-temp/lib" />
|
2004-08-17 05:53:56 +00:00
|
|
|
<copy file="build/mstreaming.jar" todir="pkg-temp/lib/" />
|
2004-10-28 02:11:52 +00:00
|
|
|
<copy file="build/streaming.jar" todir="pkg-temp/lib/" />
|
2004-08-17 05:53:56 +00:00
|
|
|
<copy file="build/netmonitor.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/router.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/routerconsole.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/sam.jar" todir="pkg-temp/lib/" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<copy file="build/systray.jar" todir="pkg-temp/lib" />
|
2005-10-14 02:15:39 +00:00
|
|
|
<copy file="build/jdom.jar" todir="pkg-temp/lib" />
|
|
|
|
<copy file="build/rome-0.7.jar" todir="pkg-temp/lib" />
|
|
|
|
<copy file="build/sucker.jar" todir="pkg-temp/lib" />
|
2005-10-19 23:23:19 +00:00
|
|
|
<copy file="build/i2psnark.jar" todir="pkg-temp/lib/" />
|
2005-09-17 07:31:48 +00:00
|
|
|
<copy file="i2p.exe" todir="pkg-temp/" failonerror="false" />
|
2005-09-16 04:12:24 +00:00
|
|
|
<copy file="installer/resources/runplain.sh" todir="pkg-temp/" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<copy file="apps/systray/java/lib/systray4j.jar" todir="pkg-temp/lib" />
|
|
|
|
<copy file="apps/systray/java/lib/systray4j.dll" todir="pkg-temp/lib" />
|
|
|
|
<copy file="apps/systray/java/resources/iggy.ico" todir="pkg-temp/icons" />
|
|
|
|
<copy file="apps/systray/java/resources/iggy.xpm" todir="pkg-temp/icons" />
|
2004-08-17 05:53:56 +00:00
|
|
|
<copy file="build/xercesImpl.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/i2ptunnel.war" todir="pkg-temp/webapps/" />
|
|
|
|
<copy file="build/routerconsole.war" todir="pkg-temp/webapps/" />
|
2004-12-29 22:16:42 +00:00
|
|
|
<copy file="build/addressbook.war" todir="pkg-temp/webapps/" />
|
2005-02-17 20:55:07 +00:00
|
|
|
<copy file="build/susimail.war" todir="pkg-temp/webapps/" />
|
2005-09-16 04:12:24 +00:00
|
|
|
<copy file="build/susidns.war" todir="pkg-temp/webapps/" />
|
2005-08-23 21:25:49 +00:00
|
|
|
<copy file="build/syndie.war" todir="pkg-temp/webapps/" />
|
2004-08-19 21:26:11 +00:00
|
|
|
<copy file="installer/resources/clients.config" todir="pkg-temp/" />
|
2005-04-08 01:56:02 +00:00
|
|
|
<copy file="installer/resources/eepget" todir="pkg-temp/" />
|
2004-08-24 12:25:46 +00:00
|
|
|
<copy file="installer/resources/i2prouter" todir="pkg-temp/" />
|
|
|
|
<copy file="installer/resources/i2prouter.bat" todir="pkg-temp/" />
|
|
|
|
<copy file="installer/resources/i2ptunnel.config" todir="pkg-temp/" />
|
2004-09-03 16:52:27 +00:00
|
|
|
<!-- <copy file="installer/resources/install_i2p_service_unix" todir="pkg-temp/" /> -->
|
2004-08-24 12:25:46 +00:00
|
|
|
<copy file="installer/resources/install_i2p_service_winnt.bat" todir="pkg-temp/" />
|
2004-08-25 11:20:56 +00:00
|
|
|
<copy file="installer/resources/osid" todir="pkg-temp/" />
|
|
|
|
<copy file="installer/resources/postinstall.bat" todir="pkg-temp/" />
|
2004-08-26 19:08:25 +00:00
|
|
|
<copy file="installer/resources/postinstall.sh" todir="pkg-temp/" />
|
2004-08-24 12:25:46 +00:00
|
|
|
<copy file="installer/resources/systray.config" todir="pkg-temp/" />
|
2004-09-03 16:52:27 +00:00
|
|
|
<!-- <copy file="installer/resources/uninstall_i2p_service_unix" todir="pkg-temp/" /> -->
|
2004-08-24 12:25:46 +00:00
|
|
|
<copy file="installer/resources/uninstall_i2p_service_winnt.bat" todir="pkg-temp/" />
|
2004-09-08 22:04:13 +00:00
|
|
|
<copy file="installer/resources/wrapper.config" todir="pkg-temp/" />
|
2004-08-25 11:20:56 +00:00
|
|
|
<copy todir="pkg-temp/lib/wrapper/freebsd/">
|
|
|
|
<fileset dir="installer/lib/wrapper/freebsd/" />
|
|
|
|
</copy>
|
|
|
|
<copy todir="pkg-temp/lib/wrapper/linux/">
|
|
|
|
<fileset dir="installer/lib/wrapper/linux/" />
|
|
|
|
</copy>
|
2005-09-19 00:36:59 +00:00
|
|
|
<copy todir="pkg-temp/lib/wrapper/linux64/">
|
|
|
|
<fileset dir="installer/lib/wrapper/linux64/" />
|
|
|
|
</copy>
|
2004-08-25 11:20:56 +00:00
|
|
|
<copy todir="pkg-temp/lib/wrapper/macosx/">
|
|
|
|
<fileset dir="installer/lib/wrapper/macosx/" />
|
|
|
|
</copy>
|
|
|
|
<copy todir="pkg-temp/lib/wrapper/solaris/">
|
|
|
|
<fileset dir="installer/lib/wrapper/solaris/" />
|
|
|
|
</copy>
|
|
|
|
<copy todir="pkg-temp/lib/wrapper/win32/">
|
|
|
|
<fileset dir="installer/lib/wrapper/win32/" />
|
|
|
|
</copy>
|
|
|
|
<copy file="hosts.txt" todir="pkg-temp/" />
|
2004-09-02 02:20:03 +00:00
|
|
|
<copy file="install-headless.txt" todir="pkg-temp/" />
|
2004-09-02 20:00:28 +00:00
|
|
|
<copy file="history.txt" todir="pkg-temp/" />
|
2005-02-03 13:39:46 +00:00
|
|
|
<mkdir dir="pkg-temp/scripts" />
|
|
|
|
<copy file="apps/proxyscript/i2pProxy.pac" todir="pkg-temp/scripts/" />
|
|
|
|
<copy file="core/perl/i2pbench.sh" todir="pkg-temp/scripts/" />
|
|
|
|
<copy file="core/perl/i2ptest.sh" todir="pkg-temp/scripts/" />
|
2004-09-02 01:22:33 +00:00
|
|
|
<mkdir dir="pkg-temp/docs" />
|
|
|
|
<copy file="readme.html" todir="pkg-temp/docs/" />
|
2005-03-24 04:58:28 +00:00
|
|
|
<copy file="initialNews.xml" tofile="pkg-temp/docs/news.xml" />
|
2004-11-25 21:57:19 +00:00
|
|
|
<copy file="installer/resources/startconsole.html" todir="pkg-temp/docs/" />
|
|
|
|
<copy file="installer/resources/start.ico" todir="pkg-temp/docs/" />
|
|
|
|
<copy file="installer/resources/console.ico" todir="pkg-temp/docs/" />
|
|
|
|
<copy file="installer/resources/uninstall.ico" todir="pkg-temp/docs/" />
|
2005-04-17 23:23:20 +00:00
|
|
|
<copy file="installer/resources/dnf-header.ht" todir="pkg-temp/docs/" />
|
|
|
|
<copy file="installer/resources/dnfp-header.ht" todir="pkg-temp/docs/" />
|
|
|
|
<copy file="installer/resources/dnfb-header.ht" todir="pkg-temp/docs/" />
|
2005-09-25 09:28:59 +00:00
|
|
|
<copy file="installer/resources/ahelper-conflict-header.ht" todir="pkg-temp/docs/" />
|
2004-09-30 06:57:22 +00:00
|
|
|
<mkdir dir="pkg-temp/eepsite" />
|
|
|
|
<mkdir dir="pkg-temp/eepsite/webapps" />
|
|
|
|
<mkdir dir="pkg-temp/eepsite/logs" />
|
|
|
|
<mkdir dir="pkg-temp/eepsite/docroot" />
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
<mkdir dir="pkg-temp/eepsite/cgi-bin" />
|
2004-09-30 06:57:22 +00:00
|
|
|
<copy file="installer/resources/eepsite_index.html" tofile="pkg-temp/eepsite/docroot/index.html" />
|
2004-11-25 21:57:19 +00:00
|
|
|
<copy file="installer/resources/favicon.ico" tofile="pkg-temp/eepsite/docroot/favicon.ico" />
|
2004-09-30 06:57:22 +00:00
|
|
|
<copy file="installer/resources/jetty.xml" tofile="pkg-temp/eepsite/jetty.xml" />
|
2005-09-18 01:29:58 +00:00
|
|
|
<mkdir dir="pkg-temp/syndie" />
|
|
|
|
<mkdir dir="pkg-temp/syndie/archive" />
|
|
|
|
<mkdir dir="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=" />
|
|
|
|
<copy file="installer/resources/blogMeta.snm" tofile="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=/meta.snm" />
|
|
|
|
<copy file="installer/resources/blogPost.snd" tofile="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=/1126915200003.snd" />
|
2004-08-17 05:53:56 +00:00
|
|
|
</target>
|
|
|
|
<target name="tarball" depends="preppkg">
|
|
|
|
<tar compression="bzip2" destfile="i2p.tar.bz2">
|
|
|
|
<tarfileset dir="pkg-temp" includes="**/*" prefix="i2p" />
|
|
|
|
</tar>
|
|
|
|
</target>
|
2005-07-11 23:06:23 +00:00
|
|
|
<target name="updater" depends="prepupdate">
|
|
|
|
<zip destfile="i2pupdate.zip" basedir="pkg-temp" />
|
|
|
|
</target>
|
|
|
|
<target name="updateTest" depends="prepupdate">
|
|
|
|
<ant dir="core/java/" target="jarTest" />
|
|
|
|
<copy file="core/java/build/i2ptest.jar" todir="pkg-temp/lib" />
|
|
|
|
<zip destfile="i2pupdate.zip" basedir="pkg-temp" />
|
|
|
|
</target>
|
|
|
|
<target name="prepupdate" depends="distclean, build">
|
2004-09-02 21:26:03 +00:00
|
|
|
<delete dir="pkg-temp" />
|
|
|
|
<copy file="build/i2p.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/i2ptunnel.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/mstreaming.jar" todir="pkg-temp/lib/" />
|
2004-10-28 02:11:52 +00:00
|
|
|
<copy file="build/streaming.jar" todir="pkg-temp/lib/" />
|
2004-11-07 02:25:13 +00:00
|
|
|
<copy file="build/sam.jar" todir="pkg-temp/lib/" />
|
2004-09-02 21:26:03 +00:00
|
|
|
<copy file="build/router.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/routerconsole.jar" todir="pkg-temp/lib/" />
|
2005-10-14 02:15:39 +00:00
|
|
|
<!-- for the 0.6.1.3 release, push JDOM and ROME. it can be
|
|
|
|
removed later updates (once people on earlier builds upgrade -->
|
|
|
|
<copy file="build/jdom.jar" todir="pkg-temp/lib" />
|
|
|
|
<copy file="build/rome-0.7.jar" todir="pkg-temp/lib" />
|
|
|
|
<copy file="build/sucker.jar" todir="pkg-temp/lib" />
|
2005-10-19 23:23:19 +00:00
|
|
|
<copy file="build/i2psnark.jar" todir="pkg-temp/lib" />
|
2005-10-14 02:15:39 +00:00
|
|
|
|
2005-09-17 07:31:48 +00:00
|
|
|
<copy file="i2p.exe" todir="pkg-temp/" failonerror="false" />
|
2005-09-16 04:12:24 +00:00
|
|
|
<copy file="installer/resources/runplain.sh" todir="pkg-temp/" />
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
|
|
|
|
<!-- for the i2p 0.5 release, push jetty 5.2.1 -->
|
2005-02-19 23:20:56 +00:00
|
|
|
<!--
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
<copy file="build/jasper-compiler.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/jasper-runtime.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/commons-logging.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/commons-el.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" />
|
|
|
|
<copy file="build/javax.servlet.jar" todir="pkg-temp/lib/" />
|
2005-02-19 23:20:56 +00:00
|
|
|
-->
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
<!-- requires commons-* to be added to the classpath (boo, hiss) -->
|
2005-02-19 23:20:56 +00:00
|
|
|
<!--
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
<copy file="installer/resources/wrapper.config" todir="pkg-temp/" />
|
|
|
|
<touch file="pkg-temp/wrapper.config.updated" />
|
2005-02-19 23:20:56 +00:00
|
|
|
-->
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
|
2004-09-02 21:26:03 +00:00
|
|
|
<copy file="build/i2ptunnel.war" todir="pkg-temp/webapps/" />
|
|
|
|
<copy file="build/routerconsole.war" todir="pkg-temp/webapps/" />
|
2004-12-29 22:16:42 +00:00
|
|
|
<copy file="build/addressbook.war" todir="pkg-temp/webapps/" />
|
2005-02-17 20:55:07 +00:00
|
|
|
<copy file="build/susimail.war" todir="pkg-temp/webapps/" />
|
2005-09-16 04:12:24 +00:00
|
|
|
<copy file="build/susidns.war" todir="pkg-temp/webapps/" />
|
2005-08-23 21:25:49 +00:00
|
|
|
<copy file="build/syndie.war" todir="pkg-temp/webapps/" />
|
2004-09-02 21:26:03 +00:00
|
|
|
<copy file="history.txt" todir="pkg-temp/" />
|
2005-03-24 01:19:52 +00:00
|
|
|
<mkdir dir="pkg-temp/docs/" />
|
2005-03-24 04:49:15 +00:00
|
|
|
<copy file="news.xml" todir="pkg-temp/docs/" />
|
2005-04-17 23:23:20 +00:00
|
|
|
<copy file="installer/resources/dnf-header.ht" todir="pkg-temp/docs/" />
|
|
|
|
<copy file="installer/resources/dnfp-header.ht" todir="pkg-temp/docs/" />
|
|
|
|
<copy file="installer/resources/dnfb-header.ht" todir="pkg-temp/docs/" />
|
2005-09-25 09:28:59 +00:00
|
|
|
<copy file="installer/resources/ahelper-conflict-header.ht" todir="pkg-temp/docs/" />
|
2005-02-18 08:12:40 +00:00
|
|
|
<!-- the addressbook handles this for updates -->
|
|
|
|
<!-- <copy file="hosts.txt" todir="pkg-temp/" /> -->
|
2004-09-30 06:57:22 +00:00
|
|
|
<mkdir dir="pkg-temp/eepsite" />
|
|
|
|
<mkdir dir="pkg-temp/eepsite/webapps" />
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
<mkdir dir="pkg-temp/eepsite/cgi-bin" />
|
2005-09-18 01:29:58 +00:00
|
|
|
<mkdir dir="pkg-temp/syndie" />
|
|
|
|
<mkdir dir="pkg-temp/syndie/archive" />
|
|
|
|
<mkdir dir="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=" />
|
|
|
|
<copy file="installer/resources/blogMeta.snm" tofile="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=/meta.snm" />
|
|
|
|
<copy file="installer/resources/blogPost.snd" tofile="pkg-temp/syndie/archive/ovpBy2mpO1CQ7deYhQ1cDGAwI6pQzLbWOm1Sdd0W06c=/1126915200003.snd" />
|
2004-09-02 21:26:03 +00:00
|
|
|
</target>
|
2004-08-17 20:43:11 +00:00
|
|
|
<target name="installer" depends="preppkg">
|
2005-10-18 00:39:46 +00:00
|
|
|
<taskdef name="izpack" classpath="${basedir}/installer/lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask" />
|
2004-11-25 21:57:19 +00:00
|
|
|
<jar destfile="./pkg-temp/lib/copy.jar" basedir="./core/java/build/obj" includes="net/i2p/util/*.class">
|
|
|
|
<manifest><attribute name="Main-Class" value="net.i2p.util.Copy" /></manifest>
|
|
|
|
</jar>
|
|
|
|
<jar destfile="./pkg-temp/lib/delete.jar" basedir="./core/java/build/obj" includes="net/i2p/util/*.class">
|
|
|
|
<manifest><attribute name="Main-Class" value="net.i2p.util.Delete" /></manifest>
|
|
|
|
</jar>
|
|
|
|
<jar destfile="./pkg-temp/lib/exec.jar" basedir="./core/java/build/obj" includes="net/i2p/util/*.class">
|
|
|
|
<manifest><attribute name="Main-Class" value="net.i2p.util.Exec" /></manifest>
|
|
|
|
</jar>
|
2004-08-17 20:43:11 +00:00
|
|
|
<izpack input="${basedir}/installer/install.xml" output="${basedir}/install.jar" installerType="standard" basedir="${basedir}" />
|
2005-09-16 04:12:24 +00:00
|
|
|
|
|
|
|
<ant target="installerexe" />
|
|
|
|
</target>
|
|
|
|
<target name="installerexe">
|
2005-09-20 03:17:06 +00:00
|
|
|
<condition property="noExe">
|
2005-09-17 07:31:48 +00:00
|
|
|
<os family="mac" />
|
|
|
|
</condition>
|
2005-09-20 03:17:06 +00:00
|
|
|
<condition property="noExe">
|
|
|
|
<os arch="x86_64" />
|
|
|
|
</condition>
|
|
|
|
<condition property="noExe">
|
|
|
|
<os arch="amd64" />
|
|
|
|
</condition>
|
2005-09-17 07:31:48 +00:00
|
|
|
<ant target="doInstallerEXE" />
|
|
|
|
</target>
|
2005-09-20 03:17:06 +00:00
|
|
|
<target name="doInstallerEXE" unless="noExe">
|
2005-09-16 04:12:24 +00:00
|
|
|
<!-- now the installer exe -->
|
|
|
|
<taskdef name="launch4j"
|
|
|
|
classname="net.sf.launch4j.ant.Launch4jTask"
|
|
|
|
classpath="${basedir}/installer/lib/launch4j/launch4j.jar:${basedir}/installer/lib/launch4j/lib/xstream.jar" />
|
|
|
|
<launch4j configFile="./installer/i2pinstaller.xml" />
|
|
|
|
<launch4j configFile="./installer/i2pstandalone.xml" />
|
|
|
|
<!-- thazzit -->
|
2004-08-17 20:43:11 +00:00
|
|
|
</target>
|
2005-06-23 02:11:04 +00:00
|
|
|
<target name="test">
|
|
|
|
<ant dir="core/java/" target="test" />
|
|
|
|
</target>
|
|
|
|
<target name="junit.report">
|
|
|
|
<ant dir="core/java/" target="junit.report" />
|
|
|
|
</target>
|
|
|
|
<target name="clover.report">
|
|
|
|
<ant dir="core/java/" target="clover.report" />
|
|
|
|
</target>
|
|
|
|
<target name="test.report" depends="junit.report, clover.report"/>
|
|
|
|
<target name="fulltest">
|
|
|
|
<ant dir="core/java/" target="fulltest" />
|
2005-09-13 09:06:07 +00:00
|
|
|
<ant dir="router/java/" target="fulltest" />
|
|
|
|
</target>
|
|
|
|
<target name="fullclovertest">
|
|
|
|
<ant dir="core/java/" target="fullclovertest" />
|
|
|
|
<ant dir="router/java/" target="fullclovertest" />
|
2005-06-23 02:11:04 +00:00
|
|
|
</target>
|
2004-04-08 04:41:54 +00:00
|
|
|
</project>
|