• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can't get Xcode & Perforce to work (Xcode bug!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get Xcode & Perforce to work (Xcode bug!)


  • Subject: Re: Can't get Xcode & Perforce to work (Xcode bug!)
  • From: Gerd Knops <email@hidden>
  • Date: Wed, 16 Nov 2005 19:41:46 -0600

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.


Client:	openstep

Update:	2005/11/13 17:11:05

Access:	2005/11/15 17:46:39

Owner:	gerti

Description:
	Created by gerti.

Root:	/

Options:	noallwrite noclobber nocompress unlocked modtime rmdir

LineEnd:	local

View:
//depot/INFax3/... //openstep/theUsers/gerti/Clients/Interfax/ Distribution/INFax.3/...
//depot/INFaxReleases/3.72/... //openstep/theUsers/gerti/Clients/ Interfax/Distribution/Release3.72/...
//depot/INFaxReleases/3.61/... //openstep/theUsers/gerti/Clients/ Interfax/Distribution/Release3.61/...
//depot/INFax.Tools.C/... //openstep/theUsers/gerti/Clients/ Interfax/Tools-C/...
//depot/IncdotPSLibrary/... //openstep/theUsers/gerti/Clients/ Waterline/PS-Library/...
//depot/WaterlinePSLibrary/... //openstep/theUsers/gerti/Clients/ Waterline/PS_Lib2/...
//depot/INFax3Central/... //openstep/theUsers/gerti/Clients/ Interfax/Distribution/Zeus/...
//depot/BITart.binTools/... //openstep/theUsers/gerti/Unix/bin/...
//depot/jEdit/CodeBrowser/... //openstep/theUsers/gerti/BITart/ OS_X/Java/CodeBrowser/...
//depot/jEdit/DynaMarker/... //openstep/theUsers/gerti/BITart/OS_X/ Java/DynaMarker/...
//depot/INFax.Redhat/... //openstep/theUsers/gerti/Clients/ Interfax/Distribution/Root.Redhat/Notes&Tools/...
//depot/INFax.distTools/... //openstep/theUsers/gerti/Clients/ Interfax/Distribution/Tools/...
//depot/OSX/CocoaSuite/... //openstep/theUsers/gerti/BITart/OS_X/ CocoaSuite/...
//depot/OSX/BAImposter/... //openstep/theUsers/gerti/BITart/OS_X/ BAImposterTest/...
//depot/jEdit/CodeNavigator/... //openstep/theUsers/gerti/BITart/ OS_X/Java/CodeNavigator/...
//depot/INFaxRouteEditor/... //openstep/theUsers/gerti/Clients/ Interfax/Tools-Java/INFaxRouteEditor/...
//depot/INFaxPacketStats/... //openstep/theUsers/gerti/Clients/ Interfax/Tools-Java/INFaxPacketStats/...
//depot/INFaxNodeConfigurator/... //openstep/theUsers/gerti/ Clients/Interfax/Tools-Java/INFaxNodeConfigurator/...
//depot/INFaxNavigatorApp/... //openstep/theUsers/gerti/Clients/ Interfax/Tools-Java/INFaxNavigatorApp/...
//depot/INFaxTicketMonitor/... //openstep/theUsers/gerti/Clients/ Interfax/OS_X/INFaxTicketMonitor/...


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: This email sent to email@hidden
References: 
 >Can't get Xcode & Perforce to work (From: Gerd Knops <email@hidden>)

  • Prev by Date: Copying from folder to bundle
  • Next by Date: Re: Allocating a C++ class from obj C
  • Previous by thread: Re: Can't get Xcode & Perforce to work
  • Next by thread: XCode 2.2, templates, overloads, Obj-C types
  • Index(es):
    • Date
    • Thread