Changeset 9f57be5 for apps/jetty


Ignore:
Timestamp:
Nov 9, 2008 4:05:13 PM (12 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
c9cef19a
Parents:
1793b057
Message:
  • Jetty: Add a I2PRequestLog class to log request dest hash
Location:
apps/jetty
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/build.xml

    r1793b057 r9f57be5  
    8181    </target>
    8282
    83     <target name="build" depends="ensureJettylib" />
     83    <target name="build" depends="jar" />
    8484    <target name="builddep" />
    85     <target name="compile" />
    86     <target name="jar" />
    87     <target name="clean" />
     85    <target name="compile" depends="builddep, ensureJettylib" >
     86        <mkdir dir="./build" />
     87        <mkdir dir="./build/obj" />
     88        <javac
     89            srcdir="./java/src"
     90            debug="true" deprecation="on" source="1.5" target="1.5"
     91            destdir="./build/obj"
     92            classpath="./jettylib/commons-logging.jar:./jettylib/javax.servlet.jar:./jettylib/org.mortbay.jetty.jar" />
     93    </target>
     94    <target name="jar" depends="compile">
     95        <jar destfile="./jettylib/org.mortbay.jetty.jar" basedir="./build/obj" includes="**/*.class" update="true" >
     96        </jar>
     97    </target>   
     98    <target name="clean" >
     99        <delete dir="./build" />
     100    </target>   
    88101    <target name="cleandep" depends="clean" />
    89102    <target name="distclean" depends="clean">
    90103        <echo message="Not actually deleting the jetty libs (since they're so large)" />
    91104    </target>
     105    <target name="javadoc" >
     106        <available property="jetty.zip.available" file="${jetty.filename}" type="file" />
     107        <available property="jetty.zip.javadocExtracted" file="build/javadoc" type="dir" />
     108        <ant target="fetchJettylib" />
     109        <ant target="verifyJettylib" />
     110        <ant target="extractJavadoc" />
     111    </target>
     112    <target name="extractJavadoc" unless="jetty.zip.javadocExtracted" >
     113        <mkdir dir="./build" />
     114        <mkdir dir="./build/javadoc" />
     115        <unzip src="${jetty.filename}" dest="./build/javadoc" >
     116            <patternset>
     117                <include name="jetty-5.1.12/javadoc/" />
     118            </patternset>
     119            <mapper type="glob" from="jetty-5.1.12/javadoc/*" to="javadoc/*" />
     120        </unzip>
     121    </target>
     122
    92123</project>
Note: See TracChangeset for help on using the changeset viewer.