Skip to content

Instantly share code, notes, and snippets.

@kpiwko
Created June 20, 2014 14:25
Show Gist options
  • Select an option

  • Save kpiwko/ac66a44eda9c8342d1e7 to your computer and use it in GitHub Desktop.

Select an option

Save kpiwko/ac66a44eda9c8342d1e7 to your computer and use it in GitHub Desktop.
Groovy magic
// update arquillian.xml files with EAP home in all installations and integration test directory
project.selectedInstallations.inject( Tasks.chain([
jbossHome: "${home}"
], ArquillianXmlUpdater).dir(project.rootDir).containers('jboss', 'domain-controller', 'main-server-group')
) { arqXmlUpdater, installation ->
arqXmlUpdater.dir(installation.home)
}.execute().await()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment