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 2002/11/08 13:48:55 UTC

DO NOT REPLY [Bug 14363] - filterset can not be refereced by refid in a sub-project

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=14363>.
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=14363

filterset can not be refereced by refid in a sub-project

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From bodewig@apache.org  2002-11-08 12:48 -------
Using 

test1.xml:
<project default="t">
  <filterset id="myFilterset">
    <filter token="ATTACHMENT_UPLOAD_DIR" value="${attachment.upload.dir}"/>
    <filter token="ATTACHMENT_DOWNLOAD_DIR" value="${attachment.download.dir}"/>
 </filterset>

  <target name="t">
    <ant antfile="test2.xml" 
         inheritAll="true" 
         inheritRefs="true" 
         target="t2"/>
  </target>
</project>

test2.xml:
<project default="t">
  <target name="t">
    <delete dir="testdir"/>
  </target>

  <target name="t2">
    <mkdir dir="testdir"/>
    <copy todir="testdir">
      <fileset dir=".">
        <include name="*.xml" />
      </fileset>
      <filterset refid="myFilterset"/>
    </copy>
  </target>
</project>

it works for me with both, CVS HEAD and Ant 1.5.1.  Either your build file is
more complicated than that (in which case I need more input) or there is a
just a typo or similar.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>