-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
30 lines (26 loc) · 847 Bytes
/
build.xml
File metadata and controls
30 lines (26 loc) · 847 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
<?xml version="1.0"?>
<project name="SimpleReminder" basedir="." default="build-jar">
<path id="project.classpath">
<pathelement location="src" />
<fileset dir="lib" includes="**/*.jar" />
</path>
<target name="build">
<mkdir dir="out/classes" />
<javac destdir="out/classes" source="1.7" target="1.7" failonerror="true" classpathref="project.classpath">
<src path="src" />
</javac>
</target>
<target name="build-jar" depends="build">
<mkdir dir="out/jar" />
<jar destfile="out/jar/SimpleReminder.jar">
<manifest>
<attribute name="Main-Class" value="de.leostrakosch.reminder.cli.CLIReminder" />
</manifest>
<fileset dir="out/classes" />
<zipgroupfileset dir="lib" includes="**/*.jar" />
</jar>
</target>
<target name="clean">
<delete dir="out" />
</target>
</project>