Ant is the solution, and using the maven provided vars to set the replace task...
Ok, is like kill a fly with a bazooka, but, it works... :D 2010/8/2 Dan Tran <[email protected]> > ah, dont tight hudson to your maven build, you should get maven to get > those values for you via buildnumber-maven-plugin. This we you can > invoke maven any where without the need to have hudson to start your > build > > -D > > On Mon, Aug 2, 2010 at 6:46 PM, Pulkit Singhal <[email protected]> > wrote: > > Nope did not invent the names :) > > > > I'm using hudson and I believe that these environment variables are > > being set by Hudson for me. > > > > > http://wiki.hudson-ci.org/display/HUDSON/Building+a+software+project#Buildingasoftwareproject-HudsonSetEnvironmentVariables > > > > On Mon, Aug 2, 2010 at 9:38 PM, Wayne Fay <[email protected]> wrote: > >>> <buildNumber>${BUILD_NUMBER}</buildNumber> > >>> <svnRevisionNumber>${SVN_REVISION}</svnRevisionNumber> > >> > >> Where do you believe the values for these templates/variables should > >> be coming from? Did you just invent the names yourself? > >> > >> Wayne > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cesar De la Cruz Rojas * ----------------------------------------------------------------------------- * Sennior Software Engineer ----------------------------------------------------------------------------- Follow me in Facebook : http://www.facebook.com/aquiles.geo Twitter http://twitter.com/ageo Picture blog http://ageo.deviantart.com
