Perforce integration in IDEA 5.0

From a quick look at Irida build 3415, I don't see a way to specify Perforce parameters (like the name of the client workspace) at the project level. It looks like IDEA will just assume it should always use the current value of the P4CLIENT environment/registry setting. Am I missing something? We've currently got a separate Perforce workspace for each of our projects, and I'm afraid IDEA's Perforce integration isn't going to be of much use in that configuration...

3 comments
Comment actions Permalink

Click the little "..." button after you have selected Perforce as your VC.
There you can set the client_spec for the project.

"Tim Kannenberg" <no_mail@jetbrains.com> wrote in message
news:29308763.1121875086571.JavaMail.javamailuser@localhost...

From a quick look at Irida build 3415, I don't see a way to specify
Perforce parameters (like the name of the client workspace) at the project
level. It looks like IDEA will just assume it should always use the
current value of the P4CLIENT environment/registry setting. Am I missing
something? We've currently got a separate Perforce workspace for each of
our projects, and I'm afraid IDEA's Perforce integration isn't going to be
of much use in that configuration...



0
Comment actions Permalink

Sorry, I may have posted that a little prematurely. I see there's a section in each project's .iws file labeled PerforceDirect.Settings. By hand-editing the options in that section to set useP4CONFIG to false and supply the appropriate values for the port, client, and user options, I seem to be able to get IDEA to use a different Perforce workspace for each project. So, then the question becomes: does the IDEA user interface provide a way to edit these project-specific options? Or am I stuck doing it by hand?

0
Comment actions Permalink

Thanks. I knew it had to be there somewhere. Next time, I'll look more carefully before I post...

0

Please sign in to leave a comment.