42 lines
1.2 KiB
XML
42 lines
1.2 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" source="1.5" 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">
|
|
<link href="${java.javadoc}"/>
|
|
</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: -->
|