Changeset bd6c63cc for build.xml


Ignore:
Timestamp:
Dec 6, 2008 12:11:13 AM (12 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
703b6ed1, 819d857
Parents:
7dbb13d
Message:

add findbugs target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    r7dbb13d rbd6c63cc  
    443443        <copy file="apps/i2psnark/java/i2psnark-standalone.zip" todir="." />
    444444    </target>
     445    <target name="findbugs" depends="build2">
     446        <echo message="Starting findbugs, this will take a while..." />
     447        <exec executable="nice">
     448            <arg value="findbugs"/>
     449            <arg value="-textui"/>
     450            <arg value="-projectName"/>
     451            <arg value="i2p"/>
     452            <arg value="-sortByClass"/>
     453            <arg value="-xml"/>
     454            <arg value="-output"/>
     455            <arg value="findbugs.xml"/>
     456            <arg value="-auxclasspath"/>
     457            <arg value="build/ant.jar:build/commons-el.jar:build/commons-logging.jar:build/jasper-compiler.jar:build/jasper-runtime.jar:build/javax.servlet.jar:build/org.mortbay.jetty.jar:apps/jrobin/jrobin-1.4.0.jar:apps/systray/java/lib/systray4j.jar:installer/lib/wrapper/linux/wrapper.jar:build/xercesImpl.jar"/>
     458            <arg value="-sourcepath"/>
     459            <arg value="apps/BOB/src/:apps/addressbook/java/src/:apps/i2psnark/java/src/:apps/i2ptunnel/java/src/:apps/ministreaming/java/src/:apps/routerconsole/java/src/:apps/sam/java/src/:apps/streaming/java/src/:apps/susidns/src/java/src/:apps/susimail/src/src/:apps/systray/java/src/:core/java/src/:router/java/src/"/>
     460            <!-- start of the files to be analyzed -->
     461            <arg value="build/BOB.jar"/>
     462            <arg value="build/addressbook.war"/>
     463            <arg value="build/i2p.jar"/>
     464            <arg value="build/i2psnark.jar"/>
     465            <arg value="build/i2psnark.war"/>
     466            <arg value="build/i2ptunnel.jar"/>
     467            <arg value="build/i2ptunnel.war"/>
     468            <arg value="build/jbigi.jar"/>
     469            <arg value="build/mstreaming.jar"/>
     470            <arg value="build/router.jar/"/>
     471            <!-- use the class files rather than the jar for routerconsole so we don't analyze jrobin -->
     472            <arg value="apps/routerconsole/java/build/obj/"/>
     473            <arg value="build/sam.jar"/>
     474            <arg value="build/streaming.jar"/>
     475            <arg value="build/susidns.war"/>
     476            <arg value="build/susimail.war"/>
     477            <arg value="build/systray.jar"/>
     478        </exec>
     479        <echo message="Findbugs output stored in findbugs.xml" />
     480    </target>
    445481</project>
Note: See TracChangeset for help on using the changeset viewer.