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 09:49:24 -0500
I am using for better or worse, static strings in some of my components.
So the url doesn't change. So /templates/default/logo.gif will point
to the
webroot and not the webroot + WebObjects + App.woa......
James
On Jun 20, 2008, at 9:29 AM, Daniele Corti wrote:
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden
--
Computers are like air conditioners -- they stop working properly if
you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
On Fri, Jun 20, 2008 at 3:44 PM, James Cicenia <email@hidden>
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
Are you sure of this? Check first the HTML result (source code in your
browser) and see what it gives for href. I think the path, using
href="/templates/default/logo.gif" will be
http://your_host/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?
Thanks
James Cicenia
_______________________________________________
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
_______________________________________________
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