ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O'Hara, Patrick" <>
Subject RE: Let's try this again
Date Fri, 22 Jun 2001 20:51:19 GMT
That did it.  Thanks.  I was trying to use a regex mapper and I guess I
missed something in the regex.

Patrick O'Hara

-----Original Message-----
From: Larry V. Streepy, Jr. []
Sent: Friday, June 22, 2001 3:41 PM
Subject: Re: Let's try this again

The example in the ANT manual shows this:

<move todir="my/src/dir" >
    <fileset dir="my/src/dir" >
      <exclude name="**/*.bak"/>
    <mapper type="glob" from="*" to="*.bak"/>

A simple change should get you what you want, like this:

<move todir="my/src/dir" >
    <fileset dir="my/src/dir" includes="**/*.zip"/>
    <mapper type="glob" from="*" to="*.bak"/>

Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office) 
970/626-4425 (fax)    

View raw message