forked from I2P_Developers/i2p.i2p
* Further Syndie UI cleanup
* Bundled our patched MultiPartRequest code from jetty (APL2 licensed),
since it hasn't been applied to the jetty CVS yet [1]. Its packaged
into syndie.jar and renamed to net.i2p.syndie.web.MultiPartRequest, but
will be removed as soon as its integrated into Jetty. This patch allows
posting content in various character sets.
[1] http://article.gmane.org/gmane.comp.java.jetty.general/6031
* Upgraded new installs to the latest stable jetty (5.1.6), though this
isn't pushed as part of the update yet, as there aren't any critical
bugs.
49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project basedir="." default="all" name="jetty">
|
|
|
|
<target name="all" depends="build" />
|
|
<target name="fetchJettylib" >
|
|
<available property="jetty.available" file="jetty-5.1.6.zip" />
|
|
<ant target="doFetchJettylib" />
|
|
</target>
|
|
<target name="doFetchJettylib" unless="jetty.available" >
|
|
<echo message="The libraries contained within the fetched file are from Jetty's 5.1.6" />
|
|
<echo message="distribution (http://jetty.mortbay.org/). These are not " />
|
|
<echo message="necessary for using I2P, but are used by some applications on top of I2P," />
|
|
<echo message="such as the routerconsole." />
|
|
<get src="http://mesh.dl.sourceforge.net/sourceforge/jetty/jetty-5.1.6.zip" verbose="true" dest="jetty-5.1.6.zip" />
|
|
<ant target="doExtract" />
|
|
</target>
|
|
<target name="doExtract">
|
|
<unzip src="jetty-5.1.6.zip" dest="." />
|
|
<mkdir dir="jettylib" />
|
|
<copy todir="jettylib">
|
|
<fileset dir="jetty-5.1.6/lib">
|
|
<include name="*.jar" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="jettylib">
|
|
<fileset dir="jetty-5.1.6/ext">
|
|
<include name="ant.jar" />
|
|
<include name="commons-el.jar" />
|
|
<include name="commons-logging.jar" />
|
|
<include name="jasper-compiler.jar" />
|
|
<include name="jasper-runtime.jar" />
|
|
<include name="javax.servlet.jar" />
|
|
<include name="org.mortbay.jetty.jar" />
|
|
<include name="xercesImpl.jar" />
|
|
</fileset>
|
|
</copy>
|
|
<delete dir="jetty-5.1.6" />
|
|
</target>
|
|
<target name="build" depends="fetchJettylib" />
|
|
<target name="builddep" />
|
|
<target name="compile" />
|
|
<target name="jar" />
|
|
<target name="clean" />
|
|
<target name="cleandep" depends="clean" />
|
|
<target name="distclean" depends="clean">
|
|
<echo message="Not actually deleting the jetty libs (since they're so large)" />
|
|
</target>
|
|
</project>
|