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

How do I specify a component subfolder to load using scm.exe

The scm command line help says:

C:\IBM\RTC-scmTools-Win-6.0.3\jazz\scmtools\eclipse>scm help load

Help for: scm load

Purpose:
  Loads the contents of the specified workspace into the local file system. By
  default, the workspace is loaded into the current working directory.

Usage: scm load [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password
                <arg> | -u/--username <arg> --password-file <arg> |
                --certificate <arg> -P/--password <arg> | --smartCard
                -u/--username <arg> | --kerberos | --integratedWindows]
                [-d/--directory <arg>]  [-q/--quiet] [--all] [-f/--force]
                [--allow] [-s/--resync] [--preserveTimestamps]
                [--expand-keywords] [-i/--include-root] [-R/--remote-rules
                <arg>] [-L/--local-rules <arg>] [-t/--target <arg>]
                [-a/--alternative-name <arg>] <workspace> [remote-path...]

  workspace   - The workspace to load. To specify the workspace, use its
                name[@repo], alias, or UUID[@repo].
  remote-path - The list of remote items to load. The remote-path might be the
                name, alias, or UUID of a component, or a remote path within a
                component.  To specify a remote path within a component, use
                the following format: (name, alias, or UUID of the
                component)/(remote path within the component).

I have this working to download a whole Component, but how do I only download a subfolder?
If the last parameter, remote-path, is the component name, e.g. "Alpha" it downloads the whole Alpha component, but if I change remote-path to "Alpha/ABCD", where ABCD is a top-level folder in the Alpha component, it says Failure looking up path "/ABCD"

UPDATE:
If I do a scm list files command on the component, it displays the /ABCD/ folder under the "Alpha" component, as expected, so why does it say it can't find the path? Have I got the format wrong?

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
× 12,019

Question asked: Sep 03, 9:11 a.m.

Question was seen: 467 times

Last updated: Sep 09, 7:32 a.m.

Confirmation Cancel Confirm