Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

File transfer using .put and CLEARCASE_VIEW

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.

0 votes



One answer

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 12 '11, 9:32 a.m.

Question was seen: 4,490 times

Last updated: Apr 12 '11, 9:32 a.m.

Confirmation Cancel Confirm