ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Vervelle <nicolas.verve...@steria.com>
Subject Re: Copy empty directory
Date Mon, 24 Oct 2005 07:08:56 GMT
Have you tried without the "." in your fileset pattern : something like 
"**/*" ?

wolverine my wrote:

>Hi!
>
>I'm using Ant 1.6.5 and I have the following directories and files
>
> test
>  + war
>  |  |
>  |  + WEB-INF
>  |  + index.jsp
>  |
>  + build.xml
>
>note that the WEB-INF directory is empty and when executing the following task,
>
>  <copy todir="${catalina.dir}/webapps/test">
>    <fileset dir="war">
>      <include name="**/*.*"/>
>    </fileset>
>  </copy>
>
>The index.jsp is copied into webapps/test but the WEB-INF directory is not.
>I have tested the task with/without the includeEmptyDirs="true".
>
>Any idea what could be the problem?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>



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


Mime
View raw message