On Feb 16, 2007, at 12:43 PM, Kevin Windham wrote:

Well, I am just using build & run to test and debug my app on my local machine and that's just what it does. It runs the app on a random port. Is there a way to configure Xcode so it will not do that and I can still just build/run and debug like normal? I know that once I deploy this doesn't matter, but I am a way off from deployment and I would like to make the build/debug cycle as close to painless as possible, because I am sure I will need to do a lot of debugging between now and deployment. ;-)

Kevin

On Feb 16, 2007, at 2:47 PM, Chuck Hill wrote:
Use DirectConnect, profit not.

DirectConnect evil.

http://en.wikibooks.org/wiki/Programming:WebObjects/ Web_Applications/Development/Direct_Connect

Thanks Chuck.

For the record, I uncommented the wotaskd line in the WebObjects startup item, and then ran the item from the command line. I set - DWODirectConnectEnabled=false under Project -> Edit active executable in XCode. It looks like the developer tools installation took care of setting up the local apache installation for me. So I didn't have to change any config there.

Then I put my images inside the /Library/WebServer/Documents/images folder and set a base URL (http://powerbook.local/images/) in the HTML file so I didn't have to change all the image links generated by the HTML design program used by my designer.

Now I can simply cut and paste the html into a component, set the base, copy the images, and continue working.

Kevin




_______________________________________________
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