Re: [Bulk] Re: Build Not required

Eric Minick <[email protected]> Fri, 02 Jun 2006 16:36:41 -0600
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Thanks for the reminder on that one Philip, I think knowing the 
repository adapter in use would be helpful regardless of what it is.

-- Eric

gnugy wrote:

> Are you by any chance using the SubversionRepositoryAdapter?  If you 
> are I had the same problem a few months back that boiled down to a 
> problem with
> a regular expression in the getRevisionsSince() method.  If this is 
> the case post back here and I'll dig up the expression that should fix 
> things.
>
> -- Philip.
>
> Marcio Ribeiro wrote:
>
>> but now I've added blank lines on a java source file and commited, 
>> changing the revision...   the scheduled build still doesnt work.
>>
>> On 6/2/06, *Eric Minick * <[email protected] 
>> <mailto:[email protected]>> wrote:
>>
>>     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] <mailto:Anthill-IWHQxnLZ/[email protected]>
>>     >http://lists.urbancode.com/mailman/listinfo/anthill
>>     <http://lists.urbancode.com/mailman/listinfo/anthill>
>>     >
>>     >
>>
>>     _______________________________________________
>>     Anthill mailing list
>>     Anthill-IWHQxnLZ/[email protected] <mailto:Anthill-IWHQxnLZ/[email protected]>
>>     http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Anthill mailing list
>> Anthill-IWHQxnLZ/[email protected]
>> http://lists.urbancode.com/mailman/listinfo/anthill
>>  
>>
>
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill