This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 23526 - Save project action
Summary: Save project action
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-15 15:14 UTC by Pavel Buzek
Modified: 2003-12-11 14:25 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2002-05-15 15:14:12 UTC
Decide whether users should need to explicitly save the project file.
Comment 1 Torbjorn Norbye 2002-07-24 19:49:56 UTC
We've decided to automatically save the file - except it
will be optional. (default=yes)
Comment 2 Dirk Ruiz 2002-07-24 19:55:33 UTC
This sounds good.  It gives us an easy way to backpedal if we find out that
there is a pressing user need to control project file saving.
Comment 3 Pavel Buzek 2002-07-30 13:20:22 UTC
Must-have features for milestone3, have impact on APIs (at least potential).
Comment 4 Torbjorn Norbye 2002-08-06 00:32:20 UTC
I've replaced the code which used to close, and then
open, the project with a new "reopen" call. This is
implemented by wiping out the working directory
and recreating it from the .project file.
Thus, selecting "Reopen" when the .project file has
been modified externally now correctly reloads the
project.

I also added similar code to the Shutdown handler such
that if you've turned off auto saving, and you exit
with a modified project, answering "No" to the do-you-
want-to-save question will cause the changes to be
blown away such that the next startup will show the
unmodified saved project, not bring you back up in your
unsaved state.
Comment 5 Pavel Buzek 2003-07-02 10:07:38 UTC
done, closing