summaryrefslogtreecommitdiff
blob: d1e565c65a76471d85628beb3897f1284c9103a5 (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
<?xml version="1.0"?>

<project name="trang" default="jar">
	<!-- compiles the sources -->
	<target name="compile">
		<mkdir dir="../build" />
	
		<javac srcdir="." 
			destdir="../build"
			classpath="lib/xerces.jar">
		</javac>
		
		<!-- we need the *.properties at the correct 
		     position in the jar archive!        -->
		<copy todir="../build">
		<fileset dir=".">
			<include name="**/*.properties" />
		</fileset>
		</copy>
	</target>

	<!-- create the jar archive -->
	<target name="jar" depends="compile">
		<mkdir dir="../jar" />
	
		<jar jarfile="../jar/trang.jar"
			basedir="../build"
			manifest="META-INF/MANIFEST.MF">
		</jar>
	</target>
</project>