Re: How are you handling html templates created in other apps?
Re: How are you handling html templates created in other apps?
- Subject: Re: How are you handling html templates created in other apps?
- From: "Jerry W. Walker" <email@hidden>
- Date: Fri, 16 Feb 2007 17:34:34 -0500
For what it's worth, I usually put a soft link in Apache's document
root (or in the WebObjects diretory in the document root) on my
development machine pointing to the directory within my project
directory that holds my web resources. This way, I can keep all the
images, static HTML, CSS files, etc. right where they would have been
had WODirectConnectEnabled been true and can do a normal split
install when the time comes to deploy.
Regards,
Jerry
On Feb 16, 2007, at 5:00 PM, Kevin Windham wrote:
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@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems
email@hidden
203 278-4085 office
_______________________________________________
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