1.) copy { from someSpec } seems to confuse some people. They would rather
have something like copy { with someSpec }.
BTW: Is there a reason that the root _into_ of a copy spec is ignored when
included in a from?
2.)
task copy << {
copy {
from "C:/_b/hans/gradle/subprojects/gradle-docs/src/docs/stylesheets"
into("$projectDir/build/ug") {
include "**/user*.*"
}
into("$projectDir/build/ug2") {
include "**/user*.*"
}
}
}
If no root into is specified we get an exception. Should we not allow for
'abstract' roots?
Even if we specify one, the stuff is only copied into the root into. The
from seems not to be inherited into the into childspecs. Specifying multiple
root into's works. If we specify _from_ childspecs, the root into is
inherited.
- Hans
--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz