With a fresh build, I sometimes get the "working dir
not found" dialog box where it complains that "working
directory D:\Documents\Semester 4 Spring 2006\COMP
312\drjava\..\..\..\..\..\F:\Temp" does not exist.
F:\Temp is there.
When I enter project properties, I get the following
exception:
Exception: can't get canonical file
at
edu.rice.cs.util.swing.DirectorySelectorComponent.setFileField(DirectorySelectorComponent.java:166)
at
edu.rice.cs.drjava.ui.ProjectPropertiesFrame.reset(ProjectPropertiesFrame.java:173)
at
edu.rice.cs.drjava.ui.ProjectPropertiesFrame.<init>(ProjectPropertiesFrame.java:155)
at
edu.rice.cs.drjava.ui.MainFrame$79.actionPerformed(MainFrame.java:1225)
I can't enter the project properties at all.
--Mathias
Logged In: YES
user_id=430590
We know the source of this problem. Windows does not
support paths that span devices, so the working directory
path above is invalid. Perhaps we can detect when we try to
construct a relative path (using the method makeRelativeTo
or makeRelative) on Windows that crosses device boundaries
and throw an exception. Then the clients of the
makeRelativeTo and makeRelative methods will have to respond
to this exception and perhaps use absolute paths instead.
-- Corky