You can use the exec task or the java task it doesn't really matter.  The
big problem is that the anthill app doesn't convert maven return codes into
a 0 or !0 so that's why you need to wrapper your call to maven.  I know the
anthill pro version handles maven the same way so that wouldn't fix this
problem.

-Scott

-----Original Message-----
From: Christian Nill [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 12:55 PM
To: Maven Users List
Subject: AW: How to implement a nightly build system in maven


Alright, that answers the question wheter it would be worth purchasing
the Pro-version ;-)
Does using the java task actually give you more control over Maven than
just plainly using the exec task? What do you use the various return
codes for (I am also currently only looking for 0 or !0)?
I seriously hope these questions aren't just too naiv...

Christian

-----Ursprüngliche Nachricht-----
Von: Nelson, Scott (MAN-Corporate) [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 5. April 2004 18:42
An: 'Maven Users List'
Betreff: RE: How to implement a nightly build system in maven


Even in the pro version you need to wrap the maven call with an ant target
since anthill pro doesn't look for the various maven return codes it only
looks for 1 or a 0 based on success or failure.  I am using the java task
instead of the exec task.

-Scott


-----Original Message-----
From: CNI [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 12:17 PM
To: Maven Users List
Subject: AW: How to implement a nightly build system in maven


Hello,

As a beginner as well I have tried to use Anthill OS, though it lacks
support for calling
Maven goals directly (in the Open Source version). Instead I have written a
little build
script that executes Maven in an Ant <exec> task. Has anyone else utilised
Anthill with
Maven before? Someone found a more elegant way perhaps?

Regards,
Christian Nill

> I am a maven beginner. We use maven to build and manage our project. Right
> now we want to build a nightly build system that will automatically build,
> deploy, run all the tests of the project at least once a day. Can anyone
> give me some ideas for it? Are there any examples available which I can
have
> a look?


---------------------------------------------------------------------
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]

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

Reply via email to