Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
None
-
Windows XP
Description
I have 2 groovy scripts:
Caller.groovy
++++++++++++++
c = new Callee()
c.hello()
Callee.groovy
++++++++++++++
class Callee {
void hello()
}
When scripts are in the following directory: "C:\fun fun" I run the following command:
C:>groovy -cp . Caller
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Caller.groovy: 1: unable to resolve class Callee
@ line 1, column 5.
c = new Callee()
^
1 error
If I run from the directory named "C:\fun" it runs fine.
Conclusion the space in the directory name causes problems for the classloader.
Attachments
Issue Links
- is duplicated by
-
GROOVY-2211 unable to resolve class by directorynames with blanks eg: "Eigene Dateien"
- Closed