ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: AW: Unzip specific folders in ANT
Date Wed, 28 Jan 2009 06:57:18 GMT
>I tried with the wildcard that you provided and checked with 
>verbose option.
>Extracting of files doesn't seem to happen for specified folder names.

This works for me:


    <mkdir dir="_allImages_"/>
    <unzip src="${ant.home}/lib/ant.jar" dest="_allImages_">
            <include name="images/"/>
    <mkdir dir="_selectedFiles_"/>
    <unzip src="${ant.home}/lib/ant.jar" dest="_selectedFiles_">
            <include name="**/ant_logo_large.gif"/>
            <include name="**/LICENSE.txt"/>



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

View raw message