-
-
Save smaldini/4560790 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("_GrailsWar") | |
target(main: "Clean, Test, and War") { | |
clean() | |
allTests() // results in (1) | |
//packageApp() not needed | |
warCreator.configureWarName() | |
war() | |
} | |
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