Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Platform: All, OS: All
Description
Using Clearcase plugin 0.84 and Hudson 1.280.
When I configure multiple load rules like this:
M:\rwc467_m1\qbvision-nms
M:\rwc467_m1\qbvision-install
the result from the clearcase plugin is padding the first line at the end with
whitespace (presumably from the "Load rules" configuration textbox) such that
the clearcase command doesn't work as shown from the hudson output below:
*******
Started
[] $ cleartool startview rwc467_m1
[rwc467_m1] $ cleartool chstream -generate stream:qbv-main_Integration
Changed stream "stream:qbv-main_Integration".
[] $ cleartool setcs -tag rwc467_m1 -stream
[rwc467_m1] $ cleartool lshistory -r -since 15-may.13:47:21 -fmt '\"%Nd\"
\"%En\" \"%Vn\" \"%[activity]p\" \"%e\" \"%o\" \n%c\n' -branch
brtype:qbv-main_Integration -nco "M:\rwc467_m1\qbvision-nms"
"M:\rwc467_m1\qbvision-install"
cleartool: Error: Unable to access "M:\rwc467_m1\qbvision-nms
": No such file or directory.
*************
The workaround is to use quotes on the same line for multiple load rules as in:
"M:\rwc467_m1\qbvision-nms" "M:\rwc467_m1\qbvision-install"
Ah, our old arch-nemesis: line-endings. *shakes fist at whoever decided to have
Windows line endings be different from Unix line endings* I'll be attaching a
test build which should fix this momentarily - had to change a split call to
properly handle Windows line endings in the load rules text. Let me know if it
works.