• 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: Basic Question (Webobjects-dev Digest, Vol 3, Issue 187)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic Question (Webobjects-dev Digest, Vol 3, Issue 187)


  • Subject: Re: Basic Question (Webobjects-dev Digest, Vol 3, Issue 187)
  • From: Art Isbell <email@hidden>
  • Date: Wed, 22 Mar 2006 12:40:43 -1000

On Mar 22, 2006, at 11:18 AM, Jeffrey Pearson wrote:

So if I understand this correctly,

1) if you set the target to web server, it copies to /library/ WebServer/documents for apache to deal with
2) if you set application server, it copies to you web objects project directory for the webobject application server to serve

Uh, no :-) You really need to read the Xcode documentation to learn about targets, configurations, etc.


By default, the Xcode GUI app writes all build products relative to the project's build directory (by default, the "build" directory within the project directory. So no matter which target you build, the products will be in "build".

When you want to install products, you should use the command-line utility, xcodebuild, because you shouldn't be using Xcode as a user with sufficient permissions to write to the deployment locations; i.e., you shouldn't routinely log in as an admin user. If you try to install projects using Xcode, you'll probably fail due to insufficient permissions. Instead:

sudo xcodebuild install -configuration Deployment DSTROOT=/
sudo xcodebuild install -configuration WebServer DSTROOT=/

This will fail if you're running as a non-admin user and you haven't given this user permissions to use sudo in /etc/sudoers.

Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Webobjects-dev Digest, Vol 3, Issue 187 (From: Travis Cripps <email@hidden>)
 >Re: Basic Question (Webobjects-dev Digest, Vol 3, Issue 187) (From: Paul Lynch <email@hidden>)
 >Re: Basic Question (Webobjects-dev Digest, Vol 3, Issue 187) (From: Jeffrey Pearson <email@hidden>)

  • Prev by Date: Re: Properties of Class not showing?
  • Next by Date: Re: Basic Question
  • Previous by thread: Re: Basic Question (Webobjects-dev Digest, Vol 3, Issue 187)
  • Next by thread: Re: Basic Question
  • Index(es):
    • Date
    • Thread