The manual ships with Ant. Look in $ANT_HOME/doc/manual. -Rob A > -----Original Message----- > From: Christine Gerstenmayer [mailto:christine.gerstenmayer@chello.at] > Sent: Tuesday, July 12, 2005 1:44 PM > To: 'Alexey N. Solofnenko' > Cc: 'Ant Users List' > Subject: WG: Howto do this in Ant: Replace a placeholder in a > file with > the content in another file > > > Hi Alexey, > sorry, I have to revoke my last answer. > Loadfile does not work, it does nothing. > > I use Ant 1.6.2. Can this be the reason ? For all ? Do you > have a manual for > Ant 1.6.2 ? > > Please help. > Regards > Christine > > -----Ursprüngliche Nachricht----- > Von: Christine Gerstenmayer [mailto:christine.gerstenmayer@chello.at] > Gesendet: Dienstag, 12. Juli 2005 21:46 > An: 'Alexey N. Solofnenko' > Cc: 'Ant Users List' > Betreff: AW: Howto do this in Ant: Replace a placeholder in a > file with the > content in another file > > Hello Alexey > Thanks very much for your help but I have another problem: > > Loadfile works fine: > > > > > > But if I want to replace the placeholder with the property > like this (the > placeholder in repository.xml is "&database;": > > > > > > Ant says: The entity "database" was referenced but not declared. > > Can you explain me this please? Where do I have to declare a token ? > > Thanks for your help. > Best Regards > Christine > > -----Ursprüngliche Nachricht----- > Von: Alexey N. Solofnenko [mailto:A.Solofnenko@mdl.com] > Gesendet: Dienstag, 05. Juli 2005 00:20 > An: Ant Users List > Betreff: Re: Howto do this in Ant: Replace a placeholder in a > file with the > content in another file > > I would suggest using > http://ant.apache.org/manual/CoreTasks/loadfile.html > with http://ant.apache.org/manual/CoreTasks/replace.html > > - Alexey. > > Christine Gerstenmayer wrote: > > Hi all, > > > > I need your help. > > > > > > > > I want to replace a placeholder in a file with the content > of another > > file. > > > > ... > > > -- > -------------------------------------------------------------- > ---------- > / Alexey N. Solofnenko > home: http://trelony.cjb.net/ > / > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org