Yeah, I forgot to comment that... And you're right everything it's fine when I build my EAR with ws-ant in a separate script... Probably I sound like I'd be obsessed if I insist but that's because I use to work with maven always I've needed to develop an J2EE application... I don't know It's just that I would like to know if it has solution...
Thanks. On Thu, May 14, 2009 at 5:05 PM, Lee Meador <l...@leemeador.com> wrote: > 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 >