[Anthill] Customizing Tag Name
Ben Rady
ben at int.com
Tue Feb 15 17:40:48 CST 2005
Gabriel,
First off, thanks for the response.
I have my version number all sorted out. The problem is that anthill
currently appends a 'v' onto the front of the version number to create the
tag name. I don't want the 'v' (we have an in-house policy on CVS tag
names). Secondly, the version file has additional constraints when building
off of a branch. Namely, the branch name must be included in the version
string.
I realize that I could write my own version adapter to solve the version
name problem with the branch, but do I have to write my own repository
adapter to change the tag name policy?
Thanks,
Ben
At 04:39 PM 2/15/2005, you wrote:
>Ben,
>
> >From the FAQ
>http://www.urbancode.com/projects/anthill/faq.jsp (someone might want to
>update that, it says 'fomat' instead of 'format'.)
>
>Q: What general fomat does the Anthill version file use?
>A: The general format of the version file is:
>
><prefix><buildNo><postfix>
>
>where
>
><prefix>can be any String like "MyProduct" or "1.0."
><buildNo>has to be a number like 1 or 50 or 1150
><postfix>can be any non numeric String like " alpha" or " beta"
>
>
>So if you have a version such as 1.2.3.4, then 1.2.3. is the <prefix>, 4 is
>the <buildNo> and the <postfix> is an empty string. The
>UrbanCodeVersionAdapter looks for the build number starting at the end of
>the string and working its way forward. The build number is the first
>numeric portion that it encounters. So you could have a version such as
>1.2.3.1150 alpha and then the build number would be 1150.
>
>
>
>Gabriel Misura
>500 Renaissance Center, MS 15th Floor, 1340
>Detroit, MI 48243
>Phone: 313-230-6119
>AIM: gabemisura
>
>The information in this email is confidential and may be legally privileged.
>It is intended solely for the addressee. Access to this email by anyone else
>is unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution or any action taken or omitted to be taken in reliance
>on it, is prohibited and may be unlawful.
>
>
>-----Original Message-----
>From: anthill-bounces at lists.urbancode.com
>[mailto:anthill-bounces at lists.urbancode.com] On Behalf Of Ben Rady
>Sent: Tuesday, February 15, 2005 11:58 AM
>To: anthill at lists.urbancode.com
>Subject: [Anthill] Customizing Tag Name
>
>
>
>Hello!
>
>Is there a way to customize the name of the tag that Anthill (OS) creates?
>Right now it appears to just pre-pend 'v' onto the version name. Is there
>an easy way to change that 'v' to something else? Or should I just check
>out the code and do it myself?
>
>Thanks,
>Ben Rady
>
>/*************************************
>Ben Rady
>Project Leader
>Interactive Network Technologies
>713-975-7434
>*************************************/
>
>_______________________________________________
>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
/*************************************
Ben Rady
Project Leader
Interactive Network Technologies
713-975-7434
*************************************/
More information about the Anthill
mailing list