Hi Chuck,


In the Run Configuration -> Launch Arguments, "other" has been defaulted with:

${working_dir_loc_WOLips:testApp}

Yes, we are using the old-fashioned WO/NEXT Framework layout, but without the version links.

With command line launching, the value is being set correctly to something like: file:/Library/Frameworks/testFramework.framework/Resources/ TestSubDirectory/TestFile

but not the WOLips launcher...

Dennis.

On 31-Jan-09, at 8:09 PM, Chuck Hill wrote:


On Jan 31, 2009, at 8:06 PM, Gaastra Dennis - WO Lists wrote:

Hi Chuck et al,

We also noticed that:

resourceManager.pathURLForResourceNamed(FILE_REF, "testFramework" , null)

within testFramework does not work anymore when running testApp from WOLips; it returns now null.
In 3.3, it used to work and in deployment mode it also works.

Please help.


It sounds like your launch config is wrong. Are you using the Fluffy Bunny Layout exactly, or making modifications to it? What is the working directory configured to be in the launcher?

Chuck


On 31-Jan-09, at 7:00 PM, Chuck Hill wrote:

Try creating a new launch config in Eclipse.

Chuck

On Jan 30, 2009, at 4:17 PM, Gaastra Dennis - WO Lists wrote:

Dear List,

When running from Eclipse, the test app has trouble locating classes within the test framework. However, when running in deployed mode, from the command line, everything seems to be fine.

Checks:

The framework has been correctly included in Project Properties - > Jave Build Path -> Libraries The framework has been correctly included in Project Properties - > Project References
The framework is listed in ".classpath"

Please explain - it used to work fine in Eclipse/WOLips 3.3.

Thanks.


com.webobjects.foundation.NSForwardException [java.lang.ClassNotFoundException] Cannot find class or component named TESTHyperlink in runtime or in a loadable bundle:<com.webobjects.appserver._private.WOComponentDefinition: Error parsing template for Component : 'file:/Users/dennis/ Documents/workspace/TESTApp/build/TESTApp.woa/Contents/Resources/ Main.wo': java.lang.ClassNotFoundException: Cannot find class or component named TESTHyperlink in runtime or in a loadable bundle

With Kind Regards,

Dennis Gaastra,
Chief Technology Officer,
WEBAPPZ Systems, Inc.


This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. WEBAPPZ Systems, Inc., 726 - 1489 Marine Drive, West Vancouver, BC, CANADA V7T 1B8, www.webappz.com





--
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








--
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







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to