We had the same issue but got around it by using the ant <java> task to
invoke maven's main class directly. i.e. the java command that appears at
the end of the mvn.bat script. Your solution is probably neater.


On 10/02/06, Xavier Galleri <[EMAIL PROTECTED]> wrote:
>
> Precisely, CC is the reason...
>
> Rgds,
> -Xavier
>
> -----Original Message-----
> From: Daniel Kulp [mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]>]
> Sent: 10 February 2006 14:42
> To: Maven Users List
> Subject: Re: Calling mvn from ant does not propagate errors
>
>
> > Good to hear that you've made it work.  But then, I'm just curious as
> > to why you have to invoke Maven using Ant in the first place. :)
>
> Using cruisecontrol is one reason.   Cruisecontrol calls ant which forks
> maven.  In that case, you definitely want to know if Maven failed so you
> can get cruisecontrol to report the failure properly.
>
> Don't bother mentioning continuum.  It's not usable (yet, give them time)
> for a lot of people.
>
> Enjoy!
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727  C: 508-380-7194
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Ce message et ses pièces jointes (le "message") est destiné à l'usage
> exclusif de son destinataire.
> Si vous recevez ce message par erreur, merci d'en aviser immédiatement
> l'expéditeur  et de le détruire ensuite. Le présent message  pouvant
> être altéré à notre insu,  CALYON Corporate and Investment Bank
> ne peut pas être engagé par son contenu. Tous droits réservés.
>
> This message and/or any  attachments (the "message") is intended for
> the sole use of its addressee.
> If you are not the addressee, please immediately notify the sender and
> then destroy the message.  As this message and/or any attachments may
> have been altered without our knowledge,  its content  is not legally
> binding on CALYON Corporate and Investment Bank. All rights reserved.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to