Question

I have a CC.NET project configured to call a common NAnt build file, which does some stuff, and then calls a child NAnt build file. The child build file name is specified by CC.NET to the command build file using a property.

The hurdle that I am trying to get over is that the common build file log gets overwritten by the child build file log, so I don't get the common build log in the CC.NET build log.

Anyone have any ideas on how to fix this?

I thought about changing the child build's log, but reading up on the NAnt <nant> task doesn't allow me to change the child's output log.

Was it helpful?

Solution

Use the nant task, so you get one single build file.

OTHER TIPS

Is there any way that you could include the child nant file as opposed to executing it as a full-fledged child nant project? This would prevent the overwrite, but not sure if it's possible in your situation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top