In case your classes are referring to any classes / interfaces that are defined in the plugin you can add the code under the above path as a source path.
I did the following for Taggable plugin -
Added a variable GRAILS_PLUGIN_DIR & pointed it to user.home\.grails\projects\plugins
Added a source path by using "Link Source" option, extended the above variable GRAILS_PLUGIN_DIR\taggable-{version}\src\groovy
With this change eclipse is able to find the Taggable interface and stop's complaining about missing imports.
No comments:
Post a Comment