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 10027 - Properties window does not see change in file readonly stat
Summary: Properties window does not see change in file readonly stat
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-07 03:39 UTC by ssffleming
Modified: 2008-12-22 15:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssffleming 2001-03-07 03:39:45 UTC
Testing using build 010306 

If I mount a filesystem containing read only files (under CVS)
and checkout a file using an external CVS tool, I am not able
to change the property of that file.  Specifically I can't change
the compiler property to internal execution.

Workaround is to close and restart FFJ.
Comment 1 Jesse Glick 2001-03-12 18:04:48 UTC
QA--I think this is duplicate. The problem is that there is no API currently for
files to signal a change in read-only status.
Comment 2 Jaroslav Tulach 2001-03-13 10:07:54 UTC
The main problem is CompilerSupport.createCompilerProperty that at the creation
time checks for the readonly attribute and creates either ReadWrite or ReadOnly
property.

Instead a canRead, canWrite methods should be overriden to reflect the actual
state of the file object.

Also please update ExecSupport
Comment 3 akemr 2001-03-21 09:20:01 UTC
Fixed. Fix will be in dev build #151 and release32 build #10

CompilerSupport.createCompilerProperty,
ExecSupport.createParamsProperty,
ExecSupport.createExecutorProperty and
ExecSupport.createDebuggerProperty methods was modified 

to recognize readonly state online.
Comment 4 Marian Mirilovic 2002-04-19 13:12:48 UTC
verified in [nb_dev](20020419)
Comment 5 Quality Engineering 2003-07-01 16:12:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.