DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25831

<filter> doesn't take command line properties.





------- Additional Comments From [EMAIL PROTECTED]  2003-12-30 22:47 -------
Sorry, I hit enter before I filled this out.
I have this in the build file:
<property name="hostname" value="127.0.0.1"/>

Later in one of the tasks I have a filter:
<filter token="HOST" value="${hostname}" />
<echo>Setting host to: ${hostname}</echo>

Now, if I run ANT using a flag of -Dhostname="localhost", I get an [echo] of:
Setting host to: localhost

However, the filter ignores the supplied change and still subs 127.0.0.1 in 
for @hostname@ in my files.

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

Reply via email to