Re: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2

2008-02-26 Thread Cheong Hee
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

Re: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2

2008-02-25 Thread Cheong Hee (Datasonic)
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

Re: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2

2008-02-25 Thread David Avendasora
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 mysel

Re: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2

2008-02-25 Thread Randy Wigginton
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 wro

Re: JavaEOGenerator Templates for 5.4

2008-02-25 Thread Alexander Spohr
Mine are here: www.0as.de/stuff/EOFTemplates.zip They miss some features as my generator can not sort property names. I will eventually switch to the new WOLips-generator. Currently I am just to lazy to convert my templates ;) atze Am 25.02.2008 um 00:05 schrieb Randy Wigginton:

Re: JavaEOGenerator for 5.3 ?

2008-01-18 Thread Ken Anderson
Cool - thanks Mike. Ken On Jan 18, 2008, at 12:03 PM, Mike Schrag wrote: It has an embedded 5.4 inside of it, so you should be able to use it without any problems on a 5.3 project. ms On Jan 18, 2008, at 11:59 AM, Ken Anderson wrote: I noticed that JavaEOGenerator requires 5.4. Has anybo

Re: JavaEOGenerator for 5.3 ?

2008-01-18 Thread Mike Schrag
It has an embedded 5.4 inside of it, so you should be able to use it without any problems on a 5.3 project. ms On Jan 18, 2008, at 11:59 AM, Ken Anderson wrote: I noticed that JavaEOGenerator requires 5.4. Has anybody set it up successfully with 5.3 ? I assume that it would be OK assuming

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Jake MacMullin
Dennis, I had the same problem. I downloaded the JavaEOGenerator from the Apple web site (http://developer.apple.com/samplecode/JavaEOGenerator/index.html ). It compiled and ran fine - but failed to produce any files. Stepping through the source code in the debugger - I figured out what th

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Gaastra Dennis - WO Lists
Hi Bogdan et al, No modifications; everything stock. Even tried to download it again. Still no files... :-( Why has Pierre not answered this??? Greetings, Dennis. On 14-Jan-08, at 1:46 AM, Bogdan Zlatanov wrote: Gaastra Dennis - WO Lists wrote: Dear List, Running JavaEOGenerator seems

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Mr. Pierre Frisch
Sorry Mike, I have not looked at it for I while. I should have known you would have fixed it. :-) Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 13, 2008, at 20:00, Mike Schrag wrote: The only problem with the Velocity version is that you have to put the generated classes and your subcla

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Bogdan Zlatanov
Gaastra Dennis - WO Lists wrote: Dear List, Running JavaEOGenerator seems to find the model correctly, but produces no files (although it claims it does) ../JavaEOGenerator.woa/JavaEOGenerator -model /Users/sjobs/Documents/JavaEOGenerator/bizDAV_Stuff/bizDAV.eomodeld/ -verbose -destination

Re: JavaEOGenerator generates no files...

2008-01-13 Thread David LeBer
On 13-Jan-08, at 11:21 PM, Gaastra Dennis - WO Lists wrote: Dear List, With Velocity: Make sure the "EOGenerator Executable Path" is blank in Eclipse -> Preferences -> WOLipse -> EOGenerator. All of the values are blank in my setup, but I don't know if that is necessary. 1) Where shou

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Gaastra Dennis - WO Lists
Dear List, With Velocity: 1) Where should the eogen be located in your project? 2) How do you create an eogen file and get into that editor view? 3) How do you run velocity? With Kind Regards, Dennis Gaastra On 13-Jan-08, at 8:00 PM, Mike Schrag wrote: The only problem with the Velocity versi

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Mike Schrag
The only problem with the Velocity version is that you have to put the generated classes and your subclasses in the same package. That's not actually true anymore ... The eogen file defines a "superclass package" option that you can set to "base," which is used by Velocity EOGen. ms __

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Mr. Pierre Frisch
The only problem with the Velocity version is that you have to put the generated classes and your subclasses in the same package. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 13, 2008, at 18:32, Theodore Petrosky wrote: I can not tell you how long I struggled with this problem. I final

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Theodore Petrosky
I can not tell you how long I struggled with this problem. I finally worked it out with: http://wiki.objectstyle.org/confluence/display/WOL/Velocity+EOGenerator+%28Veogen%29 This is giving me great results and I finally feel that I am back on track with using Eclipse and WOLips. That link saved

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Art Isbell
On Jan 13, 2008, at 10:12 AM, Gaastra Dennis - WO Lists wrote: Yes, this is exactly what happened - saw path in verbose - when destination was not specified. In the early version that ignored the destination argument, it didn't matter whether the destination argument was specified. But

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Gaastra Dennis - WO Lists
Hi Pascal, Thank you for your suggestions. However, "ls -la" nor spotlight, show that no files were produced at all. Why can JavaEOGenerator not produce any files; nobody seems to know Hopefully Velocity will be able produce actual files. Is there any more help/tutorials than: http://

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Gaastra Dennis - WO Lists
Hi Art et al, Yes, this is exactly what happened - saw path in verbose - when destination was not specified. But in any case, there were NEVER any actual files produced. Yes, please email the corrected version; or where can we download the newest version? Hopefully one that actually produ

Re: JavaEOGenerator generates no files...

2008-01-13 Thread Art Isbell
On Jan 12, 2008, at 8:12 PM, Gaastra Dennis - WO Lists wrote: Running JavaEOGenerator seems to find the model correctly, but produces no files (although it claims it does) ../JavaEOGenerator.woa/JavaEOGenerator -model /Users/sjobs/Documents/ JavaEOGenerator/bizDAV_Stuff/bizDAV.eomodeld/ -ver

Re: JavaEOGenerator: alphabetical sorting?

2008-01-02 Thread David LeBer
On 2-Jan-08, at 5:20 PM, Art Isbell wrote: On Jan 2, 2008, at 5:46 AM, Alexander Spohr wrote: is JavaEOGenerator capable of sorting arrays alphabetical? Not without JavaEOGenerator source modification. I (used to) generate methods with attribute-names as args. EOGenerator knew abo

Re: JavaEOGenerator: alphabetical sorting?

2008-01-02 Thread Art Isbell
On Jan 2, 2008, at 5:46 AM, Alexander Spohr wrote: is JavaEOGenerator capable of sorting arrays alphabetical? Not without JavaEOGenerator source modification. I (used to) generate methods with attribute-names as args. EOGenerator knew about <$foreach Attribute [EMAIL PROTECTED] do$

Re: JavaEOGenerator: alphabetical sorting?

2008-01-02 Thread Alexander Spohr
Am 02.01.2008 um 16:54 schrieb Charles Koppelman: I believe the trick is <$foreach Attribute [EMAIL PROTECTED] do$> Um, no. My code-example works - for EOGenerator. My question was about JavaEOGenerator. atze Charles Koppelman Youth For Understanding, USA On 1/2/08 10:46 AM, "

Re: JavaEOGenerator: alphabetical sorting?

2008-01-02 Thread Charles Koppelman
I believe the trick is <$foreach Attribute [EMAIL PROTECTED] do$> Charles Koppelman Youth For Understanding, USA On 1/2/08 10:46 AM, "Alexander Spohr" <[EMAIL PROTECTED]> wrote: > Hi List! > > is JavaEOGenerator capable of sorting arrays alphabetical? > > I (used to) generate methods with att

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Art Isbell
On Dec 22, 2007, at 6:42 PM, Jeff Schmitz wrote: A few other problems with the "base" generated code (the classes with the _ before their names): The templates should be considered as examples of the sorts of things that can be done; they should not be considered ready to use without mod

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Jeff Schmitz
A few other problems with the "base" generated code (the classes with the _ before their names): 1. The code references some classes that the compiler can't find. I'm using WO 5.3 btw. e.g. com.webobjects.eoaccess.EORelationship.DeleteRuleNullify: 2.The below generated code references an

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Jeff Schmitz
I have tried JavaEOGenerator and came across a couple of idiosyncrasies (or maybe user error?): 1. I was able to create the eogen file in my project. But then when I right click->EOgenerate... it, it looks for my eomodel file in the JavaEOGenerator project, not my project. I copied my eom

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Chuck Hill
Warning added to originally referenced page. Chuck On Dec 22, 2007, at 7:52 AM, Pascal Robert wrote: http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF- EOGenerator "EOGenerator don't work on Mac OS X 10.5. You either have to use JavaEOGenerator or Velocity EOGenerator." I'

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Guido Neitzer
On 22.12.2007, at 08:47, Drew Thoeni wrote: Using the same instructions as Jeff, with the default install of Leopard (WO 5.4) and the latest version of Eclipse (3.3.1.1.), WOLips (3.3.4750, updated last night) and EOGenerator (1.7). EOGenerator doesn't work on Leopard out of the box. If yo

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Pascal Robert
http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF- EOGenerator "EOGenerator don't work on Mac OS X 10.5. You either have to use JavaEOGenerator or Velocity EOGenerator." I'm finally making the conversion to Eclipse (due to Leopard upgrade) and am having this same problem.

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Drew Thoeni
Mike, I just posted a similar problem and I thought I had read the EOGenerator did now work. I suspect not, based on your post. What is the general process so I can search the archives? Regards Drew On Dec 22, 2007, at 9:12 AM, Mike Schrag wrote: If you're trying to use the eogenerator f

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Drew Thoeni
I'm finally making the conversion to Eclipse (due to Leopard upgrade) and am having this same problem. Using the same instructions as Jeff, with the default install of Leopard (WO 5.4) and the latest version of Eclipse (3.3.1.1.), WOLips (3.3.4750, updated last night) and EOGenerator (1.7)

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Mike Schrag
If you're trying to use the eogenerator from rubicode, it no longer works on Leopard ... There is a lot of information on the list archives about how to do this now. ms On Dec 22, 2007, at 9:05 AM, Jeff Schmitz wrote: Using WO 5.3 on Leopard Client. The error shows in the EOGenerator dial

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Jeff Schmitz
Using WO 5.3 on Leopard Client. The error shows in the EOGenerator dialog. Nothing comes out in the Console log. The EOGenerate dialog comes up and just has the message "EOGenerator finished with the following results: Failed with error code 133". That's it, no other information. Jeff

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-22 Thread Daniele Corti
2007/12/22, Jeff Schmitz <[EMAIL PROTECTED]>: > > Am trying to generate java using method described by below link, but > when I try to bring up the EOGenerate dialog I get error 133, Any > ideas? You mean you try to EOgenerate and in the dialog you have "Error 133"? Does it give some other Info

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-21 Thread Chuck Hill
Tiger? Leopard? WO 5.3? 5.4? Have you checked the Console log? Chuck On Dec 21, 2007, at 8:57 PM, Jeff Schmitz wrote: Am trying to generate java using method described by below link, but when I try to bring up the EOGenerate dialog I get error 133, Any ideas? http://wiki.objectstyle

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-21 Thread Jeff Schmitz
Am trying to generate java using method described by below link, but when I try to bring up the EOGenerate dialog I get error 133, Any ideas? http://wiki.objectstyle.org/confluence/display/WOL/Generating+EO+Java+Classes thanks, jeff ___ Do not pos

Re: [JavaEOGenerator] Bug when generating fetchSpecification methods

2007-12-21 Thread Mr. Pierre Frisch
A class property is by definition visible, so if you have not marked it as visible no method returning a property will see it. An Attribute or a Relationship may be non-visible but an therefore not a property. EOEntity.anyRelationshipNamed or EOEntity.AnyAttribteNamed will return attributes

Re: [JavaEOGenerator] Bug when generating fetchSpecification methods

2007-12-21 Thread Oswaldo Bueno
Hi Art, Thanks for your reply. "Non visible attribute" -> An attribute(database column) included in the eomodel, but not marked as a class property. I have already tested EOEntity._propertyForPath(), and it returns null for attributes not marked as class property. Cheers, Bueno On Dec

Re: [JavaEOGenerator] Bug when generating fetchSpecification methods

2007-12-20 Thread Art Isbell
On Dec 20, 2007, at 11:43 AM, Oswaldo Bueno wrote: I'm using JavaEOGenerator to auto-generate my entity classes. When it generates methods to access EOFetchSpecifications on the eomodeld, it suppresses bindings associated with a non-vi

Re: JavaEOGenerator Eclipse

2007-12-03 Thread Daryl Lee
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@

Re: JavaEOGenerator Eclipse

2007-12-03 Thread Freddie Tilley
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 t

Re: JavaEOGenerator & .base

2007-11-30 Thread Art Isbell
On Nov 30, 2007, at 1:04 PM, Jonathan Miller wrote: When generating your EOs Is there a way to turn off appending .base to the package name without having to alter the source code of JavaEOGenerator itself? According to README.rtfd included with JavaEOGenerator source, the - filenameTemp

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-22 Thread Xavier Destombes
Hello Johan, Did you fix your issue? Actually I'm experiencing the exact same one:) Thanks Xavier Op 11 nov 2007, om 17:40 heeft Mike Schrag het volgende geschreven: After I made all the classes part of a package, everything was fine, apart from the fact that they were 5.4-ish, and I wan

Re: JavaEOGenerator source posted by Apple

2007-11-15 Thread Pascal Robert
They also redirected the webobjects.com domain to http:// developer.apple.com/tools/webobjects/ instead of http://apple.com/ webobjects http://developer.apple.com/samplecode/JavaEOGenerator/index.html ___ Do not post admin requests to the list. The

Re: JavaEOGenerator source posted by Apple

2007-11-15 Thread Ray Kiddy
On Nov 15, 2007, at 10:48 AM, Les Vogel wrote: http://developer.apple.com/samplecode/JavaEOGenerator/index.html -- Les Vogel 808 870-0418 Hey! Wow! Thanks for posting this. We should make sure that Apple's marketing people ... er, let people know ... um, about the tools that Hm.

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-12 Thread Mike Schrag
The actual bug is that all other other methods should be gone because those are non-class relationships, not that PRODUCT_KEY or REVIEW_KEY SHOULD be there ... It was a bug in the default scripts that it was generating methods for all to-many relationships instead of just class to-many rela

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-11 Thread Mike Schrag
"I never use" :-) And huh? You never what? You generate classes for those things? I generate classes for everything ... It almost always ends up that I need an extra attribute on join tables, so I just generate everything. I don't have a single non-class-backed Entity. but I thought tha

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-11 Thread Chuck Hill
On Nov 11, 2007, at 8:40 AM, Mike Schrag wrote: After I made all the classes part of a package, everything was fine, apart from the fact that they were 5.4-ish, and I want 5.3. So I went to the second EOGenerator solution, You can use JavaEOGenerator to produce 5.3 classes -- you just need

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-11 Thread Mike Schrag
After I made all the classes part of a package, everything was fine, apart from the fact that they were 5.4-ish, and I want 5.3. So I went to the second EOGenerator solution, You can use JavaEOGenerator to produce 5.3 classes -- you just need to modify the templates to not use 5.4 features.

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-11 Thread Johan Henselmans
Op 11 nov 2007, om 03:46 heeft Mike Schrag het volgende geschreven: The trick was: 1- replace the -model argument with the full path, and add file: in front of it eg: from [Example.eomodeld] to [file:/Users/johan/projects/example/ Resources/Example.eomodeld]. 2- replace -destination path

Re: JavaEOGenerator running, but I do not understand the output.

2007-11-10 Thread Mike Schrag
The trick was: 1- replace the -model argument with the full path, and add file: in front of it eg: from [Example.eomodeld] to [file:/Users/johan/projects/example/ Resources/Example.eomodeld]. 2- replace -destination path with the full path without the file: in front of it. eg: fro

Re: JavaEOGenerator and Java Client

2007-11-07 Thread David Avendasora
Okay, after further digging, there is a "-javaclient" command-line parameter, so the answer to my question should be yes. Thanks for the replacement Pierre! Dave On Nov 7, 2007, at 3:32 PM, Mike Schrag wrote: please keep these on the mailing list ... I don't use any JC stuff, so I'm not sur

Re: JavaEOGenerator and Java Client

2007-11-07 Thread Galen Rhodes
Does anyone have the relative path name issues resolved yet? Or is that still being worked on? On Nov 7, 2007, at 3:32 PM, Mike Schrag wrote: please keep these on the mailing list ... I don't use any JC stuff, so I'm not sure if it works, but JavaEOGen is supposed to be a drop-in replacem

Re: JavaEOGenerator and Java Client

2007-11-07 Thread Mike Schrag
please keep these on the mailing list ... I don't use any JC stuff, so I'm not sure if it works, but JavaEOGen is supposed to be a drop-in replacement (well, except for template syntax) for eogen. I would recommend just trying JavaEOGenerator. You don't need Leopard or 5.4 to use it. ms

Re: JavaEOGenerator

2007-11-04 Thread Galen Rhodes
I ran into this problem too as well. It's not a problem for just the - model parameter but also for the -destination, -subclassDestination, and -templatedir parameters as well. To resolve relative pathnames it's using the folder of the JavaEOGenerator package instead of the working folder.

Re: JavaEOGenerator

2007-11-01 Thread Mike Schrag
It would appear that JavaEOGenerator is not operating with the project as its working directory. I thought I was setting that properly, because this is how rubicode eogen would run, but perhaps not. I'll have to look into it. On Nov 1, 2007, at 4:30 PM, Johan Henselmans wrote: Op 1 nov

Re: JavaEOGenerator

2007-11-01 Thread Johan Henselmans
Op 1 nov 2007, om 15:33 heeft Mike Schrag het volgende geschreven: Is this a model or a refmodel, can you post your .eogen file contents along with where exactly the models are located? I am having the same problem, on another location. I -think- it is a model, as I do not know what a refm

Re: JavaEOGenerator

2007-11-01 Thread Mike Schrag
Is this a model or a refmodel, can you post your .eogen file contents along with where exactly the models are located? On Oct 31, 2007, at 10:11 PM, Jonathan Miller wrote: Hi, I'm trying to use JavaEOGenerator with Eclipse 3.3.1.1, today's build of WOLIPS and WebObjects 5.3. The generato

re: JavaEOGenerator

2007-10-31 Thread Jonathan Miller
Hi, I'm trying to use JavaEOGenerator with Eclipse 3.3.1.1, today's build of WOLIPS and WebObjects 5.3. The generator initializes but at the end of a long spew of information I see the following error message: Start generation Cannot load model: 'file:/Developer/Applications/JavaEOGenera

Re: JavaEOGenerator

2007-10-30 Thread Lachlan Deck
On 31/10/2007, at 2:37 PM, Mike Schrag wrote: Thank Pierre ... I just packaged it (and patched it :) ). ROTFL. ~17Mb download and (for some) Main.woa will keep 'em guessing... Hello There :-) Perhaps beta3 will show them: Hello ThereLooking for something? Just wait for the support req

Re: JavaEOGenerator

2007-10-30 Thread Mike Schrag
Thank Pierre ... I just packaged it (and patched it :) ). ms On Oct 30, 2007, at 11:31 PM, Sam Barnum wrote: Looks like it's already been updated! The link appears to be Thanks Mike, I was toying around wit

Re: JavaEOGenerator

2007-10-30 Thread Sam Barnum
Looks like it's already been updated! The link appears to be Thanks Mike, I was toying around with cleaning up something we'd written internally, this is probably much nicer. -- Sam Barnum 360 Works http:/

Re: JavaEOGenerator

2007-10-30 Thread Art Isbell
On Oct 30, 2007, at 12:50 PM, Mike Schrag wrote: Other than the template format changing, this should be a 100% drop- in replacement of the original EOGenerator. A big advantage of EOGenerator was Objective-C. This allowed the EOGenerator developers to define NSString categories that adde