-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.xml
104 lines (90 loc) · 4.08 KB
/
make.xml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<project name="alliance" default="Build release">
<property name="lib.dir" value="lib"/>
<property name="build.dir" value="build"/>
<property name="web.deploy" value="v:\\maciek.tv\\t"/>
<taskdef resource="proguard/ant/task.properties"/>
<target name="Build release">
<propertyfile file="res/build.properties">
<entry key="build.number" type="int" operation="+" value="1"/>
</propertyfile>
<jar jarfile="${lib.dir}/alliance.jar">
<fileset dir="classes"/>
<fileset dir="." includes="res/**/*" excludes="**/Thumbs.db"/>
<manifest>
<attribute name="Main-Class" value="org.alliance.launchers.ui.Main"/>
</manifest>
</jar>
<proguard>
-ignorewarnings
-dontobfuscate
-keepattributes LineNumberTable
-target 5
-dontoptimize
-libraryjars "<java.home>/lib/rt.jar";"c:\Program Files\JetBrains\IntelliJ IDEA 7.0.4\lib\JUnit.jar"
-injars lib(!.svn/**)
-outjar build/alliance.jar
-defaultpackage ''
-printseeds
-printmapping proguard.map
-applymapping proguard.map
-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
-keep public class org.alliance.launchers.ui.Main {
public static void main(java.lang.String[]);
}
-keep public class * implements Serializable
-keep public class * implements org.alliance.Subsystem
-keep public class * extends com.stendahls.XUI.XUIElement
-keep class org.alliance.core.settings.** { public *; }
-keepclassmembers class com.stendahls.nif.ui.toolbaractions.** { public *; }
-keepclassmembers public class * { public void EVENT_*(**); }
-keepclassmembers class com.stendahls.ui.ErrorDialog { public *; }
-keep public class de.javasoft.plaf.synthetica.**
-keep class * extends javax.swing.plaf.ComponentUI {
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent);
}
-keepclassmembers class org.jdesktop.jdic.tray.internal.impl.** {
public *; <!-- don't know how to say all methods -->
private *;
protected *;
package *;
}
-keepclassmembers class net.contentobjects.jnotify.** {
public *; <!-- don't know how to say all methods -->
private *;
protected *;
package *;
}
-keepclassmembers class org.alliance.ui.macos.** {
public *; <!-- don't know how to say all methods -->
private *;
protected *;
package *;
}
-keepclassmembers class org.alliance.** {
public *; <!-- don't know how to say all methods -->
private *;
protected *;
package *;
}
</proguard>
<signjar lazy="no" alias="blacknet" storepass="${keystorepassword}" keystore="${keystorelocation}">
<fileset dir="${build.dir}">
<include name="alliance.jar"/>
</fileset>
</signjar>
<delete includeemptydirs="true">
<fileset dir="${build.dir}" excludes="alliance.jar, alliance.exe, settings.xml">
<include name="**/**"/>
</fileset>
</delete>
<copy file="${build.dir}/alliance.jar" tofile="${build.dir}/alliance.dat"/>
<!--<copyfile src="${build.dir}/alliance.dat" dest="${web.deploy}\alliance.dat"/>-->
</target>
</project>