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 131608 - cli interaction causes cmd timeouts
Summary: cli interaction causes cmd timeouts
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: ClearCase (show other bugs)
Version: 6.x
Hardware: All Windows ME/2000
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 12:43 UTC by Tomas Stupka
Modified: 2008-05-16 13:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
messages.log (959.48 KB, text/plain)
2008-03-31 12:55 UTC, jardakortus
Details
Netbeans error popup (22.37 KB, image/jpeg)
2008-03-31 12:56 UTC, jardakortus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2008-03-31 12:43:02 UTC
taken from user mail

I'm clearcase user and I have an issue with clearcase plugin for netbeans 6.1. When I use Clearcase Explorer (original
IBM product) for check-in, an popup window requesting if I want to set a label for actual file version or not is shown.
When I use netbeans module instead of CC Explorer, no popup is opened. Checkin operation finishes with timeout even the
operation was successful.

There are two problems I see:

1) Why the check-in operation finishes with timeout and not with success when successful
2) Why I'm not able to put a label (build label) to the file-version when I check-in file
Comment 1 Tomas Stupka 2008-03-31 12:45:52 UTC
for know i will keep both  problems in one issue as they might be related
Comment 2 jardakortus 2008-03-31 12:55:57 UTC
Created attachment 59398 [details]
messages.log
Comment 3 jardakortus 2008-03-31 12:56:49 UTC
Created attachment 59399 [details]
Netbeans error popup
Comment 4 Tomas Stupka 2008-03-31 17:27:02 UTC
could you please start netbeans from the commandline and see what happens if you run the checkin action? i'm wandering
if the is any input prompt on the command line asking for your label input?
Comment 5 jardakortus 2008-04-03 15:11:58 UTC
I can show you what happens if I use the commandline cleartool


C:\kortjar\2008.01.CCP4\vobs\eGate\Tools\E2E\JoinTestingTool>cleartool ci -nc make.ksh
Loading "eGate\Tools\E2E\JoinTestingTool\make.ksh" (1306 bytes).

Do you want to apply a label? [y=apply, n=no label, c=create new label] n
Checked in "make.ksh" version "\main\devl_cff2\4".

C:\kortjar\2008.01.CCP4\vobs\eGate\Tools\E2E\JoinTestingTool>
Comment 6 jardakortus 2008-04-03 16:02:32 UTC
Here is my work-around... not very clear as you can see from log file, but for me it's working.. After applying 
following statement, the label is clear and the user is not prompted. I'm not a clearcase specialist, so please keep me 
informed if you find some more appropriate solution.

Jaroslav

C:\kortjar\2008.01.CCP4\vobs\eGate\Tools\E2E\JoinTestingTool>echo n | cleartool ci -nc Mt210.java
Loading "eGate\Tools\E2E\JoinTestingTool\Mt210.java" (2302 bytes).

Do you want to apply a label? [y=apply, n=no label, c=create new label]
Wrong value, please select a correct one:
Wrong value, please select a correct one:
Wrong value, please select a correct one:
Wrong value, please select a correct one:
Wrong value, please select a correct one: Checked in "Mt210.java" version "\main\devl_cff2\2".

C:\kortjar\2008.01.CCP4\vobs\eGate\Tools\E2E\JoinTestingTool>
Comment 7 Tomas Stupka 2008-04-03 17:37:51 UTC
well, this may work from the command line, the problem is that this happens also when we call the ci command from
netbeans. There is something specific on your setup what causes that the request for labeling a file after a successful
checkin is triggered. 

To be honest, at this moment i have no idea how to solve this problem generally as it might be whatever else clearcase
asks for after whatever command. 

Comment 8 jardakortus 2008-04-10 14:12:22 UTC
Hi, isn't it possible to open a popup window, in the same way as Clearcase Explorer does?
Comment 9 Tomas Stupka 2008-05-16 13:38:16 UTC
this is no defect as we deal here with an unsupported cli setup. There is no way to properly interact with the
commandline is it asks for user interaction.