I just start WRD when I know I am going to be going through the
deployment process and leave it running.  I have an add-app.bat which
runs this command:

set WAS_HOME=C:\dev\IBM\Rational\SDP\6.0\runtimes\base_v6
%WAS_HOME%\bin\wrd-config.bat -project %1 -style AutoAppInstall

so you would just run "add-app my-ear-project" once and then have your
my-ear-project build copy its EAR into %WORKSPACE%\my-ear-project every
time you change something and want to test it.  WRD will handle
everything else in my experience.

I believe you need to configure WRD before you can use it the first
time.  More info here:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/c
om.ibm.etools.wrd.freeform.doc/topics/rwrdconfbat.html

mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Meador
Sent: Tuesday, January 31, 2006 10:39 AM
To: Maven Users List
Subject: Re: Maven integration with WAS5

Is there a way to turn on the WRD without human interaction? Such as
from an ant script within Maven.

Do you have a source of information on using it? The IBM docs are
totally fragmented with no unified example. (Well ... that I have found)

How about disabling it. How is that done?

Thanks.

-- Lee Meador

On 1/31/06, Mike Perham <[EMAIL PROTECTED]> wrote:
>
> For websphere 6 I've found that bypassing the IDE integration and 
> using Websphere Rapid Deploy is the most reliable process so far.  My 
> ear build just copies the EAR to the WRD directory and it is
auto-reloaded.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Lee Meador
> Sent: Tuesday, January 31, 2006 9:28 AM
> To: Maven Users List
> Subject: Re: Maven integration with WAS5
>
> You have to use the antrun plugin and write ant tasks to do it.
>
> Search the web for the ant tasks. There are example scripts here and 
> there.
>
> The only information IBM seems to provide on it is in the Websphere 
> docs.
>
> Here are the version 6 docs. Look for the same class names:
>
> http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=
> /c 
> om.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/ant/tas
> ks
> /package-summary.html
>
> or look for the package name com.ibm.websphere.ant.tasks.
>
> You can use wsadmin through ant to submit jacl scripts that do these 
> things too. This task will only run if you use ws-ant which is a 
> customized version of ant that uses the IBM JDK among other things.
>
> It's a pain and it doesn't seem to work very well. Perhaps the Cargo 
> project will rescue us if some support for Websphere is added.
>
> Thanks.
>
> -- Lee Meador
>
> On 9/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> >
> > Hi,
> >
> > Can any of you  please help  me with this info . How to start , stop

> > ,
>
> > deploy applications on WAS5 with maven2
> >
> >
> > Regards
> > Saravana
> >
>
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

@echo off
set PROFILE=default
set WAS_BASE=C:\dev\IBM\Rational\SDP\6.0\runtimes\base_v6

if "%WORKSPACE%" == "" goto :wserr

title Websphere Rapid Deployment
call %WAS_BASE%\profiles\%PROFILE%\bin\wrd.bat -monitor
goto :EOF

:wserr
echo Please set WORKSPACE to your root Rapid Deployment directory

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to