Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > baa5c5fc15bd439f9b345e0be13777b4 > files > 10

json_simple-1.1-3.fc15.i686.rpm

<project name="json-simple" default="main" basedir=".">	
	<path id="runtime.path">
		<fileset dir="lib">
			<include name="*.jar"/>
		</fileset>
		<pathelement location="build/test"/>
	</path>
	
	<path id="compile.path">
			<fileset dir="lib">
				<include name="*.jar"/>
			</fileset>
	</path>
	
	<target name="main" depends="mkdir,compile,junit">
	</target>
	
	<target name="clean">
		<delete includeemptydirs="true">
		    <fileset dir="build/test" includes="**/*"/>
			<fileset dir="." includes="TEST-*.txt"/>
		 </delete>
	</target>
	
	<target name="mkdir">
        <mkdir dir="build/test"/>
	</target>
	
	<target name="compile">
		<javac 	srcdir="test" 
				destdir="build/test"
				includes="**/*.java"
				encoding="UTF-8"
				target="1.2"
				source="1.2">
			<classpath refid="compile.path"/>
		</javac>
	</target>
	
	<target name="junit">
		<junit>
			<classpath refid="runtime.path"/>
			<formatter type="plain"/>
			<test name="org.json.simple.Test"/>
			<test name="org.json.simple.parser.YylexTest"/>
		</junit>
	</target>
</project>