Re: Build Not required

Eric Minick <[email protected]> Fri, 02 Jun 2006 11:51:41 -0600
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Marcio,

The logic in the build manager works like this (in psuedo code):

checkoutProject();

revisionList = getRevisions();

if (revisionList.isEmpty()) {
   log( "Build Not required")
}

if (build.isForced() OR revisionList.isNotEmpty()) {
   build();
}
else {
   log("Build Not Required);
}

So if you are seeing two "Build Not Required" messages, it is because 
there are no revisions and the build was not flagged as being forced. 
Currently, the schedules do not support always forcing builds which may 
be the source of your problem. Scheduled builds are always managed by 
the presence of revisions. Ad hoc builds may be forced though.

-- Eric

I found the double Build Not Required messages a bit confusing and not 
terribly useful. I've gone ahead and changed the first to simply be, "No 
revisions detected".



Marcio Ribeiro wrote:

> Hi,
> my schedules are not ok... even using the force build option, when the 
> build is done everything goes fine, but after the checkout appear two 
> messages:
>  
> is project up to date?
> Build Not required
> Build Not required
>
>
>
> What's happening???
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill-IWHQxnLZ/[email protected]
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>