Bug: sleep.classpath does not work proper on Windows platform

10 views
Skip to first unread message

Ralph Becker

unread,
Jan 11, 2011, 6:15:12 AM1/11/11
to Sleep Developers
The method findJarFile in the ParserConfig class corrupts absolute
paths on Windows.
Since an absolute path on Windows starts with a drive letter followed
by a colon
the following line does not produce a correct search path array with
the result that
the jar file can not be found.

(line 66) String[] paths = System.getProperty("sleep.classpath",
".").replace(':', ';').split(";");

I know, on *nix or linux the path separator is a colon, so it is
actually not a bad idea to allow
the usage of colons in the sleep.classpath on these platforms. Could
that be fixed?

Raphael Mudge

unread,
Jan 11, 2011, 8:40:01 AM1/11/11
to sleep-de...@googlegroups.com
I think this is doable. I may create a google code project and move
all of the Sleep stuff there so we can revive the bug tracker and such
properly.

-- Raphael

> --
> -----
> To post to this group, send email to sleep-de...@googlegroups.com
> To unsubscribe from this group, send email to sleep-develope...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sleep-developers?hl=en
>
> The Sleep Scripting Project: http://sleep.dashnine.org/

Ralph Becker

unread,
Jan 12, 2011, 7:33:09 AM1/12/11
to Sleep Developers
Berlios has a bug tracker which is disabled for the sleep project...
If you think that google code is the better platform or easier to
setup/use you can move it there, no problem for me.

Ralph


On 11 Jan., 14:40, Raphael Mudge
Reply all
Reply to author
Forward
0 new messages