On 2010-02-01, Jonathan Gordon <[email protected]> wrote:
> Perhaps I wasn't clear enough. At the bottom of my original mail I
> included the following ant snippet, which is NOT correct for my
> particular situation:
> <sync todir="${build}/tomcat" failonerror="true" overwrite="true">
> <fileset dir="${tomcat}">
> <exclude name="logs/*"/>
> <exclude name="work/*"/>
> <exclude name="temp/*"/>
> </fileset>
> </sync>
> While that's excluding the directory contents, it's also excluding the
> directories themselves. I would like the excluded directories, but not
> their contents. How can I do that?
I think you need includeemptydirs="true" on the <sync> element as well.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]