padcom / grails-routing

Apache License 2.0
30 stars 31 forks source link

Error executing script CreateRoute #39

Open tothertomb opened 10 years ago

tothertomb commented 10 years ago

Installed plugin as per instructions. Following is error I get. I'm on grails v2.3.5.

Error executing script CreateRoute: groovy.lang.MissingMethodException: No signature of method: CreateRoute.createArtifact() is applicable for argument types: () values: [](NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) groovy.lang.MissingMethodException: No signature of method: CreateRoute.createArtifact() is applicable for argument types: () values: [] at CreateRoute$_run_closure1.doCall(CreateRoute:8) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.executeTargets(Gant.groovy:591) at gant.Gant.executeTargets(Gant.groovy:590)

bryndavies commented 10 years ago

I am also seeing this problem in latest version (v1.3.2), but a pull request to fix this was submitted back in Jan (#38). Could this be merged in for the next release please?

ricston-git commented 10 years ago

me too

magno32 commented 10 years ago

Same here...

Is there a workaround in place that anyone knows of? I can't seem to see if the plugin (haven't used it before) does any magic other than adding Route to the "routes" folder, or am I missing something. Being able to use this manually would still be nice.

Thanks