<< Back to previous view |
[QB-813] set the Config Spec form variable doesn't work
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 3.1.12 |
Fix Version/s: | 3.1.18 |
Type: | Bug | Priority: | Blocker |
Reporter: | Leon Thielen | Assigned To: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: |
Linux 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 5.3 (Tikanga) and Microsoft Windows [Version 5.2.3790] QB - Server Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Client release 5.2 (Tikanga) |
Description |
Hi I am using QB 3.1.2
My view server is linux host. I get an Error while using a ClearCase Repository. I set the Config Spec with a variable like ${vars.getValue("msConfigSpec")}. And the checkout step faild with : Failed to run command: cleartool setcs /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp Command return code: 1 Command error output: cleartool: Error: The first element rule of a snapshot view's config spec must be "element * CHECKEDOUT". cleartool: Error: Config spec semantic processing failed. cleartool: Error: Unable to change configuration specification: error in configuration specification. When I set do the command by hand I get this: vobadm@vob1 [18] $ ct setcs -tag ltd_magma5 opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp cleartool: Error: The first element rule of a snapshot view's config spec must be "element * CHECKEDOUT". cleartool: Error: Config spec semantic processing failed. cleartool: Error: Unable to change configuration specification: error in configuration specification. A unix file command on this file shows me: vobadm@vob1 [22] $ file /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp: ASCII text, with CRLF, LF line terminators I guess config file file_3836177965414951411.tmp is in the dos file format. So I converted the file into the unix file format . vobadm@vob1 [23] $ dos2unix /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp dos2unix: converting file /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp to UNIX format ... vobadm@vob1 [24] $ file /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp: ASCII text After that I try again to set the config spec by hand. And it works. vobadm@vob1 [27] $ ct setcs -tag ltd_magma5 /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp Making dir "vobs/lib". Processing dir "vobs/lib". Processing dir "vobs/lib/lost+found". . Processing dir ... |