I have the following copyspec:

releaseCopySpec = copySpec {
  into( "hibernate-release-$project.version" ) {
    into('lib/required') {
        ...
    }
    ...
    [ 'hibernate-c3p0', 'hibernate-proxool', ... ].each { feature ->
        final String shortName = feature.substring( 'hibernate-'.length() );
        into('lib/optional/' + shortName) {
            ...
        }
    }
  }
}

Everything correctly gets placed into "hibernate-release-$project.version" 
except for the work done in the "feature" closure.  The stuff done in the 
closure goes into lib/optional in the *root* of the archive.  As a counter-
example, the lib/required stuff correctly goes into hibernate-
release-$project.version/lib/required.

Is this expected?  Do I need to additionally and separately account for 
hibernate-release-$project.version inside the closure?

---
Steve Ebersole <[email protected]>
http://hibernate.org

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

    http://xircles.codehaus.org/manage_email


Reply via email to