xlson/standalone-war — pull request #10 by bond- (2012-07-26 07:41:25+00:00)
Title: Removing deprecations and get the proper warName

Your previous implementation:

`def warName = inWar[0..(inWar.indexOf('.war')-1)]` for the input string used to return "/home/sbserver/projects/test-xyz/target/test-xyz-0.1" for "inWar = /home/sbserver/projects/test-xyz/target/test-xyz-0.1.war" so changed it to `def warName = (inWar=~/.+[\/\\](.+\.war)/)[0][1]`

Changed other variables as per the deprecation warning:
`Dynamic properties are deprecated: http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
Deprecated dynamic property: "outWar" on "task ':standaloneify:buildStandaloneWar'", value: "build//home/sbserver/p...".`