Re: Build error in Eclipse [SOLVED]

2008-03-17 Thread Daniel Brajkovic
Oops, dropped in the Wonder 5.4 frameworks instead of 5.3. That took care of everything. Sorry. On Mar 17, 2008, at 10:49 PM, Daniel Brajkovic wrote: I just did a brand new install of Eclipse 3.3.2, WOlips nightly build and the latest Project wonder. I created a new project, an EOModel, E

Build error in Eclipse

2008-03-17 Thread Daniel Brajkovic
I just did a brand new install of Eclipse 3.3.2, WOlips nightly build and the latest Project wonder. I created a new project, an EOModel, EOGenerated Classes and then tried to run the Application, just to make sure everything is OK. (BTW, I'm using WO 5.3.3) Well, lo and behold, I get this

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread Miguel Arroz
Hi! On 2008/03/17, at 23:33, Anjo Krank wrote: Am 18.03.2008 um 00:18 schrieb Chuck Hill: Me too, now. Thank you kindly. Things are getting full and expensive in that part of town. Expensive? If the dollar continues to do what it does, you can *buy* the hotel when you get there!

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread Mike Schrag
Me too, now. Thank you kindly. Things are getting full and expensive in that part of town. Expensive? If the dollar continues to do what it does, you can *buy* the hotel when you get there! Sure ... Kick the little guy. ms ___ Do not post admi

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 4:33 PM, Anjo Krank wrote: Am 18.03.2008 um 00:18 schrieb Chuck Hill: Me too, now. Thank you kindly. Things are getting full and expensive in that part of town. Expensive? If the dollar continues to do what it does, you can *buy* the hotel when you get there! E

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread Anjo Krank
Am 18.03.2008 um 00:18 schrieb Chuck Hill: Me too, now. Thank you kindly. Things are getting full and expensive in that part of town. Expensive? If the dollar continues to do what it does, you can *buy* the hotel when you get there! Cheers, Anjo ___

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 3:55 PM, David LeBer wrote: On 17-Mar-08, at 6:31 PM, David Holt wrote: Is anyone else seeing a paucity of hotel rooms available that weekend? Does anyone have any suggestions for a good place to stay? The Parc and Marriott are full which is surprising given their si

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread Pascal Robert
I'm thinking of going to Statford, they have good reviews on Expedia. http://www.hotelstratford.com Is anyone else seeing a paucity of hotel rooms available that weekend? Does anyone have any suggestions for a good place to stay? The Parc and Marriott are full which is surprising giv

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread David LeBer
On 17-Mar-08, at 6:31 PM, David Holt wrote: Is anyone else seeing a paucity of hotel rooms available that weekend? Does anyone have any suggestions for a good place to stay? The Parc and Marriott are full which is surprising given their size. Darn iPhone developers ;-) d How much do yo

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread Pascal Robert
Parc 55 was full even before the WWDC announcement :-( Is anyone else seeing a paucity of hotel rooms available that weekend? Does anyone have any suggestions for a good place to stay? The Parc and Marriott are full which is surprising given their size. Darn iPhone developers ;-) d On 17

Re: Mark your calendar: WOWODC is coming

2008-03-17 Thread David Holt
Is anyone else seeing a paucity of hotel rooms available that weekend? Does anyone have any suggestions for a good place to stay? The Parc and Marriott are full which is surprising given their size. Darn iPhone developers ;-) d On 17-Mar-08, at 1:55 PM, Pascal Robert wrote: Hello WO dude

Re: eclipse stalling at startup

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 2:28 PM, Theodore Petrosky wrote: okay. I thought I would wait and download the newest and most updated eclipse and WOLips I have this problem with stalling.. I click to start eclipse and I get the dialog asking which workspace to use.. I click the default and say ok

Re: eclipse stalling at startup

2008-03-17 Thread Simon McLean
are you on a network login ? if so try moving your workspace to the local drive, rather than a network based location. Simon On 17 Mar 2008, at 21:28, Theodore Petrosky wrote: okay. I thought I would wait and download the newest and most updated eclipse and WOLips I have this problem w

eclipse stalling at startup

2008-03-17 Thread Theodore Petrosky
okay. I thought I would wait and download the newest and most updated eclipse and WOLips I have this problem with stalling.. I click to start eclipse and I get the dialog asking which workspace to use.. I click the default and say ok. It appears to be loading and then the status bar just st

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread T Worman
My apps don't have any real problems. :-) Yeah, right. Good to know though. I am doing some batch fetching in certain places and I'm sure some future version of my apps could use tuning but I'm just glad I'm not handicapping anything too badly. Tim - Timothy Worman Programmer/Analyst Gr

