Changeset 482a63c for build.xml


Ignore:
Timestamp:
Jan 31, 2012 2:03:20 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8ef9009, c62254d
Parents:
252f9cce
Message:

unit test javadocs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    r252f9cce r482a63c  
    4949        <echo message="  justBOB:  generate a standalone BOB-one.jar" />
    5050        <echo message="  javadoc:   generate javadoc for the entire project into ./build/javadoc" />
     51        <echo message="  javadoc-test: Javadocs for unit test classes (build/javadoc-test)" />
    5152        <echo message="  slackpkg:  generate Slackware packages in ./Slackware/i2p and ./Slackware/i2p-base" />
    5253        <echo message="  debianhowto: instructions on building Debian packages" />
     
    400401            <group title="Addressbook Application" packages="net.i2p.addressbook" />
    401402            <group title="BOB Bridge" packages="net.i2p.BOB" />
     403            <group title="BOB Demos" packages="net.i2p.BOB.Demos.echo.echoclient:net.i2p.BOB.Demos.echo.echoserver" />
    402404            <group title="Desktopgui Application" packages="net.i2p.desktopgui:net.i2p.desktopgui.*" />
    403405            <group title="I2PSnark Application" packages="org.klomp.snark:org.klomp.snark.*" />
    404406            <group title="I2PTunnel Application" packages="net.i2p.i2ptunnel:net.i2p.i2ptunnel.*" />
    405407            <group title="SAM Bridge" packages="net.i2p.sam" />
     408            <group title="SAM Demos" packages="net.i2p.sam.client" />
    406409            <group title="SusiDNS Application" packages="i2p.susi.dns" />
    407410            <group title="SusiMail Application" packages="i2p.susi.webmail:i2p.susi.webmail.*:i2p.susi.debug:i2p.susi.util" />
     
    409412            <sourcepath>
    410413                <pathelement location="core/java/src" />
    411                 <!--<pathelement location="core/java/test" />-->
    412414                <pathelement location="router/java/src" />
    413                 <!--<pathelement location="router/java/test" />-->
    414415                <pathelement location="apps/ministreaming/java/src" />
    415416                <pathelement location="apps/streaming/java/src" />
     
    422423                <pathelement location="apps/sam/java/src" />
    423424                <pathelement location="apps/BOB/src" />
     425                <pathelement location="apps/BOB/Demos/echo/echoclient/src" />
     426                <pathelement location="apps/BOB/Demos/echo/echoserver/src" />
    424427                <pathelement location="apps/susidns/src/java/src" />
    425428                <pathelement location="apps/susimail/src/src" />
     
    431434                <pathelement location="apps/jrobin/jrobin-1.5.9.1.jar" />
    432435                <pathelement location="installer/lib/wrapper/all/wrapper.jar" />
    433                 <pathelement location="core/lib/junit.jar" />
    434436            </classpath>
    435437            <!-- These variables are stored in build.properties.
     
    439441            <link offline="true" href="${jrobindocs.url}" packagelistLoc="installer/resources/package-lists/jrobin/" />
    440442            <link offline="true" href="${wrapperdocs.url}" packagelistLoc="installer/resources/package-lists/wrapper/" />
     443        </javadoc>
     444        <echo message="Warning, javadoc embeds timestamps in the output, run with 'TZ=UTC ant javadoc' if you plan to distribute" />
     445    </target>
     446
     447    <target name="javadoc-test" depends="buildRouter, javadoc" >
     448        <mkdir dir="./build" />
     449        <mkdir dir="./build/javadoc-test" />
     450        <javadoc access="package"
     451            destdir="./build/javadoc-test"
     452            packagenames="*"
     453            use="true"
     454            splitindex="true"
     455            doctitle="I2P Unit Test Javadocs for Release ${release.number} Build ${build.number}${build.extra}"
     456            windowtitle="I2P Anonymous Network - Java Documentation - Version ${release.number}">
     457            <group title="Core SDK" packages="net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:net.i2p.internal:net.i2p.internal.*:freenet.support.CPUInformation:org.bouncycastle.crypto:org.bouncycastle.crypto.*:gnu.crypto.*:gnu.gettext:org.xlattice.crypto.filters:com.nettgryppa.security:net.metanotion:net.metanotion.*" />
     458            <group title="Router" packages="net.i2p.router:net.i2p.router.*:net.i2p.data.i2np:org.cybergarage.*:org.freenetproject" />
     459            <sourcepath>
     460                <pathelement location="core/java/test" />
     461                <pathelement location="router/java/test" />
     462            </sourcepath>
     463            <classpath>
     464                <pathelement location="build/i2p.jar" />
     465                <pathelement location="build/router.jar" />
     466                <pathelement location="${ant.home}/lib/junit.jar" />
     467            </classpath>
     468            <!-- These variables are stored in build.properties.
     469                 End-users can override by creating the file override.properties -->
     470            <link offline="true" href="${javasedocs.url}" packagelistLoc="installer/resources/package-lists/java/" />
     471            <link offline="true" href="${junitdocs.url}" packagelistLoc="installer/resources/package-lists/junit/" />
     472            <link offline="true" href="${i2pdocs.url}" packagelistLoc="build/javadoc/" />
    441473        </javadoc>
    442474        <echo message="Warning, javadoc embeds timestamps in the output, run with 'TZ=UTC ant javadoc' if you plan to distribute" />
Note: See TracChangeset for help on using the changeset viewer.