It's all about the answers!

Ask a question

File transfer using .put and CLEARCASE_VIEW


ep zee (9695) | asked Apr 12 '11, 9:32 a.m.
I want to transfer a file that's in a clearcase dynamic view using this .put command:
.put absolute_file_path/filename dest_server:filename


The thing is when I set the CLEARCASE_VIEW variable, BuildForge starts building the path like this:
/view/view_name/server_path/absolute_file_path/filename


Of course I get an error because the file is in absolute_file_path. If I try this without the CLEARCASE_VIEW var, the path that I get is this:
/server_path/absolute_file_path/filename
(which is fine when my server path is /)

I've test the same step with a non-clearcase file and without the CLEARCASE_VIEW var and the transfer worked. The step's dir is set to / and it's path is set to absolute.

One answer



permanent link
ep zee (9695) | answered Apr 12 '11, 9:39 a.m.
Now I've tried setting the absolute_file_path in the step's dir (step's path is set to absolute), and this .put command:
.put filename dest_server:filename


And I've got this error:

READ Read of /view/view_name/absolute_file_path complete.
EXEC 0
EXEC Writing /view/view_name/absolute_file_path to X:/BUILDFORGE/filename
EXEC 4


It seems that is reading the file but there's an error when it tries to write it.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.