source: apps/jetty/build.xml @ d807129

Last change on this file since d807129 was d807129, checked in by zzz <zzz@…>, 15 years ago

2005-11-29 jrandom

  • 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.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project basedir="." default="all" name="jetty">
3       
4    <target name="all" depends="build" />
5    <target name="fetchJettylib" >
6        <available property="jetty.available" file="jetty-5.1.6.zip" />
7        <ant target="doFetchJettylib" />
8    </target>
9    <target name="doFetchJettylib" unless="jetty.available" >
10        <echo message="The libraries contained within the fetched file are from Jetty's 5.1.6" />
11        <echo message="distribution (http://jetty.mortbay.org/).  These are not " />
12        <echo message="necessary for using I2P, but are used by some applications on top of I2P," />
13        <echo message="such as the routerconsole." />
14        <get src="http://mesh.dl.sourceforge.net/sourceforge/jetty/jetty-5.1.6.zip" verbose="true" dest="jetty-5.1.6.zip" />
15        <ant target="doExtract" />
16    </target>
17    <target name="doExtract">
18        <unzip src="jetty-5.1.6.zip" dest="." />
19        <mkdir dir="jettylib" />
20        <copy todir="jettylib">
21            <fileset dir="jetty-5.1.6/lib">
22                <include name="*.jar" />
23            </fileset>
24        </copy>
25        <copy todir="jettylib">
26            <fileset dir="jetty-5.1.6/ext">
27                <include name="ant.jar" />
28                <include name="commons-el.jar" />
29                <include name="commons-logging.jar" />
30                <include name="jasper-compiler.jar" />
31                <include name="jasper-runtime.jar" />
32                <include name="javax.servlet.jar" />
33                <include name="org.mortbay.jetty.jar" />
34                <include name="xercesImpl.jar" />
35            </fileset>
36        </copy>
37        <delete dir="jetty-5.1.6" />
38    </target>
39    <target name="build" depends="fetchJettylib" />
40    <target name="builddep" />
41    <target name="compile" />
42    <target name="jar" />
43    <target name="clean" />
44    <target name="cleandep" depends="clean" />
45    <target name="distclean" depends="clean">
46        <echo message="Not actually deleting the jetty libs (since they're so large)" />
47    </target>
48</project>
Note: See TracBrowser for help on using the repository browser.