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: James Cicenia <email@hidden>
- Date: Fri, 20 Jun 2008 11:41:52 -0500
Ok -
I see that that link will make my development much easier once I
figure out this non-direct, split install, embeded,
fluffy bunny layout.
I decided to go non-direct as maybe that was causing my problems but
now it doesn't look as though apache
is seeing my webobjects adaptor include statement?
I saw this useful wiki:
http://en.wikibooks.org/wiki/Programming:WebObjects/Development_Tools/Running_Through_Apache
but there was nothing about the adaptor in there.
James
On Jun 20, 2008, at 11:09 AM, Chuck Hill wrote:
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