blob: 8f7fdbd9619e0c4ea7db6e366383249364f2492c (
plain)
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
|
<?xml version="1.0" encoding="utf-8" ?>
<project name="PodcastUploader" default="build" basedir=".">
<path id="project.class.path">
<fileset dir="lib" includes="**/*.jar"/>
</path>
<target name="javac" description="Compile java source to bytecode">
<mkdir dir="build"/>
<javac srcdir="src" includes="**" encoding="utf-8"
destdir="build"
source="1.5" target="1.5" nowarn="true"
debug="true" debuglevel="lines,vars,source">
<classpath refid="project.class.path"/>
</javac>
<copy todir="build">
<fileset dir="src" excludes="**/*.java"/>
</copy>
</target>
<target name="build" depends="javac" description="Build this project" />
<target name="jar" depends="build" description="Create a jar file">
<jar destfile="PodcastUploader.jar">
<fileset dir="build" />
<restrict>
<archives>
<zips>
<fileset dir="lib" includes="**/*.jar" />
</zips>
</archives>
</restrict>
<manifest>
<attribute name="Main-Class" value="net.jesterpm.podcastuploader.PodcastUploader" />
</manifest>
</jar>
</target>
<target name="clean" description="Cleans this project">
<delete dir="build" failonerror="false" />
<delete file="PodcastUploader.jar" failonerror="false" />
</target>
</project>
|