3 |
<project name="fenfire" basedir="." default="fenfire"> |
<project name="fenfire" basedir="." default="fenfire"> |
4 |
|
|
5 |
<property name="src" location="${basedir}"/> |
<property name="src" location="${basedir}"/> |
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 |
|
|
18 |
<target name="compile"> |
<target name="compile"> |
19 |
<mkdir dir="${build}"/> |
<mkdir dir="${build}"/> |
20 |
<javac srcdir="${src}" destdir="${build}"> |
<javac srcdir="${src}" destdir="${build}"> |
21 |
<classpath refid="depends.path"/> |
<classpath refid="theClassPath"/> |
22 |
</javac> |
</javac> |
23 |
</target> |
</target> |
24 |
|
|
29 |
<arg value="org"/> |
<arg value="org"/> |
30 |
<sysproperty key="python.path" |
<sysproperty key="python.path" |
31 |
value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:."/> |
value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:."/> |
32 |
<classpath refid="depends.path"/> |
<classpath refid="theClassPath"/> |
33 |
</java> |
</java> |
34 |
</target> |
</target> |
35 |
|
|
38 |
failonerror="true"> |
failonerror="true"> |
39 |
<sysproperty key="python.path" |
<sysproperty key="python.path" |
40 |
value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:."/> |
value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:."/> |
41 |
<classpath refid="depends.path"/> |
<classpath refid="theClassPath"/> |
42 |
</java> |
</java> |
43 |
</target> |
</target> |
44 |
|
|
45 |
<target name="run"> |
<target name="run"> |
46 |
<java classname="org.fenfire.loom.Loom" fork="true"> |
<java classname="org.fenfire.loom.Loom" fork="true"> |
47 |
<arg value="${file}"/> |
<arg value="${file}"/> |
48 |
<classpath refid="depends.path"/> |
<classpath refid="theClassPath"/> |
49 |
</java> |
</java> |
50 |
</target> |
</target> |
51 |
|
|
52 |
<target name="rmi"> |
<target name="rmi" depends="compile"> |
53 |
<rmic base="$(build)" includes="**/PPAction*.class"/> |
<rmic base="${build}" includes="**/PPAction*.class"/> |
54 |
</target> |
</target> |
55 |
|
|
56 |
<target name="jar" depends="clean,fenfire,jar-only"/> |
<target name="jar" depends="clean,fenfire,jar-only"/> |
114 |
</delete> |
</delete> |
115 |
</target> |
</target> |
116 |
|
|
117 |
|
<path id="theClassPath"> |
118 |
|
<path refid="develPath"/> |
119 |
|
</path> |
120 |
|
|
121 |
<path id="depends.path"> |
<path id="cannedPath"> |
122 |
<pathelement path="${classpath}"/> |
<pathelement path="${classpath}"/> |
123 |
<pathelement location="build/"/> |
<pathelement location="build/"/> |
124 |
<pathelement location="lib/libvob.jar"/> |
<pathelement location="lib/libvob.jar"/> |
125 |
|
<path refid="depends.path"/> |
126 |
|
</path> |
127 |
|
|
128 |
|
<path id="develPath"> |
129 |
|
<pathelement path="${classpath}"/> |
130 |
|
<pathelement location="build/"/> |
131 |
|
<pathelement location="../storm/CLASSES"/> |
132 |
|
<pathelement location="../alph/CLASSES"/> |
133 |
|
<pathelement location="../libvob/CLASSES"/> |
134 |
|
<path refid="depends.path"/> |
135 |
|
</path> |
136 |
|
|
137 |
|
<!-- The path of the .jars in depends. Used as a "subroutine" |
138 |
|
by the real paths. |
139 |
|
--> |
140 |
|
<path id="depends.path"> |
141 |
<pathelement location="${dep}/jython.jar"/> |
<pathelement location="${dep}/jython.jar"/> |
142 |
<pathelement location="${dep}/jena.jar"/> |
<pathelement location="${dep}/jena.jar"/> |
143 |
<pathelement location="${dep}/icu4j.jar"/> |
<pathelement location="${dep}/icu4j.jar"/> |