There seems to be a little issue with the new preference "Automatically associate to ClearCase on startup" introduced in version 2.2.38. It is not possible to unselect that feature. When doing so at the next startup of Eclipse during initialization a popup shows up "Associating projects with ClearCase". Checking the respective preference shows it active again.
Generally I'd consider it a better behavior of the CC plugin to not have this setting active by default. In our company we're heavily using Eclipse on *NIX platforms. We have a central installation which is used by all Eclipse users. Only some of them use ClearCase, others use Git or Subversion etc. So for many users the automatic activation of the ClearCase plugin is not appropriate.
Hi
Sounds like a reasonable have it unchecked as default. Did you see anything in the eclipse log.
br,
//mikael
Hi,
Thanks a lot!!! Just checked again the behavior of the ClearCase plugin (version 2.2.38.201510041948). I disabled the preference setting "automatically associate to ClearCase on startup" and then exited the eclipse application (Eclipse 4.5). Then I checked the .log file in the workspace's .metadata directory. There's no trace of the ClearCase plugin in the .log file.
Then I checked the .metadata/.plugins/net.sourceforge.eclipseccase directory. It contains these two files:
commentHistory.xml:
<comments></comments>
statecache18:
<states version="20040617_104400_GMT+0200">
</states>
My impression is that the ClearCase plugin's preference settings are not stored on disk.
Regards,
Adalbert
From: Mikael Petterson [mailto:eraonel@users.sf.net]
Sent: Tuesday, October 13, 2015 8:31 AM
To: [eclipse-ccase:bugs]
Subject: [eclipse-ccase:bugs] #396 Preference "Automatically associate to ClearCase on startup" cannot be disabled
Hi
Sounds like a reasonable have it unchecked as default. Did you see anything in the eclipse log.
br,
//mikael
[bugs:#396]http://sourceforge.net/p/eclipse-ccase/bugs/396/ Preference "Automatically associate to ClearCase on startup" cannot be disabled
Status: open
Group: 2.x
Created: Fri Oct 09, 2015 01:03 PM UTC by Adalbert
Last Updated: Fri Oct 09, 2015 01:03 PM UTC
Owner: nobody
There seems to be a little issue with the new preference "Automatically associate to ClearCase on startup" introduced in version 2.2.38. It is not possible to unselect that feature. When doing so at the next startup of Eclipse during initialization a popup shows up "Associating projects with ClearCase". Checking the respective preference shows it active again.
Generally I'd consider it a better behavior of the CC plugin to not have this setting active by default. In our company we're heavily using Eclipse on *NIX platforms. We have a central installation which is used by all Eclipse users. Only some of them use ClearCase, others use Git or Subversion etc. So for many users the automatic activation of the ClearCase plugin is not appropriate.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/eclipse-ccase/bugs/396/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Bugs:
#396I will make it default off.
Will be in release 2.2.39.
//mike
Hi,
I tested release 2.2.38 and if I change the settings it won't save it, so if I restart eclipse there are unchanged settings for auto-association...
So I tested our internal version 2.2.36 (with auto-association) and it's working... so I will try to compare our source codes with codes for version 2.2.38 and if I found anything I will report how to fix it... or I will provide you a patch file.
Best regards,
Jan
So I have compared source codes of 2.2.38 with our source codes and I found there is an old version of auto-association feature in 2.2.38, so maybe this is the main problem.
So I will prepare a patch...
Last edit: Jan Vodička 2015-10-16
Thanks.
I will include the patch in next release 2.2.39.
//mike
By the way the patch is here: https://sourceforge.net/p/eclipse-ccase/discussion/167189/thread/4d731445/#8e78
Hi,
I've tested 2.2.39, but the bug still persists... I have downloaded 2.2.39 sources and I will compare it to our internal source codes... There must be something different in the saving of plugin preferences in last few versions...
Last edit: Jan Vodička 2015-11-02
Ha, I found it!
It was a little bug in ClearCasePreferencePage...
There is an another patch file.
Before I apply the patch I want to see if the 2.2.39 version works for you.
//mike
The auto-association works (if I change the settings in the plugin configuration file by hand) for me, but without the patch it's imposible to change the settings because super.performOk() is missing in the ClearCasePreferencePage.java. There is implementation of performOk method, but super method is never called so the settings could not be saved. The patch contains a 3 new lines taken from older version which worked as needed.
Thanks.
Jan
Is it ok to close this one now?
br,
//mike
You can close it. I tested it in our environment and it's working.
Thx a lot
//mike