- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
Latest commit
32 lines (26 loc) · 984 Bytes
/
Copy pathbuild.xml
File metadata and controls
32 lines (26 loc) · 984 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
<?xml version="1.0"?>
<projectname="SimpleAPI-Java"default="main"basedir=".">
<!-- Values can be accessed via ${name} -->
<propertyname="src.dir"location="src" />
<propertyname="build.dir"location="bin" />
<propertyname="dist.dir"location="dist" />
<propertyname="dist.jarname"value="simpleapi.jar" />
<propertyname="resources.dir"location="resources" />
<targetname="clean">
<deletedir="${build.dir}" />
<deletedir="${dist.dir}" />
</target>
<targetname="prepare">
<mkdirdir="${build.dir}" />
<mkdirdir="${dist.dir}" />
</target>
<targetname="compile"depends="clean, prepare">
<javacsrcdir="${src.dir}"destdir="${build.dir}"target="1.6"source="1.6"excludes="com/creatifcubed/simpleapi/tests/**" />
</target>
<targetname="jar"depends="compile">
<jardestfile="${dist.dir}\${dist.jarname}"basedir="${build.dir}" />
</target>
<targetname="main"depends="jar">
<description>Main target</description>
</target>
</project>