Ignore:
Timestamp:
May 2, 2017 1:05:31 PM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
1e9c688
Parents:
d27d0603
Message:

Package I2P servlet classes for Maven Central

RequestWrapper? and its dependencies are excluded to avoid classpath issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/build.xml

    rd27d0603 re390e67  
    439439    </target>
    440440
     441    <!-- for Maven Central -->
     442    <target name="servletJar" depends="compile" >
     443        <!-- set if unset -->
     444        <jar destfile="./build/servlet-i2p-${release.number}.jar" basedir="./build/obj" includes="net/i2p/servlet/filters/*.class" >
     445            <manifest>
     446                <attribute name="Specification-Title" value="I2P Servlet classes" />
     447                <attribute name="Specification-Version" value="${release.number}" />
     448                <attribute name="Specification-Vendor" value="The I2P Project https://geti2p.net/" />
     449                <attribute name="Implementation-Title" value="I2P Java Servlet classes" />
     450                <attribute name="Implementation-Version" value="${full.version}" />
     451                <attribute name="Implementation-Vendor" value="The I2P Project https://geti2p.net/" />
     452                <attribute name="Built-By" value="${build.built-by}" />
     453                <attribute name="Build-Date" value="${build.timestamp}" />
     454                <attribute name="Base-Revision" value="${workspace.version}" />
     455                <attribute name="X-Compile-Source-JDK" value="${javac.version}" />
     456                <attribute name="X-Compile-Target-JDK" value="${javac.version}" />
     457            </manifest>
     458        </jar>
     459    </target>   
     460    <target name="servletJavadoc">
     461        <mkdir dir="./build" />
     462        <mkdir dir="./build/servlet-i2p-javadoc" />
     463        <javadoc
     464            sourcepath="./java/src:../../core/java/src" destdir="./build/servlet-i2p-javadoc"
     465            packagenames="net.i2p.servlet.filters.*"
     466            use="true"
     467            splitindex="true"
     468            windowtitle="I2P Servlet classes" />
     469    </target>
     470    <target name="servletJavadocJar" depends="servletJavadoc">
     471        <jar jarfile="./build/servlet-i2p-${release.number}-javadoc.jar">
     472            <fileset dir="./build/servlet-i2p-javadoc" />
     473        </jar>
     474    </target>
     475    <target name="servletSourcesJar">
     476        <jar jarfile="./build/servlet-i2p-${release.number}-sources.jar">
     477            <fileset dir="./java/src" includes="net/i2p/servlet/filters/**" />
     478        </jar>
     479    </target>
     480
    441481</project>
Note: See TracChangeset for help on using the changeset viewer.