Changeset 6cc39a2 for apps


Ignore:
Timestamp:
Apr 7, 2019 6:09:04 PM (20 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
6aeb89c
Parents:
cca68f9
Message:

Build: Fix up javadoc targets in sub-build.xml files for maven central

Location:
apps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/build.xml

    rcca68f9 r6cc39a2  
    529529        </jar>
    530530    </target>   
     531
    531532    <target name="servletJavadoc">
    532533        <mkdir dir="./build" />
    533534        <mkdir dir="./build/servlet-i2p-javadoc" />
    534         <javadoc
    535             sourcepath="./java/src:../../core/java/src" destdir="./build/servlet-i2p-javadoc"
    536             packagenames="net.i2p.servlet.filters.*"
     535        <javadoc access="package"
     536            source="${javac.version}"
     537            destdir="./build/servlet-i2p-javadoc"
     538            packagenames="*"
    537539            use="true"
    538540            splitindex="true"
    539             windowtitle="I2P Servlet classes" />
    540     </target>
     541            failonerror="true"
     542            additionalparam="-notimestamp"
     543            doctitle="I2P Javadocs for Release ${release.number} Build ${i2p.build.number}${build.extra}"
     544            windowtitle="I2P Anonymous Network - Java Documentation - Version ${release.number}">
     545            <group title="Jetty Utilities" packages="*" />
     546            <sourcepath>
     547                <pathelement location="./java/src" />
     548            </sourcepath>
     549            <classpath>
     550                <pathelement location="../../core/java/build/i2p.jar" />
     551                <pathelement location="./jettylib/org.mortbay.jetty.jar" />
     552                <pathelement location="./jettylib/javax.servlet.jar" />
     553                <pathelement location="./jettylib/jetty-http.jar" />
     554                <pathelement location="./jettylib/jetty-io.jar" />
     555                <pathelement location="./jettylib/jetty-security.jar" />
     556                <pathelement location="./jettylib/jetty-servlet.jar" />
     557                <pathelement location="./jettylib/jetty-util.jar" />
     558                <pathelement location="./jettylib/jetty-xml.jar" />
     559                <!-- following are only for debian builds -->
     560                <pathelement location="../../core/java/build/libintl.jar" />
     561                <pathelement location="../../core/java/build/gnu-getopt.jar" />
     562                <pathelement location="../../core/java/build/json-simple.jar" />
     563            </classpath>
     564            <!-- These variables are stored in build.properties.
     565                  End-users can override by creating the file override.properties -->
     566            <link offline="true" href="${javasedocs.url}" packagelistLoc="../../installer/resources/package-lists/java/" />
     567            <link offline="true" href="${javaeedocs.url}" packagelistLoc="../../installer/resources/package-lists/javaee/" />
     568            <link offline="true" href="${jettydocs.url}" packagelistLoc="../../installer/resources/package-lists/jetty/" />
     569            <link offline="true" href="${wrapperdocs.url}" packagelistLoc="../../installer/resources/package-lists/wrapper/" />
     570        </javadoc>
     571    </target>
     572
    541573    <target name="servletJavadocJar" depends="servletJavadoc">
    542574        <jar jarfile="./build/servlet-i2p-${release.number}-javadoc.jar">
     
    544576        </jar>
    545577    </target>
     578
    546579    <target name="servletSourcesJar">
    547580        <jar jarfile="./build/servlet-i2p-${release.number}-sources.jar">
  • apps/ministreaming/java/build.xml

    rcca68f9 r6cc39a2  
    152152        <mkdir dir="./build" />
    153153        <mkdir dir="./build/javadoc" />
    154         <javadoc
    155             sourcepath="./src:../../../core/java/src:../../../core/java/test" destdir="./build/javadoc"
    156             packagenames="*"
    157             use="true"
    158             splitindex="true"
    159             windowtitle="I2P ministreaming library" />
     154        <javadoc access="package"
     155            source="${javac.version}"
     156            destdir="./build/javadoc"
     157            packagenames="*"
     158            use="true"
     159            splitindex="true"
     160            failonerror="true"
     161            additionalparam="-notimestamp"
     162            doctitle="I2P Javadocs for Release ${release.number} Build ${i2p.build.number}${build.extra}"
     163            windowtitle="I2P Anonymous Network - Java Documentation - Version ${release.number}">
     164            <group title="Streaming Library API" packages="*" />
     165            <sourcepath>
     166                <pathelement location="./src" />
     167            </sourcepath>
     168            <classpath>
     169                <pathelement location="../../../core/java/build/i2p.jar" />
     170                <!-- following are only for debian builds -->
     171                <pathelement location="../../../core/java/build/libintl.jar" />
     172                <pathelement location="../../../core/java/build/gnu-getopt.jar" />
     173            </classpath>
     174            <!-- These variables are stored in build.properties.
     175                  End-users can override by creating the file override.properties -->
     176            <link offline="true" href="${javasedocs.url}" packagelistLoc="../../../installer/resources/package-lists/java/" />
     177            <link offline="true" href="${javaeedocs.url}" packagelistLoc="../../../installer/resources/package-lists/javaee/" />
     178            <link offline="true" href="${jettydocs.url}" packagelistLoc="../../../installer/resources/package-lists/jetty/" />
     179            <link offline="true" href="${wrapperdocs.url}" packagelistLoc="../../../installer/resources/package-lists/wrapper/" />
     180        </javadoc>
    160181    </target>
    161182
  • apps/streaming/java/build.xml

    rcca68f9 r6cc39a2  
    238238        <jar destfile="./build/streaming.jar" basedir="./build/obj" includes="**/*Test*.class" update="true" />
    239239    </target>
     240
    240241    <target name="javadoc">
    241242        <mkdir dir="./build" />
    242243        <mkdir dir="./build/javadoc" />
    243         <javadoc
    244             sourcepath="./src:../../../core/java/src:../../ministreaming/java/src" destdir="./build/javadoc"
     244        <javadoc access="package"
     245            source="${javac.version}"
     246            destdir="./build/javadoc"
    245247            packagenames="*"
    246248            use="true"
    247249            splitindex="true"
    248             windowtitle="Streaming" />
     250            failonerror="true"
     251            additionalparam="-notimestamp"
     252            doctitle="I2P Javadocs for Release ${release.number} Build ${i2p.build.number}${build.extra}"
     253            windowtitle="I2P Anonymous Network - Java Documentation - Version ${release.number}">
     254            <group title="Streaming Library Implementation" packages="*" />
     255            <sourcepath>
     256                <pathelement location="./src" />
     257            </sourcepath>
     258            <classpath>
     259                <pathelement location="../../../core/java/build/i2p.jar" />
     260                <pathelement location="../../ministreaming/java/build/mstreaming.jar" />
     261                <!-- following are only for debian builds -->
     262                <pathelement location="../../../core/java/build/libintl.jar" />
     263                <pathelement location="../../../core/java/build/gnu-getopt.jar" />
     264            </classpath>
     265            <!-- These variables are stored in build.properties.
     266                  End-users can override by creating the file override.properties -->
     267            <link offline="true" href="${javasedocs.url}" packagelistLoc="../../../installer/resources/package-lists/java/" />
     268            <link offline="true" href="${javaeedocs.url}" packagelistLoc="../../../installer/resources/package-lists/javaee/" />
     269            <link offline="true" href="${jettydocs.url}" packagelistLoc="../../../installer/resources/package-lists/jetty/" />
     270            <link offline="true" href="${wrapperdocs.url}" packagelistLoc="../../../installer/resources/package-lists/wrapper/" />
     271        </javadoc>
    249272    </target>
    250273
     
    255278        </jar>
    256279    </target>
     280
    257281    <target name="sourcesJar">
    258282        <jar jarfile="./build/streaming-${release.number}-sources.jar">
Note: See TracChangeset for help on using the changeset viewer.