DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27254>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27254 Loader.java does not work well in Windows environment Summary: Loader.java does not work well in Windows environment Product: Cocoon 2 Version: 2.1.4 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The cocoon bootstrap loader (in the tools/loader directory) does not work if an absolute path is used for a repository passed to the loader with the loader.jar.repositories system property. If the repository path contains a drive letter, e.g. "C:\foo\repository" the following parsing code of Loader jar splits the path in two parts <Loader.java> ... StringTokenizer st = new StringTokenizer(repositories,",;:"); while (st.hasMoreTokens()) { classLoader.addRepository(new File(st.nextToken())); } ... </Loader.java> The result is, that the repositories "C" and "\foo\repository" are added to the loader (It even works in the case that the VM's current working directory is somewhere on "C:"). I would suggest to replace the ",;:" with File.pathSeparator and modify cocoon.bat and cocoon.sh accordingly.