Re: WWDC 08

2008-03-17 Thread David LeBer
On 17-Mar-08, at 4:54 PM, Mark Ritchie wrote: On 13-Mar-08, at 5:27 PM, Pascal Robert wrote: It should be a two days event. I don't know if it will be before or after WWDC, I have to check with the Marriott and the Parc 55 hotels. Hey Pascal! If there's a choice, I'd vote for before WWD

Mark your calendar: WOWODC is coming

2008-03-17 Thread Pascal Robert
Hello WO dudes and dudettes, WOWODC is coming in SFO on June 7th/June 8th. I made a quick (two questions) survey to better evaluate how much people will attend this year: http://www.surveymonkey.com/s.aspx?sm=aa4_2bWOr0B6SQ_2bewgY5NJKg_3d_3d We hope to see you there! _

Re: WWDC 08

2008-03-17 Thread Mark Ritchie
On 13-Mar-08, at 5:27 PM, Pascal Robert wrote: It should be a two days event. I don't know if it will be before or after WWDC, I have to check with the Marriott and the Parc 55 hotels. Hey Pascal! If there's a choice, I'd vote for before WWDC. That way, there's no chance of us talking a

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Gaastra Dennis - WO Lists
Hi David, This is how we are retrofitting most of our array loops; now since WO 5.4: public void doThisForAllProducts(EOEditingContext ec) { for (Product aProduct : products()) aProduct.doThis(ec); } Nice and simple, eh? With Kind Regards, Dennis Gaastra, M.B.A.[sfu

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Anjo Krank
Ah, I misunderstood what Chuck was trying to say. Yes, this is fixed in Wonder (also for 5.3). And our toArray also works. Cheers, Anjo Am 17.03.2008 um 19:02 schrieb Anjo Krank: Correct, this was fixed a while ago, but toArray wasn't fixed. Am 17.03.2008 um 17:58 schrieb Chuck Hill: Yes,

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread David Avendasora
It's good to know this. I have just found myself using it a lot and wanted to know if I was doing things the right way or not. If you hadn't noticed, in the past, several of my practices were considered less than optimal. :-) I guess I now have reading to do on Batch Fetching... Dave On

Re: WWDC 08

2008-03-17 Thread Florijan Stamenkovic
+1 Even though I'm working primarily with JavaClient. On Mar 17, 2008, at 04:13, Oliver Scheel wrote: I feel a lot more confident about using WO for new work now than I ever have in the past couple of years. That's true. After taking the J2EE/Apache round trip I enjoy porgramming with

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Mr. Pierre Frisch
This is fixed in WO 5.4 Pierre -- Pierre Frisch [EMAIL PROTECTED] On Mar 17, 2008, at 9:55, David Avendasora wrote: I think I mis-spoke. It doesn't return an array of faults. If the relationship itself is a fault, simply calling products() without the .toArray() in a for loop returns a fau

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Mike Schrag
Yeah ... +1 here. By far your performance problems are going to be inefficient use of EOF. For instance, if you're traversing relationships of relationships, you will want to make sure you have batch fetched them appropriately. See ERXRecursiveBatchFetching in Wonder. ms On Mar 17, 20

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Chuck Hill
Enumeration should be slightly slower. But you are wasting your time looking at this to optimize your WO apps. Go find a real problem. Chuck On Mar 17, 2008, at 11:34 AM, Timmy wrote: All: How does java Enumeration compare to this with regard to performance? I iterate through my EO's

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Timmy
All: How does java Enumeration compare to this with regard to performance? I iterate through my EO's almost always using Enumeration - um because that's how I was "learned." T - Programmer/Analyst Graduate School of Education and Information Studies University of California Los Angeles

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Anjo Krank
Correct, this was fixed a while ago, but toArray wasn't fixed. Am 17.03.2008 um 17:58 schrieb Chuck Hill: Yes, that is a bug on NSArray (I think) that results in the fault not being fired if you call one of the Java collection methods. Which, of course, the new Java for loop calls. It is

Re: source control best practice with wonder

2008-03-17 Thread David LeBer
On 17-Mar-08, at 1:38 PM, Simon McLean wrote: I'm not being rude about it, just wondering if it's one of those things that everyone tolerates because "that's the way it is". I'd put it quite high on the list of "confusing-things-to-get-your- head-around-when-moving-to-eclipse". It just does

Re: source control best practice with wonder

