ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RPea...@360commerce.com
Subject Re: CVS Tag with ANT or CruiseControl
Date Mon, 11 Jul 2005 16:51:40 GMT
Look into the buildnumber tag and try to tie your buildnumber to your tag. 
ant-contrib has a Math tag for handling the arithmetic. 

Or just keep a tag.properties file in your source.

>From an SCM point-of-view, you should tell CVS what you want, not the 
other way around.

Robert





"KrustyDerClown" <KrustyDerClown@gmx.de> 
07/11/2005 11:44 AM
Please respond to
"Ant Users List" <user@ant.apache.org>


To
<user@ant.apache.org>
cc

Subject
CVS Tag with ANT or CruiseControl






Hello,

i have this little ANT target:

<target name="tag">
    <cvs cvsRoot="${cvs.root}" command="rtag" dest="${cvs.dir}" 
failonerror="yes">
        <commandline>
            <argument line="RelXX ${module}"/>
      </commandline>
     </cvs> 
</target

Is there an easy solution to increase the tag ?

For example ... from "Rel16" to "Rel17". I think its not so esay, because 
i must first know the old tag from CVS and then increase the number. And 
the number is just a part of the tag.

I use also CruiseControl ... maybe its easier that CruiseControl control 
the tag "text" (RelXX) and save this in a XML file ... and i take the tag 
from this xml file in ANT.

What do you mean ? What is the easiest way ?

Thank you in advance for your reply.

Greets Michael

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message