summaryrefslogtreecommitdiff
blob: 7eff4bc8eb19b6c0e184347cbde70440659e2f93 (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
<?xml version="1.0"?>
<project name="proguard" basedir="." default="proguard">
	<target name="proguard">
		<tstamp />

		<mkdir dir="classes" />
		<javac srcdir="src" debug="false" destdir="classes">
			<include name="**/*.java" />
		</javac>

	        <copy todir="classes">
        	    <fileset dir="src" excludes="**/*.java"/>
	        </copy>
		
		<mkdir dir="dist" />

		<delete file="dist/retrace.jar"/>
		<jar jarfile="dist/retrace.jar" compress="true">
			<fileset dir="classes">
				<include name="proguard/retrace/**/*.*" />
			</fileset>
		</jar>

		<delete file="dist/proguardgui.jar"/>
		<jar jarfile="dist/proguardgui.jar" compress="true">
			<fileset dir="classes">
				<include name="proguard/gui/**/*.*" />
			</fileset>
		</jar>

		<delete file="dist/proguard.jar"/>
		<jar jarfile="dist/proguard.jar" compress="true">
			<fileset dir="classes">
				<exclude name="proguard/gui**" />
				<exclude name="proguard/retrace**" />
			</fileset>
		</jar>

		<delete dir="classes" />
	</target>
</project>