When doing a cvs update, new files might be downloaded
to the local directories; however, they do not
automatically get added to a DrJava project.
It would be nice to rescan the project's source
directories for new *.java files when a project is
opened or when the user explicitly does a "Scan
Directories for New Files" action. DrJava then presents
a dialog with a list of new files, and the user can
select the files to add using checkboxes.
The project properties should have a checkbox
"Automatically Scan for New Files on Project Open".
Using an (optional) automatic scanner instead of making
ALL *.java files below the source root part of the
project has the advantage that it doesn't violate the
DrJava "culture" of being able to just compile and work
with a subset of the files in a directory.
Logged In: YES
user_id=1060117
See also my feature request: [ 1425713 ] Projects mirror file system
I think that until we achieve what I'm suggesting in my request, partial
solutions like this will just feel like complicated hacks that don't quite work
intuitively because there are other essential features of mirroring the file
system that are left out. (For example -- if we're adding files that show up in
the file system, should we also be removing files that aren't in the file system
(without annoying error messages)?)
A manual scan is already supported -- right click on the top-level folder and
select "Open All Files" or something like that.
Logged In: YES
user_id=1075744
Originator: YES
Started by patman600 in COMP 312, finished by mgricken.