add old ebuilds from svn ub0rlay
[ub0rlay.git] / dev-java / proguard / files / build.xml
1 <?xml version="1.0"?>
2 <project name="proguard" basedir="." default="proguard">
3 <target name="proguard">
4 <tstamp />
5
6 <mkdir dir="classes" />
7 <javac srcdir="src" debug="false" destdir="classes">
8 <include name="**/*.java" />
9 </javac>
10
11 <copy todir="classes">
12 <fileset dir="src" excludes="**/*.java"/>
13 </copy>
14
15 <mkdir dir="dist" />
16
17 <delete file="dist/retrace.jar"/>
18 <jar jarfile="dist/retrace.jar" compress="true">
19 <fileset dir="classes">
20 <include name="proguard/retrace/**/*.*" />
21 </fileset>
22 </jar>
23
24 <delete file="dist/proguardgui.jar"/>
25 <jar jarfile="dist/proguardgui.jar" compress="true">
26 <fileset dir="classes">
27 <include name="proguard/gui/**/*.*" />
28 </fileset>
29 </jar>
30
31 <delete file="dist/proguard.jar"/>
32 <jar jarfile="dist/proguard.jar" compress="true">
33 <fileset dir="classes">
34 <exclude name="proguard/gui**" />
35 <exclude name="proguard/retrace**" />
36 </fileset>
37 </jar>
38
39 <delete dir="classes" />
40 </target>
41 </project>