Re: How to suppress version update.

Eric Minick <[email protected]> Thu, 06 Jul 2006 11:41:31 -0600
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Exactly. The 
com.urbancode.anthill.adapter.ProjectPropertyFileVersionAdapter holds 
the version numbers in the Anthill project property file instead of in 
the source of the project.

-- Eric

Res Pons wrote:

> p.s. I use the default as shipped by AH-OS: 
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.  Are there 
> other adapters and function differently?
>
> ----Original Message Follows----
> From: Eric Minick <[email protected]>
> Reply-To: Anthill user list <anthill-IWHQxnLZ/[email protected]>
> To: Anthill user list <anthill-IWHQxnLZ/[email protected]>
> Subject: Re: [Anthill] How to suppress version update.
> Date: Wed, 05 Jul 2006 08:15:53 -0600
> MIME-Version: 1.0
> Received: from lists.urbancode.com ([64.34.169.154]) by 
> bay0-mc9-f1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); 
> Wed, 5 Jul 2006 07:16:22 -0700
> Received: (qmail 24138 invoked by uid 510); 5 Jul 2006 14:16:26 -0000
> Received: from anthill-bounces-IWHQxnLZ/[email protected] by 
> caladin.urbancode.com by uid 504 with qmail-scanner-1.20  
> (spamassassin: 2.61.  Clear:RC:1(127.0.0.1):.  Processed in 0.020666 
> secs); 05 Jul 2006 14:16:26 -0000
> Received: from localhost (HELO caladin.urbancode.com) (127.0.0.1)  by 
> lists.urbancode.com with SMTP; 5 Jul 2006 14:16:26 -0000
> Received: (qmail 24106 invoked by uid 510); 5 Jul 2006 14:16:21 -0000
> Received: from [email protected] by caladin.urbancode.com by uid 504 
> withqmail-scanner-1.20 (spamassassin: 2.61.  
> Clear:RC:0(207.99.47.54):SA:0(0.1/5.0):. Processed in 0.338992 secs); 
> 05 Jul 2006 14:16:21 -0000
> Received: from host54a.simplicato.com (207.99.47.54)by 
> lists.urbancode.com with SMTP; 5 Jul 2006 14:16:20 -0000
> Received: from localhost (localhost.simplicato.com [127.0.0.1])by 
> host54a.simplicato.com (Postfix) with ESMTP id BCD076C0270for 
> <anthill-IWHQxnLZ/[email protected]>; Wed,  5 Jul 2006 10:16:09 -0400 (EDT)
> Received: from host54a.simplicato.com ([127.0.0.1])by localhost 
> (host54a.simplicato.com [127.0.0.1]) (amavisd-new,port 10024) with 
> ESMTP id 19122-07 for <anthill-IWHQxnLZ/[email protected]>;Wed,  5 Jul 2006 
> 10:16:09 -0400 (EDT)
> Received: from [192.168.0.100] 
> (c-67-190-19-249.hsd1.co.comcast.net[67.190.19.249])by 
> host54a.simplicato.com (Postfix) with ESMTP id 4D9EB6C025Efor 
> <anthill-IWHQxnLZ/[email protected]>; Wed,  5 Jul 2006 10:16:09 -0400 (EDT)
> X-Message-Info: LsUYwwHHNt3zVuh8Hu/sv/g6Fn2fUfRThZ99CZLBbi8=
> Return-Path: <[email protected]>
> Delivered-To: mailman-anthill-IWHQxnLZ/[email protected]
> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
> X-Accept-Language: en-us, en
> References: <[email protected]>
> X-Virus-Scanned: by amavisd-new at simplicato.com
> X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) 
> on caladin.urbancode.com
> X-Spam-Level:
> X-Spam-Status: No, hits=0.1 required=5.0 tests=RCVD_IN_SORBS 
> autolearn=no version=2.61
> X-BeenThere: anthill-IWHQxnLZ/[email protected]
> X-Mailman-Version: 2.1.4
> Precedence: list
> List-Id: Anthill user list <anthill.lists.urbancode.com>
> List-Unsubscribe: 
> <http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request-IWHQxnLZ/[email protected]?subject=unsubscribe> 
>
> List-Archive: <http://lists.urbancode.com/pipermail/anthill>
> List-Post: <mailto:anthill-IWHQxnLZ/[email protected]>
> List-Help: <mailto:anthill-request-IWHQxnLZ/[email protected]?subject=help>
> List-Subscribe: 
> <http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request-IWHQxnLZ/[email protected]?subject=subscribe> 
>
> Errors-To: anthill-bounces-IWHQxnLZ/[email protected]
> X-OriginalArrivalTime: 05 Jul 2006 14:16:23.0134 (UTC) 
> FILETIME=[981107E0:01C6A03D]
>
> Frank,
>
> My first thought would be to put the test build on a different 
> numbering scheme using the ProjectPropertyFileVersionAdapter. That way 
> it wouldn't be interferring with the other versioning file at all. 
> Since both projects are running against the same source, it may even 
> make sense to run both of them off that adapter.
>
> -- Eric
>
> Frank Langanke wrote:
>
>> Hi,
>>
>> I got a project which has two different build.xml, one for normal 
>> building, another for testing purposes. I created two projects in 
>> anthill, one for each buildfile. The first one does update the 
>> version file buildnumber.anthill, the second does also but in this 
>> case I don't want the version to be updated.
>>
>> The two projects run on different times and check in the updated 
>> version file to cvs, so anthill thinks rebuilding is always required. 
>> How can I just suppress the updating of a version file ?
>>
>> Thanks,
>>
>> Frank.
>> _______________________________________________
>> 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
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's 
> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill