-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
32 lines (27 loc) · 829 Bytes
/
build.xml
File metadata and controls
32 lines (27 loc) · 829 Bytes
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
<project name="StaticAnalysis" default="run" basedir=".">
<property name="lib.dir" value="lib"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
<!-- Generate folders -->
<target name="init">
<mkdir dir="build/classes" />
</target>
<!-- Compiling -->
<target name="compile" depends="init">
<javac srcdir="src" destdir="build/classes" classpathref="classpath"/>
</target>
<!-- Run jar-archive -->
<target name="run" depends="compile">
<java classname="org.mapster.ast.Main">
<classpath>
<path refid="classpath"/>
<path location="build/classes"/>
</classpath>
</java>
</target>
<!-- Delete created files -->
<target name="clean">
<delete dir="build" />
</target>
</project>