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 227603 - ClearCase plugin does not recognize symbolic link files
Summary: ClearCase plugin does not recognize symbolic link files
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: ClearCase (show other bugs)
Version: 8.0.2
Hardware: PC All
: P1 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 236728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-18 10:02 UTC by FrVaBe
Modified: 2015-03-25 09:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Clearcase NB JDK7 log file (105.89 KB, application/octet-stream)
2013-10-08 23:24 UTC, davti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FrVaBe 2013-03-18 10:02:22 UTC
The ClearCase plugin does not recognize files that are added as "Clear Case Symbolic Links" to the project. The ClearCase context menu stays empty on these files and no ClearCase operation is available.

Netbeans:

Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on x86; Cp1252; de_DE (nb)

ClearCase Plugin:

Version: 1.3.0.42 
Source: 1362044712_org-netbeans-modules-clearcase.nbm
Comment 1 davti 2013-08-16 01:56:15 UTC
notice the same issue here 
NB 7.3+
Windows x64
JDK1.7_25
Comment 2 davti 2013-10-04 01:55:12 UTC
This issue has now become a showstopper for us, its ALL clearcase versioned files files .
Netbeans 7.4 will now only run using JDK1.7 the issue is still present in 7.4RC2

NB 7.3+
Windows x64
JDK1.7_25
Comment 3 Tomas Stupka 2013-10-04 11:25:48 UTC
*** Bug 236728 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Stupka 2013-10-04 11:28:03 UTC
please run netbeans with the switch 
-J-Dorg.netbeans.modules.clearcase.level=-1 
reproduce the problem and attach your messages log to the issue
Comment 5 davti 2013-10-08 23:24:58 UTC
Created attachment 140917 [details]
Clearcase NB JDK7 log file

looks like the plugin canft find the the cleartool command which is located 
C:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool.exe the command breaks on hte space in "C:\Program Files..."
Comment 6 davti 2013-10-08 23:31:10 UTC
Appologies for the fat fingered typing...
Comment 7 davti 2013-10-08 23:40:41 UTC
workaround for 7.3 and 7.4RC is put quotes around 'Cleartool Executable Path' option eg: "C:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool.exe"
Comment 8 Tomas Stupka 2013-10-09 08:49:11 UTC
> workaround for 7.3 and 7.4RC is put quotes around 'Cleartool Executable
> Path' option eg: "C:\Program
> Files\IBM\RationalSDLC\ClearCase\bin\cleartool.exe"
thanks for figuring out!

could other reporters please confirm if it also solves the problem for them?
Comment 9 FrVaBe 2013-10-10 07:05:22 UTC
The original problem that is described here is that the ClearCase Plugin does not recognize "Clear Case Symbolic Links" - so no ClearCase operation are available on these files.

Hard to say if this is fixed in Netbeasn 7.4 RC2 because the ClearCase Plugin is not availabe any more (at least not for me).

Nevertheless I doubt that this has changed if no Plugin fix was provided.
Comment 10 FrVaBe 2013-10-21 15:03:27 UTC
Clearcase plugin (installed as "User Installed Plugins") in Netbeans 7.4 still does not recognize files that are added as "Clear Case Symbolic Links" to the project.
Comment 11 maglar 2015-03-25 08:51:27 UTC
Still an issue in 8.0.2. 
The workaround, to put quotes around cleartool path, still works.
Comment 12 FrVaBe 2015-03-25 09:52:27 UTC
Still an issue for symbolic links (that is what this issue is about) in 8.0.2. 

-> Changed Version to 8.0.2

The workaround, to put quotes around cleartool path, does not work for symbolic links. By the way, if your ClearCase bin directory is in the system PATH 'cleartool' is sufficient for the 'Cleartool Executable Path'.

The keyword JDK_1.7 is misleading I removed it as the problem also reproducable with JDK_1.8.