comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Version Control Conundrum
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Version Control Conundrum [message #57485 is a reply to message #57432] Wed, 12 December 2007 12:03 Go to previous messageGo to previous message
cgpadwick is currently offline  cgpadwick
Messages: 7
Registered: December 2007
Junior Member
With Scott Bolin's help, I figured out why I was having so many
problems with the perforce eclipse plugin. I had a project defined
*prior* to installing the perforce plugin. You have to create the
projects from perforce - perforce doesn't know anything about existing
projects that you already have. Thus when you edit a file, eclipse
asks you if you want to make the file writable, and perforce doesn't
know about it (it doesn't get opened for edit).

To fix this, here's what I did:
-I blew away my project (kept contents, just removed it from
eclipse).
-In the eclipse workbench, I clicked Window->Open Perspective->Other-
> Perforce to open the perforce perspective.
-In the P4 Depots window, I removed all the existing servers. Then I
right clicked in the depot pane and clicked "New Server" and typed in
all the appropriate information.
-Now I was able to see the depot files in the depot pane. I navigated
to the depot folder I wanted, right clicked, and clicked "Import as
Project".
-Then when I switched back to the IDL workbench, my project appears in
the project explorer. Note that the location on the hard disk will be
the same as what was specified in the perforce client spec.
-Now I double click a file and it shows up in the editor. If I then
edit the file, eclipse no longer asks me if I want to edit it; rather,
it is opened for edit in perforce. If I switch to the perforce
perspective then the file appears in the "P4 Pending Changelists"
pane.

You can choose to just show different views too, you don't have to
change perspectives. I tend to just use the default perspectives for
each tool.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: One title to rule them all...
Next Topic: Re: One title to rule them all...

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:15:08 PDT 2025

Total time taken to generate the page: 2.56046 seconds