ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Pearlman Spencer" <Alan.PearlmanSpen...@Mobileaware.com>
Subject RE: Is there a way to copy only a directory structure?
Date Thu, 08 Nov 2001 18:10:18 GMT
Thanks,
I got it to work by using, but it copies files with no extension...

    <copy todir="${foobar}"
          includeEmptyDirs="yes">
      <fileset dir="${foo}"
               excludes="**/*.*">
      </fileset>
    </copy>
I tried:** **.* **/* but they don't copy anything...
Thanks,
Alan.


-----Original Message-----
From: Matt Lyon [mailto:matt@stargus.com]
Sent: 08 November 2001 17:29
To: Ant Users List
Subject: RE: Is there a way to copy only a directory structure?


Hi,

Just a guess (don't have time to test it for you right now), but try:

    <copy todir="${foobar}"
          includeEmptyDirs="yes">
      <fileset dir="${foo}"
               excludes="**.*">
      </fileset>
    </copy>

Cheers,

Matt
-----Original Message-----
From: Alan Pearlman Spencer
[mailto:Alan.PearlmanSpencer@Mobileaware.com]
Sent: Thursday, November 08, 2001 12:37 PM
To: Ant Users List
Subject: Is there a way to copy only a directory structure?


I am interested in copying a whole directory tree from A to B but
not the files, only the structure.
Any ideas?

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


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


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


Mime
View raw message