I don't know about WAS 6.1 but in WAS 6.02 you can't use the deployment ant task in a regular ant version you have to use the ws-ant utility supplied with Websphere. You could try having a separate build.xml with the deployment stuff in it and use the ant exec task to run ws-ant in its own JVM.
Thanks. --Lee On Thu, May 14, 2009 at 2:16 PM, Martín Bárcenas < martin.barce...@carmeth.com> wrote: > I'm trying to deploy on websphere 6.1 using the *maven-antrun-plugin* but I > have a trouble executing the tasks displaying the following error: > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] An Ant BuildException has occured: Unable to parse > setupCmdLine:null\bin\setupCmdLine.bat > (The system cannot find the path specified.) > > This error appears because somewhere on the maven lifecycle lost the > wasHome, I couldn't continue... > > I also tried to deploy it using was6-maven-plugin but it gives me other > error, I already asked about it but it haven't been answered yet... > > I have been looking for information or documentation but I didn't found > anything... > > Someone know what is happening? Any idea? > > Thanks. > -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com