-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.xml
More file actions
21 lines (20 loc) · 942 Bytes
/
Copy pathbuild.xml
File metadata and controls
21 lines (20 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<project name="JsonMarshaller Japex" default="run" basedir=".">
<property name="japexConfig" value="src/conf/japex-config.xml" />
<!-- create class.path -->
<path id="class.path">
<pathelement location="target/classes" />
<pathelement location="target/test-classes" />
<!-- when running ant from the command line this location provides the ant.jar-->
<pathelement location="${ant.core.lib}"/>
<!-- when running from maven this path provides the ant.jar-->
<pathelement path="${maven.plugin.classpath}"/>
<fileset dir="target/dependency/" includes="*.jar" />
</path>
<target name="run">
<echo>running...</echo>
<java dir="." fork="true" classname="com.sun.japex.Japex">
<classpath refid="class.path" />
<arg line="-last -line -merge ${japexConfig}/" />
</java>
</target>
</project>