2004-07-24 02:06:07 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project basedir="." default="all" name="routerconsole">
|
|
|
|
<target name="all" depends="clean, build" />
|
|
|
|
<target name="build" depends="builddep, jar" />
|
2004-08-01 05:31:15 +00:00
|
|
|
<target name="builddep">
|
2004-07-24 02:06:07 +00:00
|
|
|
<ant dir="../../../router/java/" target="build" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<ant dir="../../systray/java/" target="build" />
|
2004-07-24 02:06:07 +00:00
|
|
|
<!-- router will build core -->
|
|
|
|
</target>
|
2004-08-01 05:31:15 +00:00
|
|
|
<target name="prepare">
|
|
|
|
<ant dir="../../jetty/" target="build" />
|
2004-07-24 02:06:07 +00:00
|
|
|
</target>
|
2008-11-14 14:48:08 +00:00
|
|
|
<condition property="depend.available">
|
|
|
|
<typefound name="depend" />
|
|
|
|
</condition>
|
|
|
|
<target name="depend" if="depend.available">
|
2008-11-12 17:08:09 +00:00
|
|
|
<depend
|
|
|
|
cache="../../../build"
|
|
|
|
srcdir="./src"
|
|
|
|
destdir="./build/obj" >
|
|
|
|
<!-- Depend on classes instead of jars where available -->
|
|
|
|
<classpath>
|
|
|
|
<pathelement location="../../../core/java/build/obj" />
|
|
|
|
<pathelement location="../../../router/java/build/obj" />
|
|
|
|
<pathelement location="../../jetty/jettylib/org.mortbay.jetty.jar" />
|
|
|
|
<pathelement location="../../jetty/jettylib/javax.servlet.jar" />
|
|
|
|
<pathelement location="../../systray/java/build/obj" />
|
|
|
|
<pathelement location="../../systray/java/lib/systray4j.jar" />
|
|
|
|
<pathelement location="../../../installer/lib/wrapper/win32/wrapper.jar" /> <!-- we dont care if we're not on win32 -->
|
|
|
|
<pathelement location="../../jrobin/jrobin-1.4.0.jar" />
|
|
|
|
</classpath>
|
|
|
|
</depend>
|
2008-11-14 14:48:08 +00:00
|
|
|
</target>
|
|
|
|
<target name="dependVersion">
|
2008-11-12 17:08:09 +00:00
|
|
|
<!-- Force the dependency on the RouterVersion as depend doesn't recognize constant changes -->
|
|
|
|
<dependset>
|
|
|
|
<srcfilelist dir="." files="../../../router/java/build/obj/net/i2p/router/RouterVersion.class" />
|
|
|
|
<targetfilelist dir="." files="build/obj/net/i2p/router/web/NewsFetcher.class" />
|
|
|
|
<targetfilelist dir="." files="build/obj/net/i2p/router/web/SummaryHelper.class" />
|
|
|
|
<targetfilelist dir="." files="build/obj/net/i2p/router/web/UpdateHandler.class" />
|
|
|
|
</dependset>
|
|
|
|
</target>
|
2009-04-26 15:54:51 +00:00
|
|
|
<property name="javac.compilerargs" value="" />
|
2008-11-14 14:48:08 +00:00
|
|
|
<target name="compile" depends="prepare, depend, dependVersion">
|
2004-07-24 02:06:07 +00:00
|
|
|
<mkdir dir="./build" />
|
|
|
|
<mkdir dir="./build/obj" />
|
|
|
|
<javac
|
|
|
|
srcdir="./src"
|
2008-10-10 17:25:58 +00:00
|
|
|
debug="true" deprecation="on" source="1.5" target="1.5"
|
2004-08-23 21:32:24 +00:00
|
|
|
destdir="./build/obj">
|
2009-04-26 15:54:51 +00:00
|
|
|
<compilerarg line="${javac.compilerargs}" />
|
2004-08-23 21:32:24 +00:00
|
|
|
<classpath>
|
|
|
|
<pathelement location="../../../core/java/build/i2p.jar" />
|
|
|
|
<pathelement location="../../../router/java/build/router.jar" />
|
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
|
|
|
<pathelement location="../../jetty/jettylib/org.mortbay.jetty.jar" />
|
2004-11-04 11:57:26 +00:00
|
|
|
<pathelement location="../../jetty/jettylib/javax.servlet.jar" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<pathelement location="../../systray/java/build/systray.jar" />
|
|
|
|
<pathelement location="../../systray/java/lib/systray4j.jar" />
|
2004-08-23 21:32:24 +00:00
|
|
|
<pathelement location="../../../installer/lib/wrapper/win32/wrapper.jar" /> <!-- we dont care if we're not on win32 -->
|
2006-03-16 21:45:17 +00:00
|
|
|
<pathelement location="../../jrobin/jrobin-1.4.0.jar" />
|
2004-08-23 21:32:24 +00:00
|
|
|
</classpath>
|
|
|
|
</javac>
|
2004-07-24 02:06:07 +00:00
|
|
|
</target>
|
|
|
|
<target name="jar" depends="compile">
|
|
|
|
<jar destfile="./build/routerconsole.jar" basedir="./build/obj" includes="**/*.class">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Class-Path" value="i2p.jar router.jar" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2006-03-16 21:45:17 +00:00
|
|
|
<delete dir="./tmpextract" />
|
|
|
|
<unjar src="../../jrobin/jrobin-1.4.0.jar" dest="./tmpextract" />
|
|
|
|
<jar destfile="./build/routerconsole.jar" basedir="./tmpextract" update="true" />
|
|
|
|
<delete dir="./tmpextract" />
|
|
|
|
|
2004-07-24 02:06:07 +00:00
|
|
|
<ant target="war" />
|
|
|
|
</target>
|
2004-08-05 02:24:00 +00:00
|
|
|
<target name="war" depends="precompilejsp">
|
2009-06-11 18:05:05 +00:00
|
|
|
<!-- Don't include the css in the war, the main build.xml will copy it to docs/themes/console/ -->
|
2004-08-05 02:24:00 +00:00
|
|
|
<war destfile="build/routerconsole.war" webxml="../jsp/web-out.xml"
|
2009-06-11 18:05:05 +00:00
|
|
|
basedir="../jsp/" excludes="web.xml, *.css, *.java, *.jsp, web-fragment.xml">
|
2004-07-24 02:06:07 +00:00
|
|
|
</war>
|
|
|
|
</target>
|
2008-11-09 15:46:08 +00:00
|
|
|
<target name="precompilejsp" unless="precompilejsp.uptodate">
|
2004-08-11 22:23:48 +00:00
|
|
|
<delete dir="../jsp/WEB-INF/" />
|
2004-08-19 23:46:56 +00:00
|
|
|
<delete file="../jsp/web-fragment.xml" />
|
|
|
|
<delete file="../jsp/web-out.xml" />
|
2004-08-05 02:24:00 +00:00
|
|
|
<mkdir dir="../jsp/WEB-INF/" />
|
|
|
|
<mkdir dir="../jsp/WEB-INF/classes" />
|
|
|
|
<!-- there are various jspc ant tasks, but they all seem a bit flakey -->
|
2009-05-16 00:52:21 +00:00
|
|
|
<java classname="org.apache.jasper.JspC" fork="true" failonerror="true">
|
2004-08-05 02:24:00 +00:00
|
|
|
<classpath>
|
|
|
|
<pathelement location="../../jetty/jettylib/jasper-compiler.jar" />
|
|
|
|
<pathelement location="../../jetty/jettylib/jasper-runtime.jar" />
|
|
|
|
<pathelement location="../../jetty/jettylib/javax.servlet.jar" />
|
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
|
|
|
<pathelement location="../../jetty/jettylib/commons-logging.jar" />
|
|
|
|
<pathelement location="../../jetty/jettylib/commons-el.jar" />
|
2004-08-05 02:24:00 +00:00
|
|
|
<pathelement location="../../jetty/jettylib/ant.jar" />
|
2004-08-23 21:32:24 +00:00
|
|
|
<pathelement location="../../systray/java/build/obj" />
|
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
|
|
|
<pathelement location="../../systray/java/lib/systray4j.jar" />
|
|
|
|
<pathelement location="../../../installer/lib/wrapper/win32/wrapper.jar" />
|
2004-08-05 02:24:00 +00:00
|
|
|
<pathelement location="build/routerconsole.jar" />
|
2006-03-16 21:45:17 +00:00
|
|
|
<pathelement location="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
|
|
|
<pathelement location="../../../router/java/build/router.jar" />
|
|
|
|
<pathelement location="../../../core/java/build/i2p.jar" />
|
2004-08-05 02:24:00 +00:00
|
|
|
</classpath>
|
|
|
|
<arg value="-d" />
|
|
|
|
<arg value="../jsp/WEB-INF/classes" />
|
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
|
|
|
<arg value="-v" />
|
2004-08-05 02:24:00 +00:00
|
|
|
<arg value="-p" />
|
|
|
|
<arg value="net.i2p.router.web.jsp" />
|
|
|
|
<arg value="-webinc" />
|
|
|
|
<arg value="../jsp/web-fragment.xml" />
|
|
|
|
<arg value="-webapp" />
|
|
|
|
<arg value="../jsp/" />
|
|
|
|
</java>
|
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
|
|
|
|
2008-10-10 17:25:58 +00:00
|
|
|
<javac debug="true" deprecation="on" source="1.5" target="1.5"
|
2005-02-27 00:03:42 +00:00
|
|
|
destdir="../jsp/WEB-INF/classes/"
|
|
|
|
srcdir="../jsp/WEB-INF/classes" includes="**/*.java">
|
2009-04-26 15:54:51 +00:00
|
|
|
<compilerarg line="${javac.compilerargs}" />
|
2004-08-05 02:24:00 +00:00
|
|
|
<classpath>
|
|
|
|
<pathelement location="../../jetty/jettylib/jasper-runtime.jar" />
|
|
|
|
<pathelement location="../../jetty/jettylib/javax.servlet.jar" />
|
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
|
|
|
<pathelement location="../../jetty/jettylib/commons-logging.jar" />
|
|
|
|
<pathelement location="../../jetty/jettylib/commons-el.jar" />
|
2005-03-25 04:07:05 +00:00
|
|
|
<pathelement location="../../systray/java/build/obj" />
|
|
|
|
<pathelement location="../../systray/java/lib/systray4j.jar" />
|
|
|
|
<pathelement location="../../../installer/lib/wrapper/win32/wrapper.jar" />
|
2004-08-05 02:24:00 +00:00
|
|
|
<pathelement location="build/routerconsole.jar" />
|
2006-03-16 21:45:17 +00:00
|
|
|
<pathelement location="build" />
|
2005-03-25 04:07:05 +00:00
|
|
|
<pathelement location="../../../router/java/build/router.jar" />
|
|
|
|
<pathelement location="../../../core/java/build/i2p.jar" />
|
2004-08-05 02:24:00 +00:00
|
|
|
</classpath>
|
|
|
|
</javac>
|
2004-08-19 20:27:35 +00:00
|
|
|
<delete>
|
|
|
|
<fileset dir="../jsp/WEB-INF/" includes="**/*.java" />
|
|
|
|
<fileset dir="../jsp/WEB-INF/" includes="**/*.jsp" />
|
|
|
|
</delete>
|
2004-08-05 02:24:00 +00:00
|
|
|
<copy file="../jsp/web.xml" tofile="../jsp/web-out.xml" />
|
|
|
|
<loadfile property="jspc.web.fragment" srcfile="../jsp/web-fragment.xml" />
|
|
|
|
<replace file="../jsp/web-out.xml">
|
|
|
|
<replacefilter token="<!-- precompiled servlets -->" value="${jspc.web.fragment}" />
|
|
|
|
</replace>
|
|
|
|
</target>
|
2008-11-09 15:46:08 +00:00
|
|
|
|
|
|
|
<uptodate property="precompilejsp.uptodate" targetfile="../jsp/web-out.xml">
|
2009-05-20 22:50:14 +00:00
|
|
|
<srcfiles dir= "../jsp" includes="**/*.jsp, **/*.html, *.css, susimail/susimail, web.xml"/>
|
2008-11-09 15:46:08 +00:00
|
|
|
</uptodate>
|
|
|
|
|
2004-07-24 02:06:07 +00:00
|
|
|
<target name="javadoc">
|
|
|
|
<mkdir dir="./build" />
|
|
|
|
<mkdir dir="./build/javadoc" />
|
|
|
|
<javadoc
|
2004-08-24 06:58:05 +00:00
|
|
|
sourcepath="./src:../../../core/java/src:../../../router/java/src:../../systray/java/src" destdir="./build/javadoc"
|
2004-07-24 02:06:07 +00:00
|
|
|
packagenames="*"
|
|
|
|
use="true"
|
|
|
|
splitindex="true"
|
|
|
|
windowtitle="Router Console" />
|
|
|
|
</target>
|
|
|
|
<target name="clean">
|
|
|
|
<delete dir="./build" />
|
2008-11-09 15:46:08 +00:00
|
|
|
<delete dir="../jsp/WEB-INF/" />
|
|
|
|
<delete file="../jsp/web-fragment.xml" />
|
|
|
|
<delete file="../jsp/web-out.xml" />
|
2004-07-24 02:06:07 +00:00
|
|
|
</target>
|
|
|
|
<target name="cleandep" depends="clean">
|
|
|
|
<!-- router will clean core -->
|
2004-08-23 21:32:24 +00:00
|
|
|
<ant dir="../../../router/java/" target="cleandep" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<ant dir="../../systray/java/" target="cleandep" />
|
2004-07-24 02:06:07 +00:00
|
|
|
</target>
|
|
|
|
<target name="distclean" depends="clean">
|
|
|
|
<!-- router will clean core -->
|
|
|
|
<ant dir="../../../router/java/" target="distclean" />
|
2004-08-24 06:58:05 +00:00
|
|
|
<ant dir="../../systray/java/" target="distclean" />
|
2004-07-24 02:06:07 +00:00
|
|
|
</target>
|
|
|
|
</project>
|