Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1Release
-
Fix Version/s: 2.0.2Release
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
I dont know if this is really an error. I think it should be considered as a bug.
I had a Gant script in a Grails project residing in scripts/; that folder was not added to the Build Path. When I tried to format this source file, the plugin always outputed an error. Formatting should work for every file, that should not be dependant on the build path.
GroovyCompilationUnit inherits a getUnderlyingResource method that only appears to work right when on the build path. I've patched this up by implementing a method to handle this as a special case and delegate to super method in all other cases.