Re: Split Install Question vs. Direct Connect vs. Dev vs. Deploy
Re: Split Install Question vs. Direct Connect vs. Dev vs. Deploy
- Subject: Re: Split Install Question vs. Direct Connect vs. Dev vs. Deploy
- From: Chuck Hill <email@hidden>
- Date: Fri, 20 Jun 2008 09:09:31 -0700
On Jun 20, 2008, at 6:44 AM, James Cicenia wrote:
OK -
I completely refactored my project to FluffyBunny and it looks
good. Now I also moved from direct connect to
use my Apache on my MacBookPro.
This is where I get confused.
In my old way I served all my resources from the root Documents
directory. Now, however, with a split
embed install those resources are supposed to be served from inside
the App.woa/Contents/WebServerResources.
However, a lot of my resources are looking for /tos/templates/
default/logo.gif.
So how does WebObjects tell Apache that it should now look (after
removing '/tos') in:
/Library/WebServer/Documents/WebObjects/App.woa/Contents/
WebServerResources/templates/default/logo.gif
Example:
href="/templates/default/logo.gif"
I have
/Library/WebServer/Documents/WebObjects/App.woa/Contents/
WebServerResources/templates/default/logo.gif
But my app doesn't see it. Is this possibly an Eclipse setting? Or
an Apache setting? Or?
Finally how about deployment? Once it works on my dev, it will just
work when I deploy?
For development:
cd /Library/WebServer/Documents
ln -s /path/in/your/project
For deployment, a split install or some other step to copy these into
the doc root.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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