ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject RE: converting a package into a directory
Date Fri, 27 Feb 2004 23:53:12 GMT
--- wrote:
> That would be the "unpackage" mapper (Ant 1.6).
> ... no <delete> hasnīt any mapper support.
> But the <propertyregexp> from AntUtil could help
> converting a package name
> to
> directory name.

I have just committed <mapper> support for
<pathconvert> to the CVS version; you can now use:

<property name=""
          value="" />
<property name="src.dir" location="src" />

<pathconvert property="package.dir" pathsep=" ">
        <pathelement path="${}" />
    <mapper type="unpackage" from="*" to="*"/>
    <map from="${basedir}" to="${src.dir}"/>


This is a little funny to use, but the
package/unpackage mappers are funny things.


Do you Yahoo!?
Get better spam protection with Yahoo! Mail.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message