[Anthill] Customizing Tag Name
Misura, Gabe
gabe.misura at eds.com
Tue Feb 15 17:49:26 CST 2005
Ben,
My version file contents looks like this:
prod.1.1.8
And my tags show up as prod_1_1_8 in CVS.
So there's not need to have v in the front.
BTW, I'm using that com.urbancode.anthill.adapter.UrbanCodeVersionAdapter
I've never branched so I can't help you there.
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 6:41 PM
To: Anthill user list
Subject: RE: [Anthill] Customizing Tag Name
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
*************************************/
_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill
More information about the Anthill
mailing list