Created
January 17, 2013 21:07
-
-
Save townsfolk/4559751 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
includeTargets << grailsScript("_GrailsInit") | |
includeTargets << grailsScript("_GrailsTest") | |
includeTargets << grailsScript("_GrailsPackage") | |
//includeTargets << grailsScript("Init") | |
//includeTargets << grailsScript("Bootstrap") | |
//includeTargets << grailsScript("TestApp") | |
//includeTargets << grailsScript("War") | |
target(main: "Clean, Test, and War") { | |
clean() | |
testApp() // results in (1) | |
packageApp() // doesn't war up app | |
war() // results in (2) | |
} | |
setDefaultTarget(main) | |
/* (1) | |
619] grails test-and-war | |
| Environment set to development..... | |
| Error Error executing script TestAndWar: groovy.lang.MissingMethodException: No signature of method: TestAndWar.testApp() is applicable for argument types: () values: [] | |
Possible solutions: getAt(java.lang.String), asType(java.lang.Class), iterator() (Use --stacktrace to see the full trace) | |
*/ | |
/* (2) | |
[620] grails test-and-war | |
| Compiling 113 source files | |
| Compiling 8 source files..... | |
| Error Error executing script TestAndWar: : You must specify the war file to create! (Use --stacktrace to see the full trace) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment