The problem I ran into with the ant tasks and Websphere 6.0 is that some of the ant tasks only run with the special version of ant ws_ant.
(The endpoint enabler, which I use, will run with regular ant. I use it from within maven 2 in an antrun task.) The version 6 docs note that the ant tasks, while still present, are now deprecated. I'm not sure what IBM is expecting to be done in this regard. One, in particular, that requires ws_ant is the wsadmin ant task where you pass it a jacl script. What I did was set up an external tool in eclipse to run ws_ant.bat and pass it the jacl script to deploy. I'm not very happy with it. I find it very difficult to find any information on such scripts. If you undeploy an ear and it isn't deployed at this time, the script dies. But if you try to deploy without undeploying it, the script dies. If the last try didn't deploy right, I have to comment out the undeploy part of my script and then remember to uncomment it when the ear deploys. Earlier, in this news group, there was some discussion about using some application supplied with websphere 6 (or maybe available on the IBM web site) that can be loaded and pointed to a "magic" folder. When you drop an ear into that folder, which isn't necessarly part of websphere or anything else, it will get deployed. I haven't made use of that yet. One thing I did figure out, based on searching around the web, is that websphere 5 does not allow deploying from an ear that isn't on the same machine as websphere. (Well ... it has to be available on the server's file system.) What they ended up doing was ftping or scping the file onto the server and then using wsadmin to deploy it from there. Somehow websphere 6 doesn't have this restriction but I don't need that capability and haven't tried it. Thanks. -- Lee Meador On 4/17/06, David J. M. Karlsen <[EMAIL PROTECTED]> wrote: > > Vijay Shanker skrev: > > >Thanks Sanjay and John. I will try to follow as you suggested. One > suggestion, I got, to use jboss:harddeploy. > > > > > I've created a plugin for generation of stub's: > http://www.davidkarlsen.com/maven-was-plugin/ > > Though, it does not [yet] deploy to a destination server. > > > --------------------------------------------------------------------- > 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]
