James is right on.... There is no difference in the build.xml for iPlanet. I'm
using iPlanet v6 sp2. The deploy is after the fact when it comes to the "build"
of the application. Just build your *.war file form ant then you have two
options when it comes to deploying the wed app to iPlanet:
1) By hand... use the wdeploy command. If you have access as the owner if the
web server process (ie root access if the port is 80 etc.) then this is a whole
lot quicker.
2) Deploy via the web server admin interface if you don't have the correct
access. It's slower because you have to traverse through the screens to get it done.
I have found that a deploy works best if you stop and start the web server
after deploying the web app.
Here is a script I use to deploy by hand:
#!/bin/sh
#goto the CVS directory of the web app
cd /home/at12441/esGCR
IWS_SERVER_HOME=/opt/iws6sp2
export IWS_SERVER_HOME
DEPLOY=${IWS_SERVER_HOME}/bin/https/httpadmin/bin/wdeploy
$DEPLOY delete -u / -i eras1.central -v https-eras1.central hard
$DEPLOY deploy -u / -i eras1.central -v https-eras1.central -d /opt/esGCR
dist/gcr.war
cd /${IWS_SERVER_HOME}/https-eras1.central
echo ""
echo "Stopping server"
./stop
echo ""
echo "Starting server"
./start
Later, aj
Mark Horn wrote:
> I am trying to configure Struts to run under IP Enterprise Webserver version
> 6. I am basically just writing a build script from scratch and am having to
> look up all the wdeploy stuff. Was hoping maybe someone else was working
> with this server, and would have some skeletal type files. -Mark
>
> -----Original Message-----
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 10:31 AM
> To: Struts Users Mailing List
> Subject: RE: Iplanet Enterprise WS
>
>
> Why would a build.xml file be different for IPlanet than for any other IDE?
>
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://www.open-tools.org/struts-atlanta
>
>
>
>
>
>>-----Original Message-----
>>From: Mark Horn [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, August 15, 2002 8:38 AM
>>To: 'Struts Users Mailing List' (E-mail)
>>Subject: Iplanet Enterprise WS
>>
>>
>>Any one have any sample ant files for cofiguring Struts with Iplanet
>>Enterprise webserver ? Thanks, Mark
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>
>>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>