heise online · c't · iX · Technology Review · Telepolis · mobil · Security · Netze · heise open · heise resale · Autos · c't-TV · Jobs · Kiosk
Zum Inhalt
c't

c't Projekte - c't-Bot und c't-Sim - Mailinglisten

c't-Bot und c't-Sim


[Voriger (Datum)] [Nächster (Datum)] [Voriger (Thread)] [Nächster (Thread)]
[Nach Datum][Nach Thread]

[ct-bot] build-applet.xml patch

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"


Copyright © 2007 Heise Zeitschriften Verlag Kritik, Anregungen bitte an c't-WWW Datenschutzhinweis   Impressum