OK…

 

I guess you misunderstood my question… let me try again…

 

I have two build files…

 

Evolution.build which builds my app and puts it onto our dev staging server

 

Qa.build which copies the build to the QA server and updates the QA database to the new version

 

The daily build runs automatically every day... then, I used to run the QA one manually once a week or so.

 

I would call each one with:

 

Nant –buildfile:filename.build –logger:NAnt.Core.MailLogger

 

Each one has its own notify/fail email list and subjects.

 

But, now we are at a point where we want every build to go to QA if it is successful. So, I added this to the evolution.build script:

 

<nant buildfile="qa.build" inheritall="true" failonerror="false" if="${deploytoqa}" />

 

Now, when the daily build is ok it runs the QA deploy build. This works fine… but, the logging only goes to the evolution.build email list and the logging stuff set up in qa.build doesn’t seem to happen.

 

As a work around I was going to try to use the <exec> task (will this work?)… but was wondering if there was a way to get what I wanted with the <nant> task…

 

Thanks,

Bob

 

 


From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 6:16 PM
To: Bob Archer; [EMAIL PROTECTED]
Subject: Re: [Nant-users] nant task

 

Sure here is an example-

NAnt.exe -logger:NAnt.Core.XmlLogger -logfile:buildlog.xml

HTH,

-M

----- Original Message -----

From: Bob Archer

Sent: Wednesday, May 19, 2004 5:55 PM

Subject: [Nant-users] nant task

 

If I use the nant task, with the –logger setting for the top level task be passed to the next build file? Or, is there a property I need to set?

 

Bob

 

Reply via email to