For the archives and in case someone else gets bitten by this:
Xcode can't handle a Perforce 'Root' path of '/'. I used a small perl
script that intercepts the 'p4 client' command only and modifies the
root from '/' to '/theUsers/gerti', and removes that part from the
View specs accordingly. With that in place the Perforce integration
works fine. Bug filed, Bug ID# 4346790.
Gerd
On Tue, Nov 15, at 6:02 PM, Gerd Knops wrote:
Hi,
I am trying to get Xcode 2.2 to work with perforce.
I added the project to perforce 'by hand', then enabled perforce in
Xcode.
All the SCM Results ever show is what amounts to a 'p4 client'
command (attached below). All SCM operations (add, edit, update)
silently fail. When I try 'SCM/Refresh entire project', alls I get
is an alert saying "No files in this project were found under the
Perforce root: " (no more text after the colon).
What am I missing?
Thanks
Gerd
SCM Results:
cd /theUsers/gerti/Clients/Interfax/OS_X/INFaxTicketMonitor/
INFaxTicketMonitor.xcodeproj
/usr/local/bin/p4 -d /theUsers/gerti/Clients/Interfax/OS_X/
INFaxTicketMonitor/INFaxTicketMonitor.xcodeproj -c openstep client -
o -t openstep
# A Perforce Client Specification.
#
# Client: The client name.
# Update: The date this specification was last modified.
# Access: The date this client was last used in any way.
# Owner: The user who created this client.
# Host: If set, restricts access to the named host.
# Description: A short description of the client (optional).
# Root: The base directory of the client workspace.
# AltRoots: Up to two alternate client workspace roots.
# Options: Client options:
# [no]allwrite [no]clobber [no]compress
# [un]locked [no]modtime [no]rmdir
# LineEnd: Text file line endings on client: local/unix/mac/
win/share.
# View: Lines to map depot files into the client workspace.
#
# Use 'p4 help client' to see more about client views and options.
No files in this project were found under the Perforce root:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden