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

Spaces in Build Forge adaptor run command parameter

Hi,

I'm trying to pass a parameter that has a space in it in a Build Forge adaptor run command:

<run command="cc_describe" params="$VIEW $1 $2" server="$SERVER" dir="/" timeout="360"/>

The parameter $1 occasionally contains a path name that contains a space. Since a space is used to separate parameters, this results in the parameter to be cut up into multple pieces. I tried to fix it by adding double quotes:

  <run command="cc_describe" params="$VIEW &quot;$1&quot; $2" server="$SERVER" dir="/" timeout="360"/>

This works as far as the adaptor is concerned, however, the double quotes mess up the ClearCase describe command.

How can I use a parameter that contains spaces in an adaptor run command without the adaptor treating it as multiple parameters and without using double quotes??

Thanks,

Jozef

 

 

0 votes


Be the first one to answer this question!

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: Oct 18 '13, 4:21 p.m.

Question was seen: 4,805 times

Last updated: Oct 18 '13, 4:22 p.m.

Confirmation Cancel Confirm