Sure I guess I could. But then I had to build a script, make it work on all
platforms and so on. I guess it would be easier to just enhance the optional
task 'buildnumber' if I have to develop it... I was just kind of hoping that
someone else already hade done it *smil*

Thank you for your tip Keith!

/Christian

> -----Ursprungligt meddelande-----
> Från: Keith Hatton [mailto:khatton@;axiomsystems.com]
> Skickat: den 8 november 2002 13:31
> Till: Ant Users List
> Ämne: RE: Manifest version handling with ANT
> 
> 
> Could you use a <script> ?
> 
> 
> -----Original Message-----
> From: Christian Holmqvist, IT, Posten
> [mailto:christian.holmqvist@;posten.se]
> Sent: 08 November 2002 12:30
> To: 'Ant Users List'
> Subject: SV: Manifest version handling with ANT
> 
> 
> Yes the propertyFile task helps me to retrive the current 
> version and I can
> set a new one. The problem is to increase the correct part of 
> the version
> number.
> 
> But thank you for your help!
> 
> /Christian
> 
> > -----Ursprungligt meddelande-----
> > Från: [EMAIL PROTECTED] [mailto:detlef.brendle@;canoo.com]
> > Skickat: den 8 november 2002 13:21
> > Till: Ant Users List
> > Ämne: Re: Manifest version handling with ANT
> > 
> > 
> > I think the optional task 'propertyFile' should help you with that.
> > 
> > detlef
> > 
> > Zitiere "Christian Holmqvist, IT, Posten" 
> > <[EMAIL PROTECTED]>:
> > 
> > > Hi
> > > 
> > > Is there a way (without having to implement my own targets) 
> > to handling
> > > this
> > > scenario
> > > 
> > > The version is of the typ <major>.<minor>.<build> all numbers.
> > > 
> > > 1. Retrive the version number from a manifest file (i.e. 
> the normal
> > > version
> > > property)
> > > 2. calculate the next version number (i.e. be able to 
> choose to step
> > > either
> > > one of the version parts one step up).
> > > 3. Write the new version number to the manifest file.
> > > 
> > > I have figured out how to do it with the version as an 
> > integer but not
> > > with
> > > the version number indicated like this?
> > > 
> > > /Christian Holmqvist
> > > -------------------------
> > > 
> > > Christian Holmqvist
> > > 
> > > Posten Sverige AB
> > > Posten IT
> > > 105 00 Stockholm
> > > 
> > > Besöksadress: Ekensbergsvägen 113 ,Solna
> > > 
> > > Tel: 08 - 781 61 48
> > > Mobil: 070 - 985 00 28
> > > 
> > > [EMAIL PROTECTED]
> > > 
> > > http://www.posten.se 
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > > <mailto:ant-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:ant-user-help@;jakarta.apache.org>
> > > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:ant-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to