Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3.1, 1.3.2
-
Fix Version/s: 2.3-M2
-
Component/s: None
-
Labels:None
Description
If you have script that references classes from a plugin it won't compile. You get class not found.
This seems to be because the GrailsScriptRunner only loads on classes from the applications classesDir. Now that pluginClasses are stored in in a seperate pluginClassesDir scripts which reference plugin classes won't compile.
I'd suggest the GrailsScriptRunner adds pluginClasses to the class loader in addition to the application classes.
Kev
Can you please provide a setup that exhibits this issue.
I know the problem exists, it will just make it easier to verify that the issue is solved if I have a sample to work with.