ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: how to start jboss in the ant
Date Fri, 01 Aug 2003 07:04:07 GMT
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


Mime
View raw message