Eclipse Plugin for Perforce

At work, we use Perforce for our version control system and Eclipse as our default IDE. If you search around you will find two Eclipse plugins for Perforce, P4clipse and P4WSAD. The development of P4clipse seems to have ceased at version 0.6.2 and I have not be able to get that version to work with Eclipse 3.3.1 or later.

P4WSAD works with current version of Eclipse but it is currently in beta. You can easily follow along the instructions to install P4WSAD, basically just add a new report site under the software updates. What wasn’t clear was how to configure the Perforce plugin.

After you install P4WSAD click Window | Open Perspective | Other from the main menu. Select the Perforce perspective and click ok. Write click on the P4 Depots view to create a New Server. In the server configuration you will need to enter the Port, meaning the URL with port number, for the Perfoce server. It is a bit confusing but the port field means the URL, inclucing the port number. You will also need to enter your Perforce username and click spec for your workspace/machine.

Once you configure you depot, you will need to drill down to where you code is stored under the depot, select the source folder, right click, and select Import as Project.

Technorati Tags: , , , , ,