For a remote deploy you might give the cargo-project a go: 
http://cargo.codehaus.org/

I'm afraid I can't give you any examples for this, since I'm not using it for 
remote deployment...

Roland



On Tuesday 30 May 2006 21:49, Leo L wrote:
> But, for a remote deploy is also that configuration like local????
>
> <jbossHome>/path/to/jboss</jbossHome>  ????
>
> ... and the protocol, user, server ???
>
> Regards,
> Leo
>
> 2006/5/30, Roland Asmann <[EMAIL PROTECTED]>:
> > Or just forget about the ant-part and use the jboss-maven-plugin! (See
> > also this thread: Unable to locate local repo in Mac-OSX(how to call ant
> > from maven))
> >
> > <plugin>
> >        <groupId>org.codehaus.mojo</groupId>
> >        <artifactId>jboss-maven-plugin</artifactId>
> >        <configuration>
> >                <jbossHome>/path/to/jboss</jbossHome>
> >        </configuration>
> > </plugin>
> >
> > And then run one of its goals (deploy / harddeploy)
> >
> >
> > Roland
> >
> > On Tuesday 30 May 2006 21:14, Wayne Fay wrote:
> > > 1. Does it work in ant only ie "ant buildDeploy"? Until this works,
> > > there's really no need to test in Maven.
> > >
> > > 2. Is the command "scp" available on the command line, in your system
> > > path? Type "scp" and make sure it works.
> > >
> > > Wayne
> > >
> > > On 5/30/06, Leo L <[EMAIL PROTECTED]> wrote:
> > > > Hi all!
> > > > I´m using Jboss4.0.2  and i still get an errorcan you help how can i
> > > > configure my build.xml.
> > > > I followed what a maven list fellow said about packing with maven and
> > > > deploy with ant, and just worry how maven works with ant.
> > > > I get that, but i have a problem in my build.xml, i saw many examples
> >
> > and
> >
> > > > i couldn´t success yet...
> > > > Can anyone help me saying what´s wrong to my .xml´s ????
> > > > Here are my pom.xml and my build.xml
> > > >
> > > > pom.xml
> > > > ...
> > > >         <plugin>
> > > >         <artifactId>maven-antrun-plugin</artifactId>
> > > >         <executions>
> > > >           <execution>
> > > >             <phase>compile</phase>
> > > >             <configuration>
> > > >               <tasks>
> > > >                      <echo message="Efetuando o deploy..."/>
> > > >                      <ant antfile="build.xml" target="deploy"
> > > > inheritAll="true"/>
> > > >                      <echo message="Deploy complete"/>
> > > >
> > > >               </tasks>
> > > >             </configuration>
> > > >             <goals>
> > > >               <goal>run</goal>
> > > >             </goals>
> > > >           </execution>
> > > >         </executions>
> > > >        </plugin>
> > > >  ....
> > > >
> > > >
> > > > my build.xml
> > > >
> > > > <project name="buildDeploy">
> > > >   <target name="deploy-live">
> > > >     <property name="live.server" value="[EMAIL PROTECTED]"/>
> > > >     <property name="live.jboss" value="/opt/jboss-4.0.1sp1
> > > > /server/default/deploy"/>
> > > >     <property name="live.ppa"
> > > > value="C:/Projects/App/ear/target/EAR-1.0.ear "/>
> > > >     <exec dir="." executable="scp">
> > > >        <arg line="${live.ppa}
> > > > ${live.server}:${live.jboss}/PPAEAR-1.0.ear" />
> > > >     </exec>
> > > >   </target>
> > > >   <target name="deploy" depends="deploy-live" />
> > > > </project>
> > > >
> > > >
> > > > The Exception i received:
> > > > ...
> > > >
> > > > [INFO] [antrun:run {execution: default}]
> > > > [INFO] Executing tasks
> > > >      [echo] Efetuando o deploy...
> > > >
> > > > deploy-live:
> > > > [INFO]
> >
> > ------------------------------------------------------------------------
> >
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> >
> > ------------------------------------------------------------------------
> >
> > > > [INFO] Error executing ant tasks
> > > >
> > > > Embedded error: The following error occurred while executing this
> >
> > line:
> > > > C:\Projetos\ReportPronim4\ear\build.xml:6: Execute failed:
> > > > java.io.IOException:
> > > > CreateProcess: scp scp
> > > > C:/Projetos/ReportPronim4/ear/target/PPAEAR-1.0.earcetil
> > > > @ptplinux:/opt/jboss-4.0.1sp1/server/default/deploy/PPAEAR-1.0.ear
> > > > error=2 [INFO]
> >
> > ------------------------------------------------------------------------
> >
> > > > ...
> > > >
> > > > what Am i doing wrong????
> > > >
> > > > Regards,
> > > >
> > > > Leo
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to