CBL-Mariner/SPECS/jsr-305/jsr-305-ri-build.xml

41 строка
1.1 KiB
XML

<project name="JSR305-ri" default="build">
<target name="build" depends="clean,classes,jar,javadoc"/>
<target name="classes">
<mkdir dir="src/main/java"/>
<javac destdir="src/main/java" debug="on">
<src path="src/main/java"/>
<classpath>
<pathelement location="src/main/java"/>
</classpath>
</javac>
</target>
<target name="jar" depends="classes">
<jar destfile="jsr-305-${version}.jar" basedir="src/main/java">
</jar>
</target>
<target name="javadoc">
<mkdir dir="javadoc"/>
<javadoc packagenames="javax.annotation.*"
sourcepath="src/main/java"
defaultexcludes="yes"
destdir="javadoc"
version="true"
use="true"
windowtitle="JSR 305: Annotations for Software Defect Detection in Java">
</javadoc>
</target>
<target name="clean">
<fileset dir="src/main/java" includes="**/*.class"/>
<fileset dir="." includes="jsr-305-${version}.jar"/>
<delete dir="javadoc"/>
</target>
</project>
<!-- vim:set ts=4: -->