You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2005/09/13 17:52:10 UTC

Threads (was RE: [ANN] Article on building J2EE projects with Maven 1.1)

Hi Richard,

> -----Original Message-----
> From: Walsh, Richard (Richard) [mailto:richardwalsh@avaya.com]
> Sent: vendredi 9 septembre 2005 13:34
> To: Maven Users List
> Subject: RE: [ANN] Article on building J2EE projects with Maven 1.1
> 
> Hi Vincent,
> Have you any experience with launching new threads from maven. I am
> trying to stop and re-start Jboss after deploying an clover instrumented
> jar to Jboss in order to clover some unit tests. However, I cannot get
> this to work using the Jboss Pluging, the Jelly:Threads or ant fork. Any
> ideas or pointers are welcome.

Here are some ideas:

- use cargo (http://cargo.codehaus.org). We've just added support for JBoss
3.x and 4.x. There's also a maven 1.x plugin. If you're interested, talk to
us on the Cargo mailing list and we'll help you

- jelly:threads are working fine for me. Here's an example:

    <j:thread>
      <attainGoal name="start or stop container"/>
    </j:thread>
    <ant:waitfor>
      <ant:http url="some url to wait while container is starting or
stopping"/>
    </ant:waitfor>

[snip]

Hope this helps,
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Threads (was RE: [ANN] Article on building J2EE projects with Maven 1.1)

Posted by Thomas Van de Velde <th...@accenture.com>.
Vincent,

Does Cargo support remote stopping and starting as well as deployment?

Thanks
Thomas

On 9/13/05, Vincent Massol <vm...@pivolis.com> wrote:
> 
> Hi Richard,
> 
> > -----Original Message-----
> > From: Walsh, Richard (Richard) [mailto:richardwalsh@avaya.com]
> > Sent: vendredi 9 septembre 2005 13:34
> > To: Maven Users List
> > Subject: RE: [ANN] Article on building J2EE projects with Maven 1.1
> >
> > Hi Vincent,
> > Have you any experience with launching new threads from maven. I am
> > trying to stop and re-start Jboss after deploying an clover instrumented
> > jar to Jboss in order to clover some unit tests. However, I cannot get
> > this to work using the Jboss Pluging, the Jelly:Threads or ant fork. Any
> > ideas or pointers are welcome.
> 
> Here are some ideas:
> 
> - use cargo (http://cargo.codehaus.org). We've just added support for 
> JBoss
> 3.x and 4.x. There's also a maven 1.x plugin. If you're interested, talk 
> to
> us on the Cargo mailing list and we'll help you
> 
> - jelly:threads are working fine for me. Here's an example:
> 
> <j:thread>
> <attainGoal name="start or stop container"/>
> </j:thread>
> <ant:waitfor>
> <ant:http url="some url to wait while container is starting or
> stopping"/>
> </ant:waitfor>
> 
> [snip]
> 
> Hope this helps,
> -Vincent
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>