forked from unclebob/CC_SMC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
23 lines (20 loc) · 673 Bytes
/
build.xml
File metadata and controls
23 lines (20 loc) · 673 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<project default="run">
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes" source="11" target="11" fork="true"/>
</target>
<target name="jar" depends="compile">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/smc.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="smc.SMC"/>
</manifest>
</jar>
</target>
<target name="run" depends="jar">
<java jar="build/jar/smc.jar" fork="true"/>
</target>
</project>