Skip to content

Instantly share code, notes, and snippets.

@sebastienblanc
Created February 22, 2013 15:42
Show Gist options
  • Save sebastienblanc/5014303 to your computer and use it in GitHub Desktop.
Save sebastienblanc/5014303 to your computer and use it in GitHub Desktop.
/this code is inside a module script, I want to copy the resources folder from the module to the web folder of the project
vertx.fileSystem.copy("mods/org.aerogear.vertxgo-v0.1/resources", "web",true) { ar ->
if (ar.succeeded()) {
log.info("Copy was successful")
} else {
log.error("Failed to copy", ar.exception)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment