6 |
<property name="build" location="./build/"/> |
<property name="build" location="./build/"/> |
7 |
<property name="dep" location="../fenfire-depends"/> |
<property name="dep" location="../fenfire-depends"/> |
8 |
<property name="releasetag" value="snapshot"/> |
<property name="releasetag" value="snapshot"/> |
9 |
|
<property name="test" value="org"/> |
10 |
|
|
11 |
<!-- A filename can be passed to Loom at startup by |
<!-- A filename can be passed to Loom at startup by |
12 |
overriding this property --> |
overriding this property --> |
13 |
<property name="file" value=""/> |
<property name="file" value=""/> |
14 |
|
|
15 |
|
<property name="pythonpath" value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:.:../libvob/"/> |
16 |
|
|
17 |
<target name="fenfire" depends="compile,test" |
<target name="fenfire" depends="compile,test" |
18 |
description="Compile and test Fenfire"> |
description="Compile and test Fenfire"> |
19 |
</target> |
</target> |
31 |
<rmic base="${build}" includes="**/PPActionsImpl*.class"/> |
<rmic base="${build}" includes="**/PPActionsImpl*.class"/> |
32 |
</target> |
</target> |
33 |
|
|
34 |
<target name="test"> |
<target name="test" depends="test-awt,test-gl"/> |
35 |
|
|
36 |
|
<target name="test-awt"> |
37 |
<java classname="org.python.util.jython" fork="true" |
<java classname="org.python.util.jython" fork="true" |
38 |
failonerror="true"> |
failonerror="true"> |
39 |
<arg value="org/fenfire/test/test.py"/> |
<arg value="org/fenfire/test/test.py"/> |
40 |
<arg value="org"/> |
<arg value="${test}"/> |
41 |
|
<sysproperty key="python.path" value="${pythonpath}"/> |
42 |
|
<classpath refid="theClassPath"/> |
43 |
|
</java> |
44 |
|
</target> |
45 |
|
|
46 |
|
<target name="test-gl"> |
47 |
|
<java classname="org.python.util.jython" fork="true" |
48 |
|
failonerror="true"> |
49 |
|
<sysproperty key="vob.api" value="gl"/> |
50 |
|
<env key="LD_LIBRARY_PATH" value="../libvob/src/jni"/> |
51 |
|
<arg value="org/fenfire/test/test.py"/> |
52 |
|
<arg value="${test}"/> |
53 |
<sysproperty key="python.path" |
<sysproperty key="python.path" |
54 |
value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:."/> |
value="${pythonpath}"/> |
55 |
<classpath refid="theClassPath"/> |
<classpath refid="theClassPath"/> |
56 |
</java> |
</java> |
57 |
</target> |
</target> |
60 |
<java classname="org.python.util.jython" fork="true" |
<java classname="org.python.util.jython" fork="true" |
61 |
failonerror="true"> |
failonerror="true"> |
62 |
<sysproperty key="python.path" |
<sysproperty key="python.path" |
63 |
value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:."/> |
value="${pythonpath}"/> |
64 |
<classpath refid="theClassPath"/> |
<classpath refid="theClassPath"/> |
65 |
</java> |
</java> |
66 |
</target> |
</target> |
67 |
|
|
68 |
<target name="run"> |
<target name="run-awt"> |
69 |
<java classname="org.fenfire.loom.Loom" fork="true"> |
<java classname="org.fenfire.loom.Loom" fork="true"> |
70 |
<arg value="${file}"/> |
<arg value="${file}"/> |
71 |
<classpath refid="theClassPath"/> |
<classpath refid="theClassPath"/> |
72 |
</java> |
</java> |
73 |
</target> |
</target> |
74 |
|
|
75 |
<target name="rungl"> |
<target name="run-gl"> |
76 |
<java classname="org.fenfire.loom.Loom" fork="true"> |
<java classname="org.fenfire.loom.Loom" fork="true"> |
77 |
<sysproperty key="vob.api" value="gl"/> |
<sysproperty key="vob.api" value="gl"/> |
78 |
<env key="LD_LIBRARY_PATH" value="../libvob/src/jni"/> |
<env key="LD_LIBRARY_PATH" value="../libvob/src/jni"/> |