Re: Migrating old project Xcode to Eclipse - Fixed. . . . and more issues.
On Sep 6, 2008, at 6:26 PM, Andrew R. Kinnie wrote: OK, Chuck's suggestion worked. However now I am getting exceptions: Sep 06 21:02:34 MyApp[50363] ERROR er.extensions.appserver.ERXApplication - Exception caught: failed instantiation. Exception thrown : java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class MyApp.com.Performance: Unabled to find an EOClassDescription for objects of class MyApp.com.MyEOSubclass5 Earlier in the log I get these messages: Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass1 exception: java.lang.ClassNotFoundException: MyEOSubclass1 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass2 exception: java.lang.ClassNotFoundException: MyEOSubclass2 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass3 exception: java.lang.ClassNotFoundException: MyEOSubclass3 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass4 exception: java.lang.ClassNotFoundException: MyEOSubclass4 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass5 exception: java.lang.ClassNotFoundException: MyEOSubclass5 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass6 exception: java.lang.ClassNotFoundException: MyEOSubclass6 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass7 exception: java.lang.ClassNotFoundException: MyEOSubclass7 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] ERROR er.extensions.eof.ERXEntityClassDescription - Unable to register descriptions for class: MyApp.com.MyEOSubclass5 Is there something else I am missing? It looks like the classpath is wrong or your launcher config is wrong. How are you trying to run this? Right click on the Application class and pick Run As WebObjects Application. Chuck -- 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 [EMAIL PROTECTED]
Re: Migrating old project Xcode to Eclipse - Fixed. . . . and more issues.
OK, Chuck's suggestion worked. However now I am getting exceptions: Sep 06 21:02:34 MyApp[50363] ERROR er.extensions.appserver.ERXApplication - Exception caught: failed instantiation. Exception thrown : java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class MyApp.com.Performance: Unabled to find an EOClassDescription for objects of class MyApp.com.MyEOSubclass5 Earlier in the log I get these messages: Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass1 exception: java.lang.ClassNotFoundException: MyEOSubclass1 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass2 exception: java.lang.ClassNotFoundException: MyEOSubclass2 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass3 exception: java.lang.ClassNotFoundException: MyEOSubclass3 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass4 exception: java.lang.ClassNotFoundException: MyEOSubclass4 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass5 exception: java.lang.ClassNotFoundException: MyEOSubclass5 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass6 exception: java.lang.ClassNotFoundException: MyEOSubclass6 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOSubclass7 exception: java.lang.ClassNotFoundException: MyEOSubclass7 using com.webobjects.eocontrol.EOGenericRecord instead Sep 06 21:02:34 MyApp[50363] ERROR er.extensions.eof.ERXEntityClassDescription - Unable to register descriptions for class: MyApp.com.MyEOSubclass5 Is there something else I am missing? Andrew ___ 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 [EMAIL PROTECTED]
Re: Migrating old project Xcode to Eclipse
On Sep 6, 2008, at 2:48 PM, Andrew R. Kinnie wrote: I am attempting to re-create an old project into a fresh Wonder project. However, after dragging in all the java files and components, the wods are having errors. I am getting repeated errors where they don't find keys from various java files associated with my components. The java files themselves actually have the instance variables. Does anyone have any insight? Are they public or not? By default, proctected variables are flagged as an error (really bad practice). IIRC there is a setting under Preferences to allow these. I tried the xcode migration tool, but had an error "can't find package dumper" so I tried the manual method. I have updated WOLips to last night's nightly with Eclipse 3.4 (fully updated), and the WO version is the one from iPhone SDK. The most current version (other than the nightly builds) is, perversely, part of the Xcode download. Chuck -- 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 [EMAIL PROTECTED]
Migrating old project Xcode to Eclipse
I am attempting to re-create an old project into a fresh Wonder project. However, after dragging in all the java files and components, the wods are having errors. I am getting repeated errors where they don't find keys from various java files associated with my components. The java files themselves actually have the instance variables. Does anyone have any insight? I tried the xcode migration tool, but had an error "can't find package dumper" so I tried the manual method. I have updated WOLips to last night's nightly with Eclipse 3.4 (fully updated), and the WO version is the one from iPhone SDK. Andrew ___ 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 [EMAIL PROTECTED]
Re: WOMailDelivery error message
BTW this is the code we're using: WOMailDelivery.sharedInstance().composePlainTextEmail( [EMAIL PROTECTED], new NSArray([EMAIL PROTECTED]), null, subject.toString(), message, true); WOMailDelivery.sharedInstance().composePlainTextEmail( someconstant.constant_name, new NSArray(someconstant.constant_name), null, subject.toString(), message, true); Hope you can help me! Thanks a lot in advance Mersida --- On Fri, 9/5/08, Mersida Kurti <[EMAIL PROTECTED]> wrote: From: Mersida Kurti <[EMAIL PROTECTED]> Subject: WOMailDelivery error message To: "WebObjects Dev" Date: Friday, September 5, 2008, 10:54 AM Hi, We're using WOMailDelivery with Java 1.5, mac intel, wo 5.4.2 and I'm seeing the following: Anything changed with WOMailDelivery since WO 5.2.4? The app runs, however, it does not send the email its supposed to. Thanks, Mersida [2008-9-5 10:50:13 EDT] com.webobjects.foundation.NSForwardException [com.webobjects.foundation.NSForwardException] java.lang.reflect.InvocationTargetException:com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:522) at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:511) at com.webobjects.appserver.WOMailDelivery$ThreadedTransportSender.run(WOMailDelivery.java:498) Caused by: com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:588) at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:520) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:586) ... 3 more Caused by: javax.mail.NoSuchProviderException: No provider for Address type: rfc822 at javax.mail.Session.getTransport(Session.java:516) at javax.mail.Transport.send0(Transport.java:155) at javax.mail.Transport.send(Transport.java:81) ... 8 more ___ 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/muc154%40yahoo.com This email sent to [EMAIL PROTECTED] ___ 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 [EMAIL PROTECTED]
Re: Cappuccino
On Sep 05, 2008, at 18:54, Chuck Hill wrote: Ross is no slouch though. Not saying he is. Just that the lack of real world experience (does Apple count as real world? :-P) gave me pause. On the other hand, you could point to the Java API that was designed by professionals with many years of experience, so that does not guarantee a good API either. It's powerful though. Cappuccino does not really look powerful. Looks pretty. It might gather a following. And then die a quick death. But I guess I am far fetching. Whatever. F ___ 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 [EMAIL PROTECTED]