Velocity Reviews

Velocity Reviews (
-   Java (
-   -   Exclude Folders From Being Copy(Ant) (

blazingwolf7 12-22-2008 09:23 AM

Exclude Folders From Being Copy(Ant)

I am trying to build a file for my Java codes but encounter some problem while preparing to build file.
In the root directory, I have a mixture of files and folders.
I want to copy all the files and leave out all the folders together with its content

<copy todir="${build.dir}">
<fileset dir="${basedir}">
<exclude name="*.*"/>

But the code I used up there keep copying everything into my new folder. Is there anyway I can exclude the folders? Thanks for any advise

All times are GMT. The time now is 07:20 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.