Hi
I'm wondering if it is possible to have conditional execution of the
configuration closure?
I'm currently trying to write a simple release plugin which sets up
tasks for taging, branching, uploadingArchive, bumbing version number,
committing, and some other stuff.
I'd like this plugin to be applied to all our "components" but
currently I'm not quite sure how I can achieve that because when I'm
declaring for example the svn copy task it uses parameters which
aren't available unless one is wanting to execute that task.
For example in my plugins apply method I've got
project.task([type:SvnCopyTask], 'tagRelease){
message = project.tagMessage
src = project.svnSrc
dest = project.svnDest
}
I'm pretty sure I'm missing something fundamental, how should I code
such a task configuration? Should I wrap the code that creates these
tasks and only create them they are specified as start parameters?
Cheers,
Micke
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email