Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng-generate-all error. #34

Open
ghost opened this issue Jan 3, 2014 · 5 comments
Open

ng-generate-all error. #34

ghost opened this issue Jan 3, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 3, 2014

ng-generate-all angular.test.sector
| Error Error running script ng-generate-all sector: startup failed:
_NgGenerate_groovy: 115: The return type of java.lang.Object getTemplateNames() in AngularTemplateGenerator is incompatible with java.util.Set getTemplateNames() in org.codehaus.groovy.grails.scaffolding.AbstractGrailsTemplateGenerator
. At [115:2] @ line 115, column 2.
1 error

@laukendra
Copy link

I am also facing same issue...
Error Error executing script NgGenerateAll: startup failed:
_NgGenerate_groovy: 115: The return type of java.lang.Object getTemplateNames() in AngularTemplateGenerator is incompatible with java.util.Set getTemplateNames() in org.codehaus.groovy.grails.scaffolding.AbstractGrailsTemplateGenerator
. At [115:2] @ line 115, column 2.
1 error
.........
Have you any idea how to fix this issue?

Thanx!

@rosstang2565
Copy link

The newest zip file not dploy to maven repo. You should downlod aggug's update from his branch and install to your local maven repo.
Fix:
AngularTemplateGenerator.groovy
@OverRide
protected Set getTemplateNames() { ... }

@johnhall
Copy link

Any chance of creating a new release with this fix? I wanted to use this plug-in, but I'm not going to roll it out to the entire team if we have to do workarounds. Lends itself to a recurring wasteful activity.

@aberbenni
Copy link

I'm interested in a new release too, in the meantime I'm developing an experimental new version featuring platform core Themes and grails Fields plugin. https://github.com/aberbenni/grails-angular-scaffolding.

@johnhall
Copy link

Thanks. I'll check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants