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 14363] - filterset can not be refereced by refid in a sub-project
Date Fri, 08 Nov 2002 12:48:55 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=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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message