ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O'Hara, Patrick" <patrick.oh...@workscape.com>
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
262-408-3849
patrick.ohara@workscape.com




-----Original Message-----
From: Larry V. Streepy, Jr. [mailto:streepy@healthlanguage.com]
Sent: Friday, June 22, 2001 3:41 PM
To: ant-user@jakarta.apache.org
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"/>
    </fileset>
    <mapper type="glob" from="*" to="*.bak"/>
</move>

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"/>
</move>

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

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

970/626-5028 (office)           mailto:streepy@healthlanguage.com
970/626-4425 (fax)              http://www.healthlanguage.com

Mime
View raw message