Re: How can I exclude a directory's contents but not the directory itself?

2010-02-03 Thread Jonathan Gordon
On Mon, Feb 1, 2010 at 9:18 PM, Stefan Bodewig wrote: > I think you need includeemptydirs="true" on the element as well. > > Stefan Thanks Stefan! Here's the working snippet in case anyone else runs into this problem: Unfortunately, once I got this worked

Re: How can I exclude a directory's contents but not the directory itself?

2010-02-01 Thread Jonathan Gordon
---Original Message-- > From: Jonathan Gordon > To: user@ant.apache.org > ReplyTo: Ant Users List > Subject: How can I exclude a directory's contents but not the directory > itself? > Sent: 1 Feb 2010 20:53 > > I have a directory structure that looks like so: > > a

How can I exclude a directory's contents but not the directory itself?

2010-02-01 Thread Jonathan Gordon
I have a directory structure that looks like so: apache-tomcat-6.0.20/ |-- LICENSE |-- NOTICE |-- ... |-- bin | |-- bootstrap.jar | |-- ... |-- conf |-- lib |-- logs | |-- catalina.2010-01-13.log | |-- ... |-- temp |-- webapps `-- work |-- Catalina Using the sync command, I would like