maybe with a Ant task
Look at the Replace task documentation
http://www.jajakarta.org/ant/ant-1.6.1/docs/en/manual/CoreTasks/replace.html

You need first, make a copy from a template with a Copy task, and next use
the replace task to replace the token with the new value, the current
version... : D

2010/8/2 Pulkit Singhal <[email protected]>

> Does anyone know how to write out to a file from inside a pom.xml file?
>
> I ask because I want to put my hudson build's ${SVN_REVISION} value
> into a version.txt file.
>
> Any ideas?
>
> - Pulkit
>
> ---------------------------------------------------------------------
> 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

Reply via email to