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 ...