ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yinhua" <cnyin...@hotmail.com>
Subject Re: how to start jboss in the ant
Date Sat, 02 Aug 2003 04:46:29 GMT
<exec executable="cmd" spawn="true">
       <arg value="/C"/>
       <arg value="${path_to_jboss}/bin/start_jboss.bat"/>
</exec>
Does this mean that I use spawn="true", that I can start the jboss without
blocking the build process?
But the response on my PC is with spawn="false", it can start the jboss but
block.
And with thie spawn="true", there is no blocking of build.xml and it return
but jboss not started.
Is this right? I'm a little confused.
Any help will be welcome
Thx
frank
----- Original Message ----- 
From: "Antoine Levy-Lambert" <antoine@antbuild.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Friday, August 01, 2003 12:04 AM
Subject: Re: how to start jboss in the ant


> something like this on UNIX
> (assuming the start script of JBoss is in Bourne-Shell, otherwishe
exchange
> sh for ksh or bash ...)
>
> <exec executable="sh" spawn="true">
>        <arg value="${path_to_jboss}/bin/start_jboss.sh"/>
> </exe>
>
>
> on Windows
>
> <exec executable="cmd" spawn="true">
>        <arg value="/C"/>
>        <arg value="${path_to_jboss}/bin/start_jboss.bat"/>
> </exec>
>
> (I am not absolutely sure about cmd /C, but I know you have to give a
> special flag for cmd for this kind of stuff to work; please have a look at
> cmd /? and study it yourself).
>
> Cheers,
>
> Antoine
>
> ----- Original Message -----
> From: "yinhua" <cnyinhua@hotmail.com>
> To: "Ant Users List" <user@ant.apache.org>
> Sent: Friday, August 01, 2003 2:50 PM
> Subject: Re: how to start jboss in the ant
>
>
> > Would you please give me a sample for this feature?
> > Thanx
> > ----- Original Message -----
> > From: "Antoine Levy-Lambert" <antoine@antbuild.com>
> > To: "Ant Users List" <user@ant.apache.org>
> > Sent: Thursday, July 31, 2003 6:57 AM
> > Subject: Re: how to start jboss in the ant
> >
> >
> > >
> > > ----- Original Message -----
> > > From: "yinhua" <cnyinhua@hotmail.com>
> > > To: "Ant Users List" <user@ant.apache.org>
> > > Sent: Friday, August 01, 2003 6:54 AM
> > > Subject: Re: how to start jboss in the ant
> > >
> > >
> > > > Thanks a lot for you and Tim Gordon.
> > > > And I have downloaded the apache-ant-1.6alpha-bin of 7/30/2003 from
> the
> > > > apache website. There is a option of spawn in the Exec. Can I use
this
> > > > feature to start Jboss in the ant without blocking the build?
> > > >
> > > > frank
> > > >
> > > Yes, the spawn option of exec should work.
> > > Cheers,
> > > Antoine
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: user-help@ant.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message