summaryrefslogtreecommitdiffstats
path: root/app-text/jing/files/build-r1.xml
blob: 8de4f9ad16aed2489984a41fdca13477b1684999 (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
<?xml version="1.0"?>

<project name="jing" default="jar">
	<!-- compiles the sources -->
	<target name="compile">
		<mkdir dir="build" />
	
		<javac srcdir="src" 
			destdir="build"
			source="1.4">
			<classpath>
				<fileset dir="bin" includes="*.jar"/>
			</classpath>
		</javac>
		
		<!-- we need the *.properties at the correct 
		     position in the jar archive!        -->
		<copy todir="build">
		<fileset dir="src">
			<include name="**/*.properties" />
		</fileset>
		</copy>
		<copy todir="build/META-INF">
			<fileset dir="src/META-INF" />
		</copy>
	</target>

	<!-- create the jar archive -->
	<target name="jar" depends="compile">
		<jar jarfile="bin/jing.jar"
			basedir="build">
		</jar>
	</target>
</project>