automate building of test project for JDT wala tests
This commit is contained in:
parent
43848b6e58
commit
803f664b15
File diff suppressed because one or more lines are too long
|
@ -48,6 +48,25 @@
|
||||||
|
|
||||||
<target name="getSources" depends="fetchJLex" />
|
<target name="getSources" depends="fetchJLex" />
|
||||||
|
|
||||||
|
<target name="testdatadir" depends="init,testdata.exists" unless="testdatadir.present">
|
||||||
|
<mkdir dir="${basedir}/../com.ibm.wala.cast.java.test/testdata"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="testdata.exists" depends="init">
|
||||||
|
<available file="${basedir}/../com.ibm.wala.cast.java.test/testdata"
|
||||||
|
type="dir"
|
||||||
|
property="testdatadir.present"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="compile" depends="getSources">
|
||||||
|
<javac srcdir="${basedir}/src"
|
||||||
|
destdir="${basedir}/bin"
|
||||||
|
excludes="**/Activator.java"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile,testdatadir">
|
||||||
|
<jar destfile="${basedir}/../com.ibm.wala.cast.java.test/testdata/test_project.zip" basedir="${basedir}"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="init" depends="properties">
|
<target name="init" depends="properties">
|
||||||
<condition property="pluginTemp" value="${buildTempFolder}/plugins">
|
<condition property="pluginTemp" value="${buildTempFolder}/plugins">
|
||||||
|
|
Loading…
Reference in New Issue