Re: WODirectConnectEnabled false resource paths problem
Re: WODirectConnectEnabled false resource paths problem
- Subject: Re: WODirectConnectEnabled false resource paths problem
- From: David LeBer <email@hidden>
- Date: Tue, 4 May 2010 16:31:24 -0400
On 2010-05-04, at 9:39 AM, Kieran Kelleher wrote:
> FWIW, I have no problems with dev resource URLS and I just checked two separate application dev environments right just now:
>
> 1) Eclipse 3.5.1 Carbon, WOLips 3.5.6409, WebObjects 5.3.3
>
> 2) Eclipse 3.5.1 Carbon, WOLips 3.5.6031, WebObjects 5.4.3
>
> Mac config: OS X 10.6.3
>
> I have been using these environments daily 100% for a long time.
>
> In fact, I find the above configurations pretty rock solid with the exception of the rare occasional time when WOD autocompletion stops working and I need to restart Eclipse.
>
> If you need specific settings for either app environment to help troubleshoot, let me know
> HTH, Kieran
I've got it working.
I had to enable the ProjectBuilder server in the WOLips preferences.
Why? I have no idea.
> On May 4, 2010, at 12:38 AM, David LeBer wrote:
>
>>
>> On 2010-05-03, at 10:48 PM, Clark Mueller wrote:
>>
>>> Where are you setting WODirectConnectEnabled? If you're setting this in a properties file somewhere, that value may be getting overridden by an argument or one of the "WO" flags in your launch configs, particularly if your Eclipse 3.5 workspace and launch configs were created from scratch.
>>
>> Thanks Clark,
>>
>> I'm setting it in the WO properties of the run configuration. The install of eclipse/wolips is fresh with fresh project imports from svn and new run configs, so I don't think that it is a conflicting property. And it looks like the "-WODirectConnectEnabled false" setting is working fine (otherwise I'd get direct connect urls). But for some reason I'm not getting the dev urls (with the wr request handler).
>>
>>>
>>> Clark
>>>
>>> <PastedGraphic-1.png>
>>>
>>> <PastedGraphic-2.png>
>>>
>>> On May 3, 2010, at 7:37 PM, Chuck Hill wrote:
>>>
>>>>
>>>> On May 3, 2010, at 7:35 PM, David LeBer wrote:
>>>>
>>>>>
>>>>> On 2010-05-03, at 10:18 PM, Chuck Hill wrote:
>>>>>
>>>>>> The only thing that comes to mind is the Wonder development mode setting in Properties.
>>>>>
>>>>> If you mean er.extensions.ERXApplication.developmentMode=true... I tried that.
>>>>
>>>> Yes, that is what I mean.
>>>>
>>>>
>>>>>> That said, I am still a 3.4 luddite.
>>>>>
>>>>> And so it seems, am I :-)
>>>>
>>>> Old age is a bitter pill.
>>>>
>>>>
>>>>>> On May 3, 2010, at 6:55 PM, David LeBer wrote:
>>>>>>
>>>>>>> This is a little weird,
>>>>>>>
>>>>>>> After the tweets yesterday, I figured I should probably try moving to a more modern version of Eclipse/WOLips - meaning Eclipse 3.5 Carbon.
>>>>>>>
>>>>>>> When I run my apps in the new tools with WODirectConnectEnabled false I get deployment style resource paths:
>>>>>>>
>>>>>>> <img src="/WebObjects/Poms2.woa/Contents/WebServerResources/English.lproj/logo_sears.gif" width="760" height="54">
>>>>>>>
>>>>>>> On my old (Eclipse 3.4.x) tools I get development style resource paths:
>>>>>>>
>>>>>>> <img src="/cgi-bin/WebObjects/Poms2.woa/-5599/wr/wodata=/Users/david/Code/WO53Workspace/Poms2/build/Poms2.woa/Contents/WebServerResources/English.lproj/logo_sears.gif" width="760" height="54">
>>>>>>>
>>>>>>> Am I missing an obvious flag or config somewhere?
>>>>
>>>> --
>>>> Chuck Hill Senior Consultant / VP Development
>>>>
>>>> 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
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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