----- Original Message -----
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 7:19 PM
Subject: WebSphere Ant tasks
> I'm beginning to use a new (to me) application server - WebSphere 4.0.
>
> Is anyone using Ant & Cactus with WebSphere? If so, could you share
> examples of how you deploy to it via Ant, and how you start and stop
> WebSphere?
>
> I've searched the archives a bit and see that WebSphere has been
mentioned,
> but I didn't come across any specific examples of how its done.
>
yes, you're right, I have not seen anyone automating cactus tests using Ant
for WebSphere. However, it should be very easy. Check your adminserver.bat
to see how to start it and then use that command line to start it from Ant.
See an existing ant xml file (check /samples/build/build-tests*.xml).
ex of how to start websphere:
%JAVA_HOME%\bin\java -mx128m com.ibm.ejs.sm.server.AdminServer -bootFile
%WAS_HOME%\bin\admin.config %restart% %1 %2 %3 %4
you would write something like :
<java classname="weblocom.ibm.ejs.sm.server.AdminServer" fork="yes">
<classpath>
<pathelement location="put correct jars here""/>
</classpath>
<jvmarg value="-mx128m"/>
<jvmarg value="-bootFile ${was.home}/bin/admin.config"/>
</java>
> Also - marc.theaimsgroup.com (my first source of the archives) does not
have
> this list (or cactus-dev). Can someone get that listed on their site and
> have it indexed by them as well as mail-archive?
>
> Many thanks,
> Erik
>
-Vincent