I have an install task that I would like to have copy files from a
source tree of a specific type and leave the rest behind.  Copy spec
is below.  This mostly works.  All the target files are copied to the
right place.  However I am also left with empty directories from the
source wherever there were no files that match the include.

    into ( 'www' ) {
      from ( 'src' ) {
        include '**/*.js'
        include '**/*.css'
        include '**/*.png'
        include '**/*.jpg'
        include '**/*.jpeg'
        include '**/*.gif'
      }
    }

I am using 1.0-milestone-2, so I realize that the fix to GRADLE-1295
is probably causing me these problems.  Is there any way to get the
behavior I want?  Perhaps there's a need for configurable behavior for
empty directories?

http://issues.gradle.org/browse/GRADLE-1295

Cheers!


J

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to