Step 1) Find where perforce is installed on the unix box.
Say this folder: /home/pvprapp1/opt/perforce
Step 2) Export the environment variable.
Issue command: export PATH=$PATH:$HOME/opt/perforce/bin
Issue command: export P4PORT=...net:1999
you can also export variables like
P4USER, P4PASSWD.
But some perforce are ticket based login strategy. "Ticket based" means, as soon as you issue "p4 login", you will get a ticket, and until the ticket expired or you issue "p4 logout", you are out.
Step 3) At this time, you can issue p4 command, and see a help menu.
Issue command: p4
Step 4) Config the client setup.
Issue command: p4 client
Step 5) The above command will bring you to a vi editor. There, you can edit all the configurations.
Client: <workspace name> --- This is the P4CLIENT value
Root: <workspace location>
View: <which branch on perforce server is mapped to where>
Issue command: export P4CLIENT= <your P4CLIENT value>
In your later uage, you need to put your 3 EXPORT(PATH, P4PORT, P4CLIENT) into your .bashrc in your ~ folder.
Step 6) Synchronize with Perforce to get all the source code
Issue command: p4 sync
分享到:
相关推荐
Perforce
此文档是介绍如何从Perforce classic depot 迁移使用 perforce stream的。 其中介绍了如何做计划, 在启动使用stream前应该考虑些什么, 这些问题业界推荐的好的解决方法。 是英文版的, 目前perforce正在大量使用,...
Perforce P4V 入门基础
perforce svn comparison
perforce培训.pdf
Perforce使用介绍 Perforce SCM System是一款构建于可伸缩客户/服务器结构之上的软件配置管理工具。仅仅应用 TCP/IP,开发人员就能够通过多种Perforce客户端(几种平台的GUI、WEB、或命令行)访问 Perforce服务器。...
Authored by Perforce's own VP of product technology, Practical Perforce is the ideal complement to the existing product manual, focusing less on the 'how" and more on the "why" and "when." The book is...
Perforce官方培训资料,Perforce Official Training Course Slides - 3 Days PPT
Profile of Autodesk Practical Perforce
介绍perforce服务器和客户端安装说明
Perforce服务器端配置说明[整理].pdf
Introduction to the 2007 online edition of Perl & LWP
Perforce使用命令快速指南,全概括
该文档是Perforce版本控制软件的管理员使用向导,非常好的一份文档
Perforce软件版本管理策略,苏云涛,温向明,本文首先介绍了软件配置管理和开发模型的基本概念,接着介绍了Perforce的运作机制。最后从实际出发,详细介绍了基于开发模型的版本�
基于可重用的Perl模块库,用于自动化管理Perforce代码行。 每个代码行(分支)可以具有自己的自动提交回归和共享的默认视图。
perforce_util.jar
perforce插件 注意:不推荐使用此方法,而推荐使用纯Java p4-plugin Jenkins Perforce插件 Wiki /文档:
Executing P4 command to collect list of files opened under default change list //depot/workspace/dev/filename.java #5 - edit default change (ktext) List of files for diff [1]: //depot/workspace/dev/...