Dev vs Deploy with completeURLWithRequestHandlerKey
Dev vs Deploy with completeURLWithRequestHandlerKey
- Subject: Dev vs Deploy with completeURLWithRequestHandlerKey
- From: Greg Hulands <email@hidden>
- Date: Fri, 21 Oct 2005 11:44:51 +1000
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,
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:
This email sent to email@hidden