[Anthill] version file - problems when sharing between 2 projects

Eric Minick eric at urbancode.com
Fri Sep 17 15:33:44 CDT 2004


Mike,

I'm not sure about the docs to be honest. You can replace the 
anthill.version.adapter property with the value 
"com.urbancode.anthill.adapter.ProjectPropertyFileVersionAdapter", and 
hit update. You'll need to come back in and edit that adapter to assign 
it a starting version number.

Regards,

Eric

Michael Dunbar wrote:

>Thanks. I'll look into that option. I don't think we care about versions outside of Anthill right now. I assume I'll be able to find something on that in the docs on the website? If not, please advise.
>
>Mike
>
>-----Original Message-----
>From: anthill-bounces at caladin.urbancode.com
>[mailto:anthill-bounces at caladin.urbancode.com]On Behalf Of Eric Minick
>Sent: Friday, September 17, 2004 3:37 PM
>To: Anthill user list
>Subject: Re: [Anthill] version file - problems when sharing between 2
>projects
>
>
>Michael,
>
>I've recorded this as a bug. The PVCS adapter should be catching this 
>and not counting it as a revision. A possible work around is to not use 
>the revision file at all and use a property instead. You would use the 
>ProjectPropertiesVersionAdapter instead of the standard one. That might  
>be problematic if you do builds outside of Anthill and need the version 
>there though.
>
>Regards,
>
>Eric
>
>Michael Dunbar wrote:
>
>  
>
>>I have 2 anthill OS projects corresponding to my 1 "actual" project - one which runs unit tests and one which runs functional tests - because I want to run them on different schedules. I set it up for them to share the same version file (in PVCS), but I noticed that they were running even when no changes were made to the codebase - they were picking up changes to the version file, and building based on that:
>>
>>09/15/2004 09:46:36	pottery     lines deleted/added/moved: 0/0/0
>>	.version: Committed_by Anthill
>>
>>09/15/2004 10:01:52	pottery     lines deleted/added/moved: 0/0/0
>>	.version: Committed_by_Anthill
>>
>>
>>Since I don't see this problem when only one project is active, I assume each project is building based on changes the other made to the version file.
>>
>>Has anyone seen this, and can you propose a work around? I thought of either taking the version file out of PVCS (not recommended) or using separate version files (how to keep them in synch?), but am wondering is there is a better way. Any way to tell Anthill to not include the version file when checking revisions?
>>
>>Thanks,
>>Mike
>>_______________________________________________
>>Anthill mailing list
>>Anthill at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>
>> 
>>
>>    
>>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>  
>



More information about the Anthill mailing list