Bugs item #1511641, was opened at 2006-06-23 18:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1511641&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: User interface
Group: 3: Ugly
Status: Open
Resolution: None
Priority: 5
Submitted By: hperkins (hperkins)
Assigned to: Nobody/Anonymous (nobody)
Summary: working directory not quite right yet
Initial Comment:
The working directory setting in the latest beta still
is a bit confusing. If I have a file named, say,
test.txt in the same directory as my main Java program
and the program opens the file using "new Scanner(new
File("test.txt"))", this will almost always work.
However, this can fail if I run the program immediately
after opening it, because the default working directory
is the folder containing DrJava, not the one containing
the main program. If the main program is simply
recompiled, things now work because running the
compiler resets the working directory.
There's too much of a surprise here. If I've got a
program that is able to successfully open files, then
it ought to behave the same if I quit DrJava, restart
it, open the same main program file, and run it again.
Setup: DrJava beta 20060610-0349, latest Java 5, both
Windows XP and OS X.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1511641&group_id=44253
|