Re: Moving to Eclipse...at least trying...[Solved]

2007-06-16 Thread WO Dev
Actually, it was the wrong Application class... Sorry. Xavier Application application = (Application)Application.application(); That should work but if it doesn't just check your imports to make sure the Application is coming out of the correct package - class cast sounds like you may h

Re: Moving to Eclipse...at least trying...

2007-06-15 Thread Paul Stringer
Application application = (Application)Application.application(); That should work but if it doesn't just check your imports to make sure the Application is coming out of the correct package - class cast sounds like you may have the wrong Application imported. It should be coming from com

Re: Moving to Eclipse...at least trying...

2007-06-14 Thread David LeBer
On 14-Jun-07, at 6:15 PM, WO Dev wrote: Hi Mike, You are right, I had to do that... but I'm going to reformat my post as a question? How to you access a method you have in Application.java (which extends ERXApplication) from another class specially Session.java (which extends ERXSessio

Re: Moving to Eclipse...at least trying...

2007-06-14 Thread WO Dev
Hi Mike, You are right, I had to do that... but I'm going to reformat my post as a question? How to you access a method you have in Application.java (which extends ERXApplication) from another class specially Session.java (which extends ERXSession)? Thanks:) Xavier but now we got a

Re: Moving to Eclipse...at least trying...

2007-06-14 Thread Mike Schrag
but now we got a class cast exception on the rm line... In addition to this, it seems we got some null pointer exceptions when trying to access the application from a component. New official policy is that no one is allowed to refer to an exception in story form ("once upon a time i saw an ex

Moving to Eclipse...at least trying...

2007-06-14 Thread WO Dev
Hello guys, We're actually trying to move our projects to Eclipse. Thanks to a couple people (including Anjo;)) and Chuck's scripts we were able to "get started". But we are having a weird issue when trying to execute our application: We are using WOResourceManager to access some of our stri