Hi Simon,
gradle is your friend here. the following snippet should work for you:
processResources{
from "model"
}
regards,
René
Am Fr, 18.02.2011, 15:13, schrieb simonharrer:
>
> Hi folks,
>
>
> I now use gradle for my build and this works really well. However, I ran
> into the following problem:
>
> I want to copy the folder "model/" and same files to the classes
> directory during the execution or after the execution of the
> processResources task. The following code does not work:
>
>
> tasks.processResources.doLast { copy { from relativePath(projectDir) into
> relativePath(project.sourceSets.main.classesDir) include
> 'plugin.properties'
> include 'plugin.xml' include 'model/**/*.ecore' }
> }
>
>
> How can this be achieved?
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/Copying-additional-files-during-proce
> ssResources-tp3391147p3391147.html Sent from the gradle-user mailing list
> archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
> http://xircles.codehaus.org/manage_email
>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email