Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

enable EMC as early as possible to prevent meta class inconsistencies…

…. fix for GRAILS-8832 "plugin dynamic methods added to a custom grails artefact are unavailable during integration testing"
  • Loading branch information...
commit df9769cbbc9f9cf06b167c29df705edcc7480bb6 1 parent 02d3c4d
@graemerocher graemerocher authored smaldini committed
3  grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/cli/
@@ -24,6 +24,7 @@
import grails.util.GrailsNameUtils;
import grails.util.PluginBuildSettings;
import groovy.lang.Closure;
+import groovy.lang.ExpandoMetaClass;
import groovy.lang.GroovyObject;
import groovy.lang.GroovySystem;
import groovy.util.AntBuilder;
@@ -127,7 +128,7 @@ public void setInteractive(boolean interactive) {
public static void main(String[] args) {
System.setProperty("net.sf.ehcache.skipUpdateCheck", "true");
+ ExpandoMetaClass.enableGlobally();
originalIn =;
originalOut = System.out;
Please sign in to comment.
Something went wrong with that request. Please try again.