You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/12/10 14:06:04 UTC
DO NOT REPLY [Bug 32631] -
allow includes / excludes for fileset references
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32631>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32631
------- Additional Comments From jan@materne.de 2004-12-10 14:06 -------
The attributes includes and excludes are - simply spoken - an easier way for
defining the include/exclude selectors.
<fileset dir="." includes="WEB-INF/"/>
is the same as
<fileset dir=".">
<include name="WEB-INF/"/>
</fileset>
Adding these two attributes together with refid would result in the question
why not using all the other selectors too.
That would result in a completely different meaning. refid refers to an
existing ProjectComponent (not only filesets) as it was defined earlier.
You want to use that as a template for defining new.
But you can solve your need:
<fileset id="webapp.only" ... includes="WEB-INF/"/>
<fileset id="webapp.rest" ... excludes="WEB-INF/"/>
Then uses both references.
<copy|javac|...>
<fileset refid="webapp.only"/>
<fileset refid="webapp.rest"/>
</>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org