본문 바로가기

개발환경

PCLI 명령

반응형

The command to retrieve a particular revision of a file is: pcli.exe run -y -ns get -id USERNAME:PASSWORD -o -a"c:\local\path\here" -wREV# -pr"PROJECTNAME" PATHNAME

"run" is the command, which we use to execute a specific PCLI command which, in this case, is "get"

The -y and -ns options stand alone, -y specifying that all prompts should be answered "yes" (I ran this from a C# program and did not want any user interaction) and -ns prevents extra stripping of quotes from command line.

The -id option is used again to specify credentials.

The -o option is used to override work file location so we can pull the file down to a directory of our choosing without needing to deal with work file locations.

The -a option is used to specify where the retrieved file should go.

The -w option specifies which revision number we want, such as -w1.0

The -pr option is used to specify the project and should be in the same format as our previous invocation of PCLI, for example, \\SampleProject

반응형

'개발환경' 카테고리의 다른 글

Ubuntu 에 Emerald 테마 적용하기  (0) 2009.02.02
Managed Server Weblogic  (0) 2008.10.01
SVN 환경설정  (0) 2008.06.23
Jad 설정  (0) 2008.06.16
crontab  (0) 2008.06.05