Should have said I use filter triggers on all my projects would have been a
more accurate statement

On Tue, Feb 10, 2009 at 12:49 AM, Darren McDaniel <[email protected]> wrote:

> The way i currently do it is by using a filter trigger on the documentation
> blocks... and limit the documentation builds to after midnight to 7am.. ...
> when all of the other projects run from 7am to Midnight... then CCNET will
> pick up any changes to the source code and compile.. and then the
> documentation will build later that evening... sure the docs are 1 day
> behind... but it works for us
>
>
> On Mon, Feb 9, 2009 at 9:49 PM, Sam Calder <[email protected]>wrote:
>
>> Good call Darren... although you then potentially need to worry about
>> concurrency issues. You might want to build the documentation off the source
>> code for the last successful build though... otherwise you run the risk of
>> (a) documentation build fails because the source is overwritten halfway
>> through; or (b) half your documentation is out of date, again because the
>> source got overwritten halfway through.
>>
>> I'd suggest making a final step in your app build copy the source to some
>> working directory (eg. using Nant copy, robocopy, whatever) and then using
>> that directory to build the docs from. If you went down the NAnt route you
>> could have the app build only copy source over if the working directory is
>> empty (IE. a doc build isn't running), and clean out the working directory
>> on completion of the doc build.
>>
>> Hope that makes sense!
>>
>>  - Sam.
>>
>>
>>
>> On Mon, Feb 9, 2009 at 1:01 PM, KMF <[email protected]> wrote:
>>
>>>
>>> By putting it in a different queque it won't conflict with or pause
>>> the regular builds?  I will test this out.
>>> KMF
>>>
>>> On Feb 9, 12:38 pm, Darren McDaniel <[email protected]> wrote:
>>> > How we work it is to have a separate Queuefor documentation, this queue
>>> > separate from the main queue can compile as needed (and separate) from
>>> the
>>> > other Queue(s) since some times the Documentation compilation takes a
>>> bit
>>> > longer...
>>> >
>>> > On Mon, Feb 9, 2009 at 11:36 AM, KMF <[email protected]> wrote:
>>> >
>>> > > That would be one way of skinning the cat but not quite what I was
>>> > > looking for.  I would really like to be able to fire off the
>>> > > documentation at any time and not have it stop any other projects
>>> from
>>> > > being built.  I realize that they may be slowed down but they would
>>> > > still go through at a reasonable time.  Stopping integration while
>>> the
>>> > > documentation gets built will not work for us.  I also figure that I
>>> > > will need to have a test in the documentation task to test and see if
>>> > > the documentation is already started.  Any other ideas on how to fire
>>> > > this off?  Maybe start another CCNET server?  That would seem a
>>> little
>>> > > more complex than it needs to be.
>>> >
>>> > > I also thought about just moving it to the bottom of a queque, but
>>> > > even then it would eventually fire off and then delay all other
>>> builds
>>> > > until it was done.  We have about 40 different active projects right
>>> > > now in our ccnet.config.
>>> >
>>> > > Thanks again,
>>> > > KMF
>>> >
>>> > > On Feb 6, 3:33 pm, Ruben Willems <[email protected]> wrote:
>>> > > > Hi
>>> >
>>> > > > you can use a second ccnet project or a second trigger,
>>> > > > and when this trigger/project is fired, you run the documentation.
>>> >
>>> > > > so you do not run the create documentation, only in the nightly
>>> build.
>>> >
>>> > > > or you can look at the process class in .NEt
>>> > > > this can also be of help
>>> >
>>> > > > with kind regards
>>> > > > Ruben Willems
>>> >
>>> > > > On Fri, Feb 6, 2009 at 9:28 PM, KMF <[email protected]> wrote:
>>> >
>>> > > > > I need to be able to fire off a executable or batch file and not
>>> wait
>>> > > > > around for the result.  When I compile my program I would like to
>>> also
>>> > > > > rebuild the source code documentation.  The thing is that
>>> building the
>>> > > > > app takes about 30 seconds and rebuilding the source code
>>> > > > > documentation takes 40 minutes.  I would like to spawn this
>>> > > > > documentation off and not have it interfear with the rest of my
>>> ccnet
>>> > > > > process.
>>> >
>>> > > > > I cannot seem to find the answer in the docs or googling the
>>> groups.
>>> > > > > I am sure this has been solved before so I will just ask you all.
>>> >
>>> > > > > Thanks in advance,
>>> > > > > KMF
>>>
>>
>>
>

Reply via email to