How to Use Perforce in the DVT Eclipse IDE - How to Set up a Perforce Project
Description
This video shows how to connect a DVT project with Perforce, from the GUI or using the Command Line Interface.
Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license
Transcript
This video presents the usual flows for setting up Perforce support for a DVT project.
Setting up a Perforce Connection
Switch to the Perforce perspective. In the P4 Connections view, click the New Connection button. Fill in the server connection details and press Next.If you have an existing Perforce workspace, you can choose it. Otherwise, you can create a new one.
A project import wizard automatically pops up. Assuming that the repository already contains configured DVT projects, you can use this wizard to import them.
You can manually import DVT projects at any time from the P4 Connections view context menu.
Sharing an Existing DVT Project with Perforce
If you enable Perforce support after having already configured a DVT project, right-click on the project and go to Team > Share Project.
Choose the server and the workspace for the project and click Finish.
If the project was successfully shared with Perforce, you will see the Perforce server and client info next to the project's name in the Project Explorer view.
Automating Project Creation with DVT CLI
If you use the DVT CLI shell script to automate project creation, add the -p4
flag followed by your connection info.