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]

Re: [ct-bot] build-applet.xml patch

Absender: Mopsos
Datum: Mo, 24.09.2007 20:26:29
In-reply-to: <46F7FF59.4020104@xxxxxx>
References: <46F7FF59.4020104@xxxxxx>


Und, was ich natürlich vergessen hab, den Patch für die html File für
den Classpath


Mopsos schrieb:
> 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"
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> ct-bot-entwickler Mailingliste
> ct-bot-entwickler@xxxxxxxxxxxxxxxxx
> http://www.heise.de/bin/newsletter/listinfo/ct-bot-entwickler

Index: applet.html
===================================================================
--- applet.html	(revision 1267)
+++ applet.html	(working copy)
@@ -8,7 +8,7 @@
 
 <object width="90%" height="80" classid="java:ctSim.applet.Main">
     <param name="archive" value=
-    	"ctsim-applet-1.jar,ctsim-applet-2.jar,ctsim-applet-3.jar,ctsim-applet-4.jar,icons.jar" />
+    	"ctsim-applet-1.jar,ctsim-applet-2.jar,ctsim-applet-3.jar,ctsim-applet-4.jar,ctsim-applet-5.jar,icons.jar" />
     <param name="type" value="application/x-java-applet;version=1.5">
 
     <param name="portToConnectTo" value="10002">


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