I know that what you suggested is a perfectly acceptable solution ...
but I cringe at the thought of running ant in maven ... no real reason
to do so ... it is just unappealing to me somehow. And I find it just
a bit odd that I can't write out or echo variables to a file. Doesn't
maven have any controls for that at all?

On Mon, Aug 2, 2010 at 6:32 PM, a.geo <[email protected]> wrote:
> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to