[Anthill] label/tag...

Barinek, Michael Michael.Barinek at intrado.com
Mon Jun 20 10:04:24 CDT 2005


right - so using ${version} should work

 

 

<move todir='${deployDir}'>

  <fileset dir=".">

    <include name="someApplication_${version}.zip "/>

  </fileset>

</move>

 

 

does anyone have a list of all the available properties?

 

- deployDir

- version

- ...

 

 

 

 

________________________________

From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com] On Behalf Of Priest, Mark
Sent: Sunday, June 19, 2005 7:52 PM
To: 'Anthill user list'
Subject: RE: [Anthill] label/tag...

 

Michael,

 

Anthill will automatically pass in the version it parses from the
version file in a property called "version".  If you mean that you are
using a tag to check out your code via the anthill cvs adapter and you
want to see what that tag is in your code then you will need to
customize anthill for this.  I did it myself and it was pretty easy.  I
don't remember the details right now but I just searched for where the
version property was set and added it there.  If you are interested I
can post the details to the list when I am back in the office.

 

-Mark

	-----Original Message-----
	From: Simone Milani [mailto:milasx at hotmail.com]
	Sent: Saturday, June 18, 2005 6:01 AM
	To: Anthill user list
	Subject: Re: [Anthill] label/tag...

	Not sure what you mean, but Anthill will do that for you.  If
you want to do the same thing outside of Anthill just do

	ant -Dversion=myVersion myTarget

	 

	Hope it helps.  As far as I can see not many people are on this
list :(

	 

	Simone

		----- Original Message ----- 

		From: Barinek, Michael
<mailto:Michael.Barinek at intrado.com>  

		To: anthill at lists.urbancode.com 

		Sent: Friday, June 17, 2005 9:56 PM

		Subject: [Anthill] label/tag...

		 

		 

		I need to pass the version label/tag to my build.xml
file...

		 

		similar to passing in ${deployDir} 

		 

		something like...

		 

		<move todir='${deployDir}'>

		  <fileset dir=".">

		    <include name="someApplication_${version}.zip "/>

		  </fileset>

		</move>

		 

		
________________________________


		_______________________________________________
		Anthill mailing list
		Anthill at lists.urbancode.com
		http://listsurbancode.com/mailman/listinfo/anthill
<http://lists.urbancode.com/mailman/listinfo/anthill> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050620/f4ceed9a/attachment-0002.htm


More information about the Anthill mailing list