2008-03-17 Thread Mike Schrag
Yeah, I agree. Flexibility is good as an advanced option, but stick the shackles on to begin with - If anything you avoid questions from dummies like me :-) I'm sure this must have been suggested before, but how about fluffy being the default for a new WOnder app in eclipse ? It's the defau

Re: source control best practice with wonder

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 10:38 AM, Simon McLean wrote: I'm not being rude about it, just wondering if it's one of those things that everyone tolerates because "that's the way it is". I'd put it quite high on the list of "confusing-things-to-get-your- head-around-when-moving-to-eclipse". It just

Re: source control best practice with wonder

2008-03-17 Thread Simon McLean
I'm not being rude about it, just wondering if it's one of those things that everyone tolerates because "that's the way it is". I'd put it quite high on the list of "confusing-things-to-get-your-head- around-when-moving-to-eclipse". It just doesn't feel intuitive. Whereas putting your compon

Re: source control best practice with wonder

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 10:04 AM, Simon McLean wrote: What does everyone else do with the woproject files when it comes to source control ? For years, I just swore at them. I've done a bit of that too! The best practice is probably to migrate your project structure to the Fluffy Bunny Layou

Re: Qualifier Format String truncates on error?

2008-03-17 Thread David Avendasora
Give me some credit! In my actual code I had replaced the simple text attribute names with their Entity.ATTRIBUTE_KEY static final String equivelent, so my code was at least somewhat reliable. It just didn't work is all. Dave On Mar 17, 2008, at 12:38 PM, Chuck Hill wrote: Sure, go and g

Re: source control best practice with wonder

2008-03-17 Thread Mike Schrag
Does anyone actually like the pattern set stuff ? I'm not being rude about it, just wondering if it's one of those things that everyone tolerates because "that's the way it is". I'd put it quite high on the list of "confusing-things-to-get-your-head-around-when-moving-to- eclipse". It just d

Re: source control best practice with wonder

2008-03-17 Thread Simon McLean
What does everyone else do with the woproject files when it comes to source control ? For years, I just swore at them. I've done a bit of that too! The best practice is probably to migrate your project structure to the Fluffy Bunny Layout (I really should make a Wiki page for that) and h

Re: Weird problem with setPrefetchingRelationshipKeyPaths

2008-03-17 Thread Chuck Hill
HI Miguel, On Mar 16, 2008, at 11:32 AM, Miguel Arroz wrote: I have an entity A where each object contains some references to other objects in entity B (each A contains some Bs, but each B is on a diferente relation). The relations are one-to-one, and are modeled only from A to B. That

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Chuck Hill
Yes, that is a bug on NSArray (I think) that results in the fault not being fired if you call one of the Java collection methods. Which, of course, the new Java for loop calls. It is a Wonder, Wonderful WOrld. Chuck On Mar 17, 2008, at 9:55 AM, David Avendasora wrote: I think I mis-spoke

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread David Avendasora
I think I mis-spoke. It doesn't return an array of faults. If the relationship itself is a fault, simply calling products() without the .toArray() in a for loop returns a fault and trying to iterate over it doesn't work. At least this was the case in 5.3. I haven't tested it in 5.4. See th

Re: source control best practice with wonder

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 9:46 AM, Simon McLean wrote: What does everyone else do with the woproject files when it comes to source control ? For years, I just swore at them. I've done a bit of that too! The best practice is probably to migrate your project structure to the Fluffy Bunny Layout

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 3:41 AM, David Avendasora wrote: Hi all, I find myself often times needing to iterate through an NSArray of EOs. I'm not sure if the way I'm doing it is the most effecient or not. Here's what I normally do: public void doThisForAllProducts(EOEditingContext ec) {

Re: source control best practice with wonder

2008-03-17 Thread Simon McLean
What does everyone else do with the woproject files when it comes to source control ? For years, I just swore at them. I've done a bit of that too! The best practice is probably to migrate your project structure to the Fluffy Bunny Layout (I really should make a Wiki page for that) and h

Re: Finding an empty to many relationship

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 7:15 AM, Fabrice Pipart wrote: Hi ! I am sure this question has already been asked. But I looked in the mailing list archives, in wiki books and in project wonder and could not find any solution to a problem that should be... simple. I have two entities Source and Dest

Re: Qualifier Format String truncates on error?

2008-03-17 Thread David Avendasora
Filed. Problem ID: 5802594 On Mar 17, 2008, at 11:12 AM, Chuck Hill wrote: On Mar 17, 2008, at 8:07 AM, David Avendasora wrote: Hi all, I just spent about 3 hours trying to track down an error I had in a EOQualifier.qualifierWithFormat(String format, NSArray args) call: I was using is

