Shawn, I think you just offered much the same solution that I was trying to describe, just far more verbosely. Good to see people coalescing on the same wavelength.
One small difference. While I had talked about creating a separate properties file just to hold the Subversion version number, you decided put that version right in the ivy.xml. The question is, where? I'm not aware of a natural place in the ivy-module schema to put that extra piece of information. On Thu, Nov 20, 2008 at 8:46 AM, Shawn Castrianni < [EMAIL PROTECTED]> wrote: > If the source comes from CVS, we tag it. If the source comes from SVN, I > use the CI system to set an ANT property based on what subversion revision > was checked out which gets resolved and stored into the ivy.xml file for > publishing. Then any published build will contain the ivy.xml file which > contains the revision number from subversion from which it was built. Once > nice feature of subversion. > > --- > Shawn Castrianni > > -----Original Message----- > From: Niklas Matthies [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2008 7:27 AM > To: [email protected] > Subject: Re: buildnumber Ant task & automated updates of ivy.xml > > > I'm curious: Given a build number, how do you later find the > corresponding sources in SVN? Does the CI system tag the sources > with the auto-incremented build number? > > -- Niklas Matthies > >
