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