Re: Qualifier Format String truncates on error?

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 8:29 AM, Alexander Spohr wrote: Or if you’re not using Wonder stick to the matching qualifiers: EOKeyValueQualifier, EOAndQualifier, EOOrQualifier... Forget that there is something like qualifierWithFormat. It is considered evil and only lures the lazy ones into the pit o

Re: source control best practice with wonder

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 8:38 AM, Simon McLean wrote: Hi All - What does everyone else do with the woproject files when it comes to source control ? For years, I just swore at them. We've got some projects where all the woproject files are under source control, and others have only some of

source control best practice with wonder

2008-03-17 Thread Simon McLean
Hi All - What does everyone else do with the woproject files when it comes to source control ? We've got some projects where all the woproject files are under source control, and others have only some of them. I can't remember the specifics as to why we excluded some files in the past,

Re: Qualifier Format String truncates on error?

2008-03-17 Thread Alexander Spohr
Or if you’re not using Wonder stick to the matching qualifiers: EOKeyValueQualifier, EOAndQualifier, EOOrQualifier... Forget that there is something like qualifierWithFormat. It is considered evil and only lures the lazy ones into the pit of the queasy qualifier beast of traal! atze

Re: Qualifier Format String truncates on error?

2008-03-17 Thread Mike Schrag
"part = %@ and lotCodeValue = %@ amd manufacturingSchedule = %@" This is why I build qualifiers with code. In particular, with ERXKey, this would be: EOQualifier qualifier = Item .PART .is (part ).and (Item .LOT_CODE_VALUE .is(lotCodeValue)).and(Item.MANUFACTURING_SCHEDULE.is(schedul

Re: Qualifier Format String truncates on error?

2008-03-17 Thread Chuck Hill
On Mar 17, 2008, at 8:07 AM, David Avendasora wrote: Hi all, I just spent about 3 hours trying to track down an error I had in a EOQualifier.qualifierWithFormat(String format, NSArray args) call: I was using is String: "part = %@ and lotCodeValue = %@ amd manufacturingSchedule = %@" Note

Qualifier Format String truncates on error?

2008-03-17 Thread David Avendasora
Hi all, I just spent about 3 hours trying to track down an error I had in a EOQualifier.qualifierWithFormat(String format, NSArray args) call: I was using is String: "part = %@ and lotCodeValue = %@ amd manufacturingSchedule = %@" Note the second "and" is actually "amd" This did not genera

My next Step

2008-03-17 Thread Gustavo Pizano
Hello, well, I think Im gonna try to do something, that I m guessing its easy to achieve with WO. I decide to do this to train in a better way I guess. At school I have to implement Some DAO's to make them work with an ORM(Hibernate) and MySQL. with a realtional database, its small but we

Finding an empty to many relationship

2008-03-17 Thread Fabrice Pipart
Hi ! I am sure this question has already been asked. But I looked in the mailing list archives, in wiki books and in project wonder and could not find any solution to a problem that should be... simple. I have two entities Source and Dest with an optional many to many relationship between t

Re: Most efficient way to iterate through an NSArray

2008-03-17 Thread Alexander Spohr
Hey David. Am 17.03.2008 um 11:41 schrieb David Avendasora: I find myself often times needing to iterate through an NSArray of EOs. I'm not sure if the way I'm doing it is the most effecient or not. Here's what I normally do: public void doThisForAllProducts(EOEditingContext ec) {

Most efficient way to iterate through an NSArray

2008-03-17 Thread David Avendasora
Hi all, I find myself often times needing to iterate through an NSArray of EOs. I'm not sure if the way I'm doing it is the most effecient or not. Here's what I normally do: public void doThisForAllProducts(EOEditingContext ec) { for (Object aProductObject : products().toArray()) {

Upgrade to leopard causes ERXBlowfish exception (SOLVED)

2008-03-17 Thread Simon McLean
Hi All - I've been tinkering with upgrading to leopard over the weekend. I've updated one machine, then run the woswitch.sh script so we can continue developing under 5.3.3. I had to do a bit of build path jigging to get things working again, but pretty much all our code still seems to wo

Re: WWDC 08

2008-03-17 Thread Oliver Scheel
> I feel a lot more confident about using WO for new work now than I ever > have in the past couple of years. That's true. After taking the J2EE/Apache round trip I enjoy porgramming with WO (and WOLips) on NEW projects ;-) And: "The King is dead, long live the King!" ;-) Oliver