"In-file property expansion" with filtersfile
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   nicolas_nico
Posted On:   Monday, October 10, 2005 06:16 AM

Hello, In my build.xml, during a copy, the task filterset doesn't work well (or as I expected it). Here's some code: The token in myant.bat are (almost) well interpreted. Almost because, in the property file ${properties.file.wanted} I have several properties definied like that: home.dir=/home ANT_HOME=${home.dir}/ant And finally in my 2nd myant.bat, @ANT_HOME@ is replaced by ${home.dir}/ant and not /home/ant. If you have an idea... Thanks Nico    More>>

Hello,


In my build.xml, during a copy, the task filterset doesn't work well (or as I expected it).


Here's some code:

			







The token in myant.bat are (almost) well interpreted.
Almost because, in the property file ${properties.file.wanted} I have several properties definied like that:

home.dir=/home

ANT_HOME=${home.dir}/ant



And finally in my 2nd myant.bat, @ANT_HOME@ is replaced by ${home.dir}/ant and not /home/ant.


If you have an idea...



Thanks



Nico    <<Less

Re: "In-file property expansion" with filtersfile

Posted By:   Anonymous  
Posted On:   Friday, October 14, 2005 05:52 AM

Re: "In-file property expansion" with filtersfile

Posted By:   Roseanne_Zhang  
Posted On:   Monday, October 10, 2005 12:20 PM

That is it supposed to do. Filter does not do property replacement for you.
About | Sitemap | Contact