- This topic has 9 replies, 5 voices, and was last updated 20 years, 10 months ago by Scott Anderson.
-
AuthorPosts
-
Steve BromleyMemberI’ve just noticed that if you first open a JSP as read-only (ClearCase not Checked out) and then make it writable (check out), none of the code completion, etc works until you close and reopen the editor.
It took me a few minutest to come up with the reasons why I was getting intermittent results.
The editor really needs to recheck the status of the file until it is available. It would have been helpful for it to throw me an error of somekind also.
Riyad KallaMemberbromley,
We really appreicate the info as most (all) of the devs here work with or on CVS so we aren’t farmiliar with the behaviors of some others source control systems. I will send this on up the chain to God and see what he says 😉
support-michaelKeymasterQ: are you using the ClearCase plugin to perform checkouts?
Steve BromleyMemberYes, I am using the Rational Clearcase plugin from their site.
If you are familar with ClearCase, we work inside the drive so when a file is not checked out, it is represented as Read Only. Once checked out, it is write enabled.
I’ve found if you try to do anything on a “readonly” type file, none of the completeion type stuff works (even after checking it out) until the editor is closed and reopened.
support-michaelKeymasterThanks. I needed to be sure that you weren’t modify a file’s state outside of the workbench since that approach is has a known weakness. I have entered a PR on this for further research.
Brendan WalkerMemberI noticed a similar problem with a version of CVS that I use. (I’m not using the CVS built into Eclipse.) I would open a JSP with the My Eclipse Editor, check it out in CVS (i.e. make it writable). I could edit in the file by typing, but often I would not be able to use the Paste functionality (Ctrl-V). I didn’t think much of the problem though, as I’d just close and open the file again.
(I’m using Eclipse 2.1.2 and MyEclipse 2.7RC2 on WinXP)
Riyad KallaMemberozzybren, what CVS client are you using? and are you using CVS on a unix/linux box or CVSNT as the server?
Brendan WalkerMemberG’day Riyad,
Our CVS is sitting on a Linux server and it’s version 1.10.7. I’m aware this is not supported by Eclipse so I’m checking files in and out with WinCVS v1.2. As I said, it’s not a big isue for me, just though you might like to know. I don’t have the same problem with the Eclipse Java editor. So far it’s only in the MyEclipse JSP Editor.
Brendan
Riyad KallaMemberBrendan,
We’ll see what we can find on our end and let you know. Thanks for the details.
Scott AndersonParticipantBrendon,
I reproduced this problem and reopend a bug on it. It should be fixed for the 2.7/3.7 GA release. Thanks for bringing it to our attention.
-
AuthorPosts