Menu

Commit [r4390]  Maximize  Restore  History

Rewrote makeRelativeTo so that it does not return bogus paths

on Windows (or platforms with multiple file system roots anymore).
If a path on drive D:\ should be made relative to something on
path D:\, the function now simply returns the absolute path of
the file to be made relative. That's as relative as it can get
with multiple file systems.
Updated properties to benefit from that.

M src/edu/rice/cs/drjava/config/EagerFileListProperty.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/util/FileOps.java

mgricken 2008-03-06

changed /trunk/drjava/src/edu/rice/cs/drjava/config/EagerFileListProperty.java
changed /trunk/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
changed /trunk/drjava/src/edu/rice/cs/util/FileOps.java
/trunk/drjava/src/edu/rice/cs/drjava/config/EagerFileListProperty.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/util/FileOps.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB