-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
66 lines (54 loc) · 2.32 KB
/
Copy pathbuild.xml
File metadata and controls
66 lines (54 loc) · 2.32 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<!-- ======================================================================
20 juin 2012 14:57:17
Java Command Suite
JCS is a library that help you to write command suite application in Java.
jonathan
====================================================================== -->
<project name="Java Command Suite" default="default">
<description>
JCS is a library that help you to write command suite application in Java.
</description>
<property name="version" value="1.0" />
<property name="src" location="src" />
<property name="bin" location="bin" />
<property name="dist" location="dist" />
<property name="test" location="test" />
<property name="jar" value="jcs-${version}.jar" />
<property name="jar-src" value="jcs-src-${version}.jar" />
<!-- =================================
target: default
================================= -->
<target name="default" depends="generate" description="JCS is a library that help you to write command suite application in Java.">
</target>
<!-- - - - - - - - - - - - - - - - - -
target: clean
- - - - - - - - - - - - - - - - - -->
<target name="clean">
<delete dir="${bin}" />
<delete dir="${dist}" />
</target>
<!-- - - - - - - - - - - - - - - - - -
target: compile
- - - - - - - - - - - - - - - - - -->
<target name="compile" depends="clean">
<mkdir dir="${bin}"/>
<javac srcdir="${src}"
destdir="${bin}"/>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: depends
- - - - - - - - - - - - - - - - - -->
<target name="generate" depends="compile">
<jar destfile="${dist}/${jar}" basedir="${bin}" />
</target>
<!-- - - - - - - - - - - - - - - - - -
target: generate-src
- - - - - - - - - - - - - - - - - -->
<target name="generate-src" depends="compile">
<jar destfile="${dist}/${jar-src}">
<fileset dir="${bin}" />
<fileset dir="${src}" />
</jar>
</target>
</project>