ok.. i can make a copy from template.. 

On Wed, 2005-03-09 at 09:40 +0200, Arto Pastinen wrote:
> There is a problem.. it writes file over existing one..
> It must be different file. That xml file is only template for final..
> Any hints?!?
> 
> - Artsi
> 
> On Wed, 2005-03-09 at 09:28 +0200, Arto Pastinen wrote:
> > Yes, that is what i was searching.. Thank you Wim!
> > 
> > On Wed, 2005-03-09 at 08:27 +0100, Deblauwe, Wim wrote:
> > > You can do this easily in ant:
> > > http://ant.apache.org/manual/CoreTasks/replace.html
> > > 
> > > regards,
> > > 
> > > Wim
> > > 
> > > -----Original Message-----
> > > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > > Sent: woensdag 9 maart 2005 8:16
> > > To: users@maven.apache.org
> > > Subject: string replace
> > > 
> > > 
> > > Hi!
> > > 
> > > Is there some plugin to replace strings in files?
> > > 
> > > I like to have a xml file, where i have my project version, but i like
> > > to replace it dynamically from project.xml.
> > > Like:
> > > <version>${pom.currentVersion}</version>
> > > 
> > > - Artsi
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > - - - - - - - DISCLAIMER- - - - - - - -
> > > Unless indicated otherwise, the information contained in this message is
> > > privileged and confidential, and is intended only for the use of the
> > > addressee(s) named above and others who have been specifically authorized 
> > > to
> > > receive it. If you are not the intended recipient, you are hereby notified
> > > that any dissemination, distribution or copying of this message and/or
> > > attachments is strictly prohibited. The company accepts no liability for 
> > > any
> > > damage caused by any virus transmitted by this email. Furthermore, the
> > > company does not warrant a proper and complete transmission of this
> > > information, nor does it accept liablility for any delays. If you have
> > > received this message in error, please contact the sender and delete the
> > > message. Thank you.
-- 
Arto Pastinen <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to