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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to