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 67250 - editing NBM project properties won't work with clearcase
Summary: editing NBM project properties won't work with clearcase
Status: RESOLVED INCOMPLETE
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 00:26 UTC by Rich Unger
Modified: 2005-10-21 00:52 UTC (History)
1 user (show)

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 Rich Unger 2005-10-21 00:26:23 UTC
I cannot edit an NBM project's properties in a ClearCase view.  When I attempt
to dismiss the properties dialog, I get a confirmation dialog "Do you wish to
call edit command?", which (when editing a source file) normally means that the
needed file will be checked out before the edit occurs.  That does not seem to
be happening here.  The file remains read-only, not checked-out, and if I open
the project properties again, I see that my changes did not take effect.

I have no way of testing, but this may also be the case with Perforce, which
also makes files read-only by default.
Comment 1 Jesse Glick 2005-10-21 00:33:51 UTC
Cannot work on it myself yet - need someone with access to such a machine to
debug/diagnose. In particular I need to know if issue #46089 is in fact fixed.
As far as I know the NBM project type does not do anything special with
properties files, i.e. it uses the ant/project module's infrastructure, which is
supposed to handle UserQuestionException.
Comment 2 Rich Unger 2005-10-21 00:45:09 UTC
46089 looks to be checked in.  If that's the case, then I'm already running with
that fix, right?

Anyway, I'm not getting a
org.netbeans.modules.vcscore.VcsFileSystem$FileLockUserQuestionException.  I get
the confirmation dialog "Do you wish to call edit command?" (which, BTW, has
only an "OK" button, no cancel.  Seems silly to ask a question and give only one
possible answer).
Comment 3 Jesse Glick 2005-10-21 00:52:30 UTC
Yes, issue #46089 was supposed to have been fixed for 4.0. But I do not run a
VCS with mandatory locks and so I cannot easily check.

"I'm not getting a
org.netbeans.modules.vcscore.VcsFileSystem$FileLockUserQuestionException" - are
you sure it's not being thrown? It's supposed to be thrown by the VCS, then
caught by some other code - in this case, ant/project - with a dialog displayed
and if you accept, a retry. The dialog is I think provided by the VCS
integration, so I would not know anything about it.

Provisionally assigning to vcsgeneric folks in case they can shed some light on
this.