<p>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.</p>

<p>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.</p>

<p>Anyone have any ideas on how to fix this?</p>

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

[{'answer_id': 23534, 'author': 'Peter Meyer', 'author_id': 1875, 'author_profile': 'https://Stackoverflow.com/users/1875', 'pm_score': 0, 'selected': False, 'text': "<p>Is there any way that you could <em>include</em> 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.</p>\n"}, {'answer_id': 23628, 'author': 'Brad Wilson', 'author_id': 1554, 'author_profile': 'https://Stackoverflow.com/users/1554', 'pm_score': 2, 'selected': True, 'text': '<p>Use the <a href="http://nant.sourceforge.net/release/0.85-rc1/help/tasks/nant.html" rel="nofollow noreferrer">nant task</a>, so you get one single build file.</p>\n'}]
['https://Stackoverflow.com/questions/23503', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/698/']