ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Help needed with FileSet
Date Tue, 04 Jun 2002 15:25:32 GMT
This works for me (note that addition of ${basedir}):
<project basedir=".." default="test">
  <target name="test">
    <copy todir="target" filtering="no">
      <fileset dir="${basedir}/src" includes="**/*.java">
        <not>
          <presentselect targetdir="${basedir}/src">
            <mapper type="glob" from="*.java" to="*.form"/>
          </presentselect>
         </not>
       </fileset>
     </copy>
  </target>
</project>

(Note: If you're running beta2, change <presentselect> to <present>.)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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


Mime
View raw message