Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
GroovyPlugin 1.0.0.20060711
Description
Copied from: http://www.nabble.com/Eclipse-and-%27Invalid-Package-Declaration%27-error.-tf1897916.html#a5449140
I created a app with grails0.2, imported it into eclipse3.2, have all subfolders marked as src-folders (default), but still get errors like this in eclipse:
"Invalid Package declaration in script: C:\dev\grails\inventory\grails-app\conf\ApplicationBootStrap.groovy is not in a source folder matching the package declaration: "
(Of course) my ApplicationBootStrap.groovy doesn't have a package declaration, like all other generated groovy-files it is starting with "class xyz" instantly.
My .classpath file:
<classpathentry kind="src" path="grails-app/conf"/>
Is this a bug of the groovy plugin?