Re: Perforce with multiple depots
Re: Perforce with multiple depots
- Subject: Re: Perforce with multiple depots
- From: Tom Naughton <email@hidden>
- Date: Tue, 6 Dec 2005 11:46:53 -0800
In Xcode 2.2 Perforce passwords are stored in the keychain. The
password name is :p4:clientname:hostname where the hostname includes
the port number, so you should be able to have different depots on
different ports on the same host. If that doesn't work, try using
different client names. (and log a bug.)
Previous versions of Xcode stored Perforce passwords in plain text in
your user file, Xcode 2.2 ignores those but doesn't remove them.
If you leave perforceUser, perforceClient, or perforceDepot blank,
Xcode will use the setting stored in com.apple.xcode which stores the
most recent value you entered for that setting.
Tom
El dic 6, 2005, a las 9:22 AM, David Bernat escribió:
Follow-up... the passwords also seem to be getting stored in my
keychain, and the keychain only seems capable of storing one
perforce password at a time.
How many places do we need my perforce password stored? I mean,
it's already stored in plain text in my project file... what's the
point of putting it in the keychain as well?
rock on
dave
On Dec 5, 2005, at 5:08 PM, David Bernat wrote:
The Xcode UI makes it seem like it's possible to have different
projects backed by different Perforce depots, but in reality that
doesn't seem to be the case. The problem I'm experiencing goes
like this:
1. I create a new project and set it up to connect to one perforce
depot (foo.com:1000), entering the correct p4 tool path, username,
password and client.
2. I create a second project and set it up to connect to a
different perforce depot (foo.com:2000), entering everything
correctly as in step 1.
Project 1 works fine, I can connect to the p4 server and all is
well. Project 2 gives me a sheet saying "SCM Error, Perforce
password (P4PASSWD) invalid or unset." If I go back to edit my SCM
settings in Project 2, I find the password field is blank. I enter
the correct password and hit OK. I hit "Edit..." again, and the
password I just entered is missing.
So, yeah, the password is missing or incorrect. I just can't seem
to make it stick when I enter it.
Meanwhile, project 1 continues to work fine. My SCM info seems to
be stored in a couple different places. One is in the
com.apple.xcode preferences file, which contains keys
perforceUser, perforceClient, perforceDepot and
PBXPerforceToolPath. The other is in my projects' .pbxuser files,
which contain an scmConfiguration block with keys perforceClient,
perforceDepot, perforcePassword, perforceToolPath and
perforceUserName.
The only projects that appear to keep the password I enter are
those where I've entered the same depot as is entered in
com.apple.xcode. I can't prevent Xcode from saving entries in its
preferences file, so I'm kinda stuck. Any ideas on how I can work
around this?
rock on
dave
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40intuit.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden