Re: Dev vs Deploy with completeURLWithRequestHandlerKey
Re: Dev vs Deploy with completeURLWithRequestHandlerKey
- Subject: Re: Dev vs Deploy with completeURLWithRequestHandlerKey
- From: Chuck Hill <email@hidden>
- Date: Thu, 20 Oct 2005 18:51:50 -0700
On Oct 20, 2005, at 6:44 PM, Greg Hulands wrote:
Hi,
When using context().completeURLWithRequestHandlerKey() when
developing locally, it sets the host name to my bonjour name,
iBook.local, so that everytime I try and use the
completeURLWithRequestHandlerKey method, it puts in iBook.local
instead of localhost. I have tried launching with -DWOHost localhost
I'm not sure if that is a typo or not, but there are two forms for
this and you can't mix them:
-WOHost localhost
-DWOHost=localhost
If you use -D you must use an = sign as this is the Java way of
defining values. The first one is the traditional WO way.
Chuck
, but it doesn't seem to change anything. Currently I have in the
method that uses completeURLWithRequestHandlerKey 2 lines, one
commented out and the other active and I just switch the commented
line depending if I am running local or deploying. The problem I
have with this current situation is that I can sometimes forget to
switch the lines, so when I deploy it returns localhost, instead of
the real domain.
I have searched the archives but could not find any resembelance to
my problem.
Any helps is greatly appreciated.
Regards,
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
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