I gave up on trying to setup a source set filter to do what I need
(can't find any examples) so now I'm trying to just directly convert
ant:
<copy todir="${component.out}/src" preservelastmodified="true">
<fileset dir="${java.src.dir}">
<patternset id="compile-scope">
<includesfile name="${component.compile.includes}" />
<excludesfile name="${component.compile.excludes}" />
<exclude name="**/test/**"/>
</patternset>
</fileset>
</copy>
to
ant.copy(todir:"build/mapiToCompile"){
fileset dir:"/Users/phil/dev/optimize/trunk/src/java/core"
patternset{
includesfile name:
"/Users/phil/dev/optimize/trunk/build/dependencies/compile/mapi.txt"
excludesfile name:
"/Users/phil/dev/optimize/trunk/build/dependencies/compile/mapi-exclude"
}
}
I got this error:
A problem occurred evaluating root project 'bas-l10nSample'.
Cause: copy doesn't support the nested "patternset" element.
Cause: The <copy> type doesn't support the nested "patternset" element.
Can I not translate this to gradle?
Thanks
phil
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email