Re: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2
Sorry, missing / in url. The right one is : www.anzteam.com/wotemplate/ Any way, added into wiki: http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=2655245 Message: 1 Date: Tue, 26 Feb 2008 11:27:50 +0800 From: Cheong Hee (Datasonic) [EMAIL PROTECTED] Subject: Re: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2 To: webobjects-dev@lists.apple.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original From what i know, JavaEOGenerator did work on command line but could not through [right click] on eogen file. The reason that i understood was it needs to take the full path when specifying destination, model and subclass destination. If you look at eogen file, it is using relative path, and JavaEOGenerator does not work on these pathes. By copy those files and make amendment to those pathes into full path, run it on command line, java and _java files shall be generated in the destination directory. If JavaEOGenerator or eogen file could make few changes to resolve the path issue, [right click and generate] will be very helpful. The template examples that I have spent some hours to modify and get it worked from original ones, could be found at www.anzteam.com/wotemplate. This is just another way to get it works, and not as details as Velocity EOGenerator. Let me know if it is working for you. I will try to include them in wiki by this week. I hope it will help to have a working base template for those to add on. Cheong Hee Message: 3 Date: Mon, 25 Feb 2008 12:33:02 +0100 From: Emmanuel KOPP [EMAIL PROTECTED] Subject: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2 To: WebObjects-Dev List webobjects-dev@lists.apple.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hello, I try to generate my Java files from the JavaEOGenrator but is seems don't work. The .eogen file is ok (generated) but the java class aren't generate when I do a right clic on de eogen file on eclipse. I tried with the JavaEOgenerator - http://developer.apple.com/samplecode/JavaEOGenerator/index.html and Veogen. I use : Eclipse 3.3.1.1 WOLips 3.3.4878 Mac OS X . 10.5.2 Webobjects 5.4 If someone have an idea ? Thank Emmanuel ___ 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: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2
Unless someone offers a better solution, I will revamp the templates for WO 5.4 and put them somewhere easily accessible. The changes are not vast, but it sure is a pain to hand edit all the .java files every time I make a change to the model. On Feb 25, 2008, at 3:33 AM, Emmanuel KOPP wrote: Hello, I try to generate my Java files from the JavaEOGenrator but is seems don't work. The .eogen file is ok (generated) but the java class aren't generate when I do a right clic on de eogen file on eclipse. I tried with the JavaEOgenerator - http://developer.apple.com/samplecode/JavaEOGenerator/index.html and Veogen. I use : Eclipse 3.3.1.1 WOLips 3.3.4878 Mac OS X . 10.5.2 Webobjects 5.4 If someone have an idea ? Thank Emmanuel ___ 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/cawineguy%40gmail.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: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2
There is a Wiki page for templates http://wiki.objectstyle.org/ confluence/pages/viewpage.action?pageId=2655245 for the various generators. I heartily recommend singing up for a Confluence login and adding them. If you don't want to do that, please forward them to me and I can add them myself. Thanks! Dave On Feb 25, 2008, at 9:33 AM, Randy Wigginton wrote: Unless someone offers a better solution, I will revamp the templates for WO 5.4 and put them somewhere easily accessible. The changes are not vast, but it sure is a pain to hand edit all the .java files every time I make a change to the model. On Feb 25, 2008, at 3:33 AM, Emmanuel KOPP wrote: Hello, I try to generate my Java files from the JavaEOGenrator but is seems don't work. The .eogen file is ok (generated) but the java class aren't generate when I do a right clic on de eogen file on eclipse. I tried with the JavaEOgenerator - http://developer.apple.com/ samplecode/JavaEOGenerator/index.html and Veogen. I use : Eclipse 3.3.1.1 WOLips 3.3.4878 Mac OS X . 10.5.2 Webobjects 5.4 If someone have an idea ? Thank Emmanuel ___ 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/cawineguy% 40gmail.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/webobjects% 40avendasora.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: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2
From what i know, JavaEOGenerator did work on command line but could not through [right click] on eogen file. The reason that i understood was it needs to take the full path when specifying destination, model and subclass destination. If you look at eogen file, it is using relative path, and JavaEOGenerator does not work on these pathes. By copy those files and make amendment to those pathes into full path, run it on command line, java and _java files shall be generated in the destination directory. If JavaEOGenerator or eogen file could make few changes to resolve the path issue, [right click and generate] will be very helpful. The template examples that I have spent some hours to modify and get it worked from original ones, could be found at www.anzteam.com/wotemplate. This is just another way to get it works, and not as details as Velocity EOGenerator. Let me know if it is working for you. I will try to include them in wiki by this week. I hope it will help to have a working base template for those to add on. Cheong Hee Message: 3 Date: Mon, 25 Feb 2008 12:33:02 +0100 From: Emmanuel KOPP [EMAIL PROTECTED] Subject: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2 To: WebObjects-Dev List webobjects-dev@lists.apple.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hello, I try to generate my Java files from the JavaEOGenrator but is seems don't work. The .eogen file is ok (generated) but the java class aren't generate when I do a right clic on de eogen file on eclipse. I tried with the JavaEOgenerator - http://developer.apple.com/samplecode/JavaEOGenerator/index.html and Veogen. I use : Eclipse 3.3.1.1 WOLips 3.3.4878 Mac OS X . 10.5.2 Webobjects 5.4 If someone have an idea ? Thank Emmanuel ___ 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: JavaEOGenerator Eclipse
On 21 nov 2007, at 16:17, Freddie Tilley wrote: When I generate my javaclasses files in Eclipse 3.3 using JavaEOGenerator, all the attributes accessor methods always use data types: com.webobjects.foundation.NSData instead of just String, even though I set the data type in Entity Modeler to String S the JavaEOGenerator template contains attribute.valueTypeClassName to set the class name How can I fix this, because changing the types manually is obviously not the long term answer To answer my own question: The reason why it doesn't work is when choosing a prototype for an attribute in Entity Modeler (in eclipse) the following items are not stored in the plist file of the entities attribute valueClassName valueType I my case the prototypes stored in a separate eomodeld file with the valueClassName and valueType of each item however the JavaEOGenerator does not use this info to generate the type and it defaults to NSData. the eogen file generated by eclipse contains a reference to the separate eomodeld file but it does not use the two missing properties. The workaround for this is copying two properties for each attribute manually into the entity attributes in the plist and then it works Is there a workaround for this? Should I file a bug for Entity Modeler? Or is the JavaEOGenerator responsible for this? ___ 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: JavaEOGenerator Eclipse
File a bug against JavaEOGenerator. On Dec 3, 2007, at 8:35 AM, Freddie Tilley wrote: Or is the JavaEOGenerator responsible for this? ___ 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]
JavaEOGenerator Eclipse
When I generate my javaclasses files in Eclipse 3.3 using JavaEOGenerator, all the attributes accessor methods always use data types: com.webobjects.foundation.NSData instead of just String, even though I set the data type in Entity Modeler to String S the JavaEOGenerator template contains attribute.valueTypeClassName to set the class name How can I fix this, because changing the types manually is obviously not the long term answer ___ 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]