7eff4bc8eb19b6c0e184347cbde70440659e2f93
[ub0rlay.git] / dev-java / proguard / files / build.xml
blob7eff4bc8eb19b6c0e184347cbde70440659e2f93
1 <?xml version="1.0"?>
2 <project name="proguard" basedir="." default="proguard">
3         <target name="proguard">
4                 <tstamp />
6                 <mkdir dir="classes" />
7                 <javac srcdir="src" debug="false" destdir="classes">
8                         <include name="**/*.java" />
9                 </javac>
11                 <copy todir="classes">
12                     <fileset dir="src" excludes="**/*.java"/>
13                 </copy>
14                 
15                 <mkdir dir="dist" />
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>
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>
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>
39                 <delete dir="classes" />
40         </target>
41 </project>