build-main.xml 1000 Bytes
Newer Older
1 2
<project name="AsmDexMain" default="jar">
	<property file="build.properties"/>
3
	<property name="findbugs.location" value="${findbugs.home}/lib/findbugs-ant.jar"/>
4 5 6 7 8 9 10 11 12 13 14
	<import file="build.xml"/>


	
	<target name="jar" depends="AsmDex.init,AsmDex.build">
		<jar jarfile="asmdex.jar">
			<fileset dir="bin"/>
		</jar>
	</target>
	
	<target name="findbugs" depends="jar">
15 16 17 18 19 20
		<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask">
			<classpath>
	        	<pathelement location="${findbugs.location}"/>
			</classpath>
	    </taskdef>

21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
	    <findbugs home="${findbugs.home}"
	              output="xml"
	    		  excludeFilter="exclude.xml"
	              outputFile="asmdex-fb.xml" >
	      <auxClasspath>
	        <path refid="AsmDex.classpath"/>
	      </auxClasspath>
	      <sourcePath path="${basedir}/src" />
	      <class location="${basedir}/bin" />
	    </findbugs>		
	</target>
	
	<target name="javadoc">
		<javadoc sourcepath="src" destdir="apidoc"/>
	</target>
</project>