Absender: Mopsos
Datum: Mo, 24.09.2007 20:17:59
Hallo, Anbei ein Patch für die Datei make-applet.xml. Es werden jetzt 5 .jar Files erzeugt um die 65k Grenze nicht zu überschreiten. Wer lust hat kann das ganze bitte ausprobieren. Danke & viele Grüße, Werner PS: Damit Ant korrekt läuft sollte man nur das Target "make-applet" ausführen, nicht das "make-jar"
Index: make-applet.xml
===================================================================
--- make-applet.xml (revision 1267)
+++ make-applet.xml (working copy)
@@ -56,7 +56,8 @@
<antcall target="make-jar">
<param name="num" value="2"/>
<param name="subdirs" value="
- ctSim/model/bots/**/*.class"/>
+ ctSim/model/bots/*.class,
+ ctSim/model/bots/ctbot/*.class"/>
<param name="exclude" value="
**/CtBotSimTcp.class"/>
</antcall>
@@ -70,7 +71,13 @@
<param name="subdirs" value="
ctSim/util/**/*.class"/>
</antcall>
-
+ <antcall target="make-jar">
+ <param name="num" value="5"/>
+ <param name="subdirs" value="
+ ctSim/model/bots/components/*.class"/>
+ <param name="exclude" value="
+ **/CtBotSimTcp.class"/>
+ </antcall>
<jar destfile="${builddir}/icons.jar"
basedir="${iconsdir}"
includes="${builddir}/ctSim/META-INF,*.gif"