Hi there,
I'm working on some additional features for the pdePlugin gregory
initiated last year for building eclipse rcp apps via gradle. I want to
assemble a targetPlatform via a copy task out of a configuration.
here is a snippet of my build file:
...
dependencies {
targetPlatform name: 'eclipse-SDK', version: '3.5.1', classifier:
'win32', ext: 'zip'
targetPlatform name: 'eclipse', version: '3.5.1', classifier:
'delta-pack', ext: 'zip'
}
...
...
task assembleTargetPlatform(type: Copy) {
// assemble all dependencies to one Eclipse targetPlatform
configurations.targetPlatform.findAll{it.name.endsWith('.zip')}.each{
from zipTree(it)
}
configurations.targetPlatform.findAll{it.name.endsWith('.tar')}.each{
from tarTree(it)
}
into 'build/targetPlatform'
}
My pdePlugin contains a configuration called targetPlatform. Now I want
to move the assembleTargetPlatform task from the buildfile to to the
plugin itself. But how should a class which reflects the logic of the
task above look like? I guess that isn't that difficult, but I don't
know where to start here. suggestions?
thanks in advance,
cheers,
René
------------------------------------
Rene Groeschke
[email protected]
http://www.breskeby.com
------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email