Menu

#14 Path problems on Windows platform

closed
None
1
2002-08-18
2002-04-17
No

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.

Discussion

  • Marco Hunsicker

    Marco Hunsicker - 2002-04-17

    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?

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-04-17
    • assigned_to: nobody --> marcohu
     
  • Warren Nicholls

    Warren Nicholls - 2002-04-17

    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.

     
  • Warren Nicholls

    Warren Nicholls - 2002-04-17

    Information on problem 545077

     
  • Warren Nicholls

    Warren Nicholls - 2002-04-17

    Logged In: YES
    user_id=319929

    forgot to check files box - file attatched here.

     
  • Warren Nicholls

    Warren Nicholls - 2002-04-17

    Information on problem

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-05-19

    Logged In: YES
    user_id=44430

    Please check out 1.0b6 and report whether any problems
    persits!

    Many thanks.
    M.H.

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-05-25
    • status: open --> closed
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-05-25

    Logged In: YES
    user_id=44430

    Changed with 1.0b6

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-08-18
    • priority: 5 --> 1
     

Log in to post a comment.