I have found an issue with file/path separators when
using the jEdit plugin on NT. It may also apply to any
other use of jalopy stand-alone or the other plugins
on Windows platforms. I have, for example, paths along
the lines of "D:\users\warrenn/.jalopy/bak" being
formulated by the plugin.
In the following source files(there maybe more) the
path separator for the backup directory is hard coded
as "/", this causes errors on NT where it requires a
separtor of "\". I belive the way to specify a
platform wide separator is to use the system
property "file.separator", ie.
System.getProperty("file.separator") instead of a
hard-coded one.
main/src/java/de/hunsicker/io/FileBackup.java
main/src/java/de/hunsicker/jalopy/Jalopy.java
main/src/java/de/hunsicker/jalopy/JalopyShell.java
main/src/java/de/hunsicker/jalopy/prefs/Defaults.java
(+more?)
I think this is causing my problems with errors
relating to backup files and the absence of the
history functionality working. I have been using the
latest jEdit plugin released on 16-04-2002.
Logged In: YES
user_id=44430
Could you please send me a stacktrace or be specific about
the kind of errors these file path strings cause?
Logged In: YES
user_id=319929
I have attatched a report containing some information on
this problem, I hope it is of use. Please let me know if
you need more data, thanks.
Information on problem 545077
Logged In: YES
user_id=319929
forgot to check files box - file attatched here.
Information on problem
Logged In: YES
user_id=44430
Please check out 1.0b6 and report whether any problems
persits!
Many thanks.
M.H.
Logged In: YES
user_id=44430
Changed with 1.0b6