ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9056] New: - Filterset nested filtersets - doc or feature error
Date Tue, 14 May 2002 03:27:49 GMT
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=9056>.
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=9056

Filterset nested filtersets - doc or feature error 

           Summary: Filterset nested filtersets - doc or feature error
           Product: Ant
           Version: 1.5Beta1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: peterwlynch@yahoo.com


<target name="filter-prepare" >

<filterset id="filter.appserver.apache">
<filter token="APACHE_HOME" value="here" />
</filterset>

<filterset id="filter.all">
<filter token="USER_NAME" value="${user.name}" />
<filter token="GROUP_NAME" value="${user.group}" />
<filter token="HOST_NAME" value="${host.name}" />
<filter token="HOST_ADDR" value="${host.address}" />

<filterset refid="filter.appserver.apache" />
<filterset refid="filter.webserver.tomcat" />
</filterset>
</target>

<target name="basic" depends="filter-prepare">
	<delete file="filtered" quiet="true" />
	<copy file="tocopy" tofile="filtered">
		<filterset refid="filter.all" />
	</copy>
</target>

First I get no warning/error from Ant anything is wrong with the above.
So I assuming nested filtersets in filtersets are allowed? I couldn't find 
anything in the docs regarding nested filtersets.

Needless to say, filter tokens defined in filter.webserver.apache above are not 
used during the copy.

So is this a documentation thing or a feature missed?

I know I can work around using a seperate reference to filter.webserver.apache 
in my copy task.

-Peter

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message