forked from oripa/oripa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
38 lines (34 loc) · 1.15 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="compile" name="oripa">
<property name="jar.version" value="0.36"/>
<property name="java.dir" value="src/main/java"/>
<property name="resources.dir" value="src/main/resources"/>
<property name="build.dir" value="bin/classes"/>
<target name="clean">
<delete dir="bin" />
</target>
<target name="compile">
<mkdir dir="${build.dir}"/>
<javac destdir="${build.dir}" debug="true" failonerror="true">
<src path="${java.dir}"/>
<!--<classpath refid="master-classpath"/>-->
</javac>
</target>
<target name="jar" depends="compile">
<jar jarfile="bin/oripa-${jar.version}.jar">
<fileset dir="${build.dir}" />
<fileset dir="${resources.dir}"/>
<manifest>
<attribute name="Main-Class" value="oripa.ORIPA"/>
</manifest>
</jar>
</target>
<target name="ORIPA">
<java classname="oripa.ORIPA" failonerror="true" fork="yes">
<classpath refid="run.ORIPA.classpath" />
<bootclasspath>
<path refid="run.ORIPA.bootclasspath" />
</bootclasspath>
</java>
</target>
</project>