Re: Reset BuildNumber

2009-05-04 Thread Francis Galiegue
Le Monday 04 May 2009 22:02:04 Eric Fetzer, vous avez écrit : > Thank you very much Francis!  I really appreciate the hand holding as I > transition over to Ant... > You're more than welcome, since you have taught me a way to use ant-contrib tasks without having namespace issues like I did in the

Re: Reset BuildNumber

2009-05-04 Thread Eric Fetzer
Thank you very much Francis!  I really appreciate the hand holding as I transition over to Ant... From: Francis Galiegue To: Ant Users List Sent: Monday, May 4, 2009 1:48:44 PM Subject: Re: Reset BuildNumber Le Monday 04 May 2009 21:03:58 Eric Fetzer, vous a

Re: Reset BuildNumber

2009-05-04 Thread Francis Galiegue
Le Monday 04 May 2009 21:03:58 Eric Fetzer, vous avez écrit : > I had to go a little deeper, David.  I wanted to be able to rebuild the > same build number and also, have a 5th build element when built by > continuous integration.  Something that bugs me about Ant properties (I've > been writing wi

Re: ivy:install - how to influence ivy.xml creation

2009-05-04 Thread Konstantin Rekk
Hi Nik, thanks for replying. I looked for namesspaces that's for the entries itself but not for how the file will look like or how it is created. Of course I could apply some xslt afterwards ... but I wonder if their is a plugin like way to do that. Konstantin On Mon, 2009-05-04 at 12:30 +1000,

Re: Reset BuildNumber

2009-05-04 Thread Eric Fetzer
I had to go a little deeper, David.  I wanted to be able to rebuild the same build number and also, have a 5th build element when built by continuous integration.  Something that bugs me about Ant properties (I've been writing with NAnt for the past 6 years) is that you can't simply set a new va

Re: Reset BuildNumber

2009-05-04 Thread David Weintraub
Just playing around a bit and simplified the whole thing: -- David Weintraub

Re: Reset BuildNumber

2009-05-04 Thread David Weintraub
Sorry it took so long to respond... The task takes a file and increments the number in the file. If the file doesn't exist, Ant will create it and put the number "0" in there. It is NOT for a complex build number that includes major.minor.micro numbering. It's simply an integer. There have been

Re: Reset BuildNumber

2009-05-04 Thread Eric Fetzer
Thanks Francis, this cleaned it up A LOT! From: Francis Galiegue To: Ant Users List Sent: Saturday, May 2, 2009 2:50:06 AM Subject: Re: Reset BuildNumber Le Friday 01 May 2009 19:46:14 Eric Fetzer, vous avez écrit : > So to make it work, here's what I had to

Re: String manipulation (parsing / padding)

2009-05-04 Thread Francis Galiegue
Le Monday 04 May 2009 17:27:15 Beth Hechanova, vous avez écrit : > Hi, > > > > I am looking for a way in Ant to parse a string as well as create a new > string that is zero-padded. Does Ant have any built-in tasks/functions > for manipulating strings? > > > > My input will be a version string in t

Need JAR-files not available in ibiblio (for JavaMail), suggestions

2009-05-04 Thread Kent Larsson
Hi, Currently: - I have no ivysettings.xml (only ivy.xml). - I have no JAR-files in version control. My idea of a solutions: - Create a directory named localrepository directly under the project root. Setup a file repository for Ivy in it. Check it into version control. - Have Ivy first check i

Re: String manipulation (parsing / padding)

2009-05-04 Thread Dominique Devienne
On Mon, May 4, 2009 at 10:27 AM, Beth Hechanova wrote: > I have been using NAnt lately and it has some built in functions for > doing this sort of string manipulation.  Now I need to implement the > same logic in Ant scripts.  I have been looking for something similar in > Ant, but I have yet to c

String manipulation (parsing / padding)

2009-05-04 Thread Beth Hechanova
Hi, I am looking for a way in Ant to parse a string as well as create a new string that is zero-padded. Does Ant have any built-in tasks/functions for manipulating strings? My input will be a version string in the format of x.y.z. I need to take that input and create a string that is form