mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
2403: comments and rename the temp jar file
This commit is contained in:
parent
60ab75240a
commit
e2a4ccd81f
@ -15,24 +15,26 @@
|
|||||||
<fail message="Missing required argument: nsrl_path" unless="nsrl_path"/>
|
<fail message="Missing required argument: nsrl_path" unless="nsrl_path"/>
|
||||||
<fail message="Missing required argument: keyword_path" unless="keyword_path"/>
|
<fail message="Missing required argument: keyword_path" unless="keyword_path"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- use manifestclasspath (http://ant.apache.org/manual/Tasks/manifestclasspath.html) to put all the jar files that we need for junit/regression test
|
||||||
|
to a single jar file: allJarsInUse.jar. Then we put this new jar to classpath for testing program to avoid command line Java classpath too long problem. -->
|
||||||
<target name="manifest-classpath">
|
<target name="manifest-classpath">
|
||||||
<manifestclasspath property="tem.classpath" jarfile="parthing.jar">
|
<manifestclasspath property="tem.classpath" jarfile="allJarsInUse.jar">
|
||||||
<classpath refid="test.${regression}.run.cp"/>
|
<classpath refid="test.${regression}.run.cp"/>
|
||||||
</manifestclasspath>
|
</manifestclasspath>
|
||||||
<jar destfile="pathing.jar" basedir="build/classes">
|
<jar destfile="allJarsInUse.jar" basedir="build/classes">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Class-Path" value="${tem.classpath}"/>
|
<attribute name="Class-Path" value="${tem.classpath}"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
<path id="test.classpath">
|
<path id="test.classpath">
|
||||||
<pathelement path="pathing.jar"/>
|
<pathelement path="allJarsInUse.jar"/>
|
||||||
</path>
|
</path>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="regression-test" depends="check-args,init,test-init,test-build, manifest-classpath" if="exists.test.qa-functional.src.dir">
|
<target name="regression-test" depends="check-args,init,test-init,test-build, manifest-classpath" if="exists.test.qa-functional.src.dir">
|
||||||
<test test.type="${regression}"/>
|
<test test.type="${regression}"/>
|
||||||
<delete file="pathing.jar"/>
|
<delete file="allJarsInUse.jar"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<macrodef name="test">
|
<macrodef name="test">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user