[infer][java] revive the small example of Ant project

Summary:
Fix the build.xml so that we can have a working example of an Ant project that we can analyze with Infer
master
jrm 9 years ago
parent 7821266c8f
commit 204c585abf

1
.gitignore vendored

@ -39,7 +39,6 @@ org.eclipse.core.resources.prefs
.DS_Store .DS_Store
# Directories and files generated by Infer # Directories and files generated by Infer
infer-out/
*.o.astlog *.o.astlog
*.o.sh *.o.sh
infer-sources.tar.gz infer-sources.tar.gz

@ -0,0 +1,20 @@
<project default="compile">
<target name="clean">
<delete dir="ant_out"/>
</target>
<target name="compile">
<mkdir dir="ant_out"/>
<javac srcdir="codetoanalyze/java/infer" destdir="ant_out" includeantruntime="false">
<bootclasspath>
<pathelement location="../lib/java/android/android-19.jar"/>
</bootclasspath>
<classpath>
<pathelement location="../../dependencies/java/jackson/jackson-2.2.3.jar"/>
<pathelement location="../lib/java/models.jar"/>
</classpath>
</javac>
</target>
</project>

@ -1,21 +0,0 @@
<project default="compile">
<target name="clean">
<delete dir="ant_out"/>
</target>
<target name="compile">
<mkdir dir="ant_out"/>
<javac srcdir="." destdir="ant_out" includeantruntime="false">
<bootclasspath>
<pathelement location="../../../../lib/java/android/android-19.jar"/>
<pathelement location="../../../../lib/java/models.jar"/>
</bootclasspath>
<classpath>
<pathelement location="../../../dependencies/java/jackson/jackson-2.2.3.jar"/>
<pathelement location="../../../../../dependencies/java/jackson/jackson-2.2.3.jar"/>
</classpath>
</javac>
</target>
</project>
Loading…
Cancel
Save