Francis Galiegue schrieb am 07.05.2009 um 23:03:44 (+0200):
> Le Thursday 07 May 2009 22:41:18 Michael Ludwig, vous avez écrit :
Thank you all for your quick response.
> > * http://ant-contrib.sourceforge.net/
> > The download link points to sources for cpptasks.jar.
On http://sourceforge.net/
Le Thursday 07 May 2009 22:41:18 Michael Ludwig, vous avez écrit :
> Francis Galiegue schrieb am 06.05.2009 um 23:23:37 (+0200):
> >
> >
> >
> >
>
> I've become curious why one is supposed to write so many lines of code
> to generate a number, and how it all works, so I copied this script to
From: Michael Ludwig
To: Ant Users List
Sent: Thursday, May 7, 2009 2:41:18 PM
Subject: Re: Reset BuildNumber
Francis Galiegue schrieb am 06.05.2009 um 23:23:37 (+0200):
>
>
>
>
I've become curious why one is supposed to write so many lines of code
to generate a number, and
Thu, 7 May 2009 22:41:18 +0200
> From: mil...@gmx.de
> To: user@ant.apache.org
> Subject: Re: Reset BuildNumber
>
> Francis Galiegue schrieb am 06.05.2009 um 23:23:37 (+0200):
>
> >
> >
> >
> >
>
> I've become curious why one is suppos
Francis Galiegue schrieb am 06.05.2009 um 23:23:37 (+0200):
>
>
>
>
I've become curious why one is supposed to write so many lines of code
to generate a number, and how it all works, so I copied this script to
my disk and started Ant on it. But the ant-contrib resource is missing.
Looking
, May 7, 2009 10:20:17 AM
Subject: Re: Reset BuildNumber
Le Thursday 07 May 2009 17:50:34 Eric Fetzer, vous avez écrit :
> So what do you think about this?
>
Even better than what I came up with to my eyes ;) I'd still have used the
macro, though.
It also tells me that you have th
Le Thursday 07 May 2009 17:50:34 Eric Fetzer, vous avez écrit :
> So what do you think about this?
>
Even better than what I came up with to my eyes ;) I'd still have used the
macro, though.
It also tells me that you have the choice to your input parameters, since you
changed the whole "xxIncre
Le Thursday 07 May 2009 17:08:13 Eric Fetzer, vous avez écrit :
> Why do you use for one line of code? Basically, you're creating
> a subset of with . Is that standard among the Ant
> community?
>
I don't know, since I can't really describe myself as being a member of the
ant community ;) I l
}
From: Francis Galiegue
To: Ant Users List
Sent: Wednesday, May 6, 2009 3:23:37 PM
Subject: Re: Reset BuildNumber
Le Wednesday 06 May 2009 19:17:25
Why do you use for one line of code? Basically, you're creating a
subset of with . Is that standard among the Ant community?
From: Francis Galiegue
To: Ant Users List
Sent: Wednesday, May 6, 2009 3:23:37 PM
Subject: Re: Reset BuildNumber
Le Wednesd
From: Francis Galiegue
To: Ant Users List
Sent: Wednesday, May 6, 2009 3:23:37 PM
Subject: Re: Reset BuildNumber
Le Wednesday 06 May 2009 19:17:25 Eric Fetzer, vous avez écrit :
> Get sidetracked?
>
Yup, but I got the result ;)
Here it is. Feel free to ask questions. This fi
Le Wednesday 06 May 2009 19:17:25 Eric Fetzer, vous avez écrit :
> Get sidetracked?
>
Yup, but I got the result ;)
Here it is. Feel free to ask questions. This file is based on a build.number
file which contains the major.number, minor.number, etc properties, and
rewrites said file with the new
Get sidetracked?
From: Francis Galiegue
To: Ant Users List
Sent: Monday, May 4, 2009 2:26:40 PM
Subject: Re: Reset BuildNumber
Le Monday 04 May 2009 22:02:04 Eric Fetzer, vous avez écrit :
> Thank you very much Francis! I really appreciate the hand hold
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
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
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
___
From: David Weintraub
To: Ant Users List
Sent: Monday, May 4, 2009 12:41:13 PM
Subject: Re: Reset BuildNumber
Just playing around a bit and simplified
Just playing around a bit and simplified the whole thing:
--
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
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
Le Saturday 02 May 2009 10:50:06 Francis Galiegue, vous avez écrit :
> Le Friday 01 May 2009 19:46:14 Eric Fetzer, vous avez écrit :
> > So to make it work, here's what I had to do. Seems like an awful lot of
> > work to accomplish something simple like this.
>
> [...]
>
> You seem to be using ant
Le Friday 01 May 2009 19:46:14 Eric Fetzer, vous avez écrit :
> So to make it work, here's what I had to do. Seems like an awful lot of
> work to accomplish something simple like this.
>
[...]
You seem to be using ant-contrib, why not go with and ?
this.
${full.buildnumber}
Anyone have an easier way?
From: Eric Fetzer
To: Ant Users List
Sent: Friday, May 1, 2009 11:00:07 AM
Subject: Re: Reset BuildNumber
OK, yeah, I totally
ric Fetzer
To: Ant Users List
Sent: Friday, May 1, 2009 10:24:18 AM
Subject: Re: Reset BuildNumber
Yeah, the macrodef was overkill, huh. How about:
___
Subject: Re: Reset BuildNumber
So, here's how I'd do it. Is there a better way?
From: Eric
So, here's how I'd do it. Is there a better way?
From: Eric Fetzer
To: Ant Users
Sent: Friday,
26 matches
Mail list logo