-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.ant.txt
More file actions
33 lines (27 loc) · 822 Bytes
/
build.ant.txt
File metadata and controls
33 lines (27 loc) · 822 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
33
<?xml version="1.0"?>
<project name="sampleProject" basedir="." default="jar">
<property name="src" value="ant-source"/>
<property name="output" value="bin"/>
<target name="compile" depends="create">
<javac destdir="bin">
<src path="${src}"/>
<classpath refid="java"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="test.jar">
<fileset dir="bin"/>
</jar>
</target>
<target name="clean">
<delete dir="${output}"/>
</target>
<target name="create" depends="clean">
<mkdir dir="${output}"/>
</target>
<path id="java">
<fileset dir="D:\Jars\Hibernate">
<include name="*.jar"/>
</fileset>
</path>
</project>