Re: Cannot rollbackTransaction() while a fetch is in progress (Was: MySQL 5.0 - note)

2008-07-09 Thread Lachlan Deck
Anyone else seen this or know why it happens? On 09/07/2008, at 4:49 PM, Lachlan Deck wrote: Hi there, did you manage to track this one down? I've just started seeing this today... confounding nuisance. On 21/02/2008, at 1:45 AM, Simon McLean wrote: Hi Kieran, In the last couple of days

Re: Maven Optimism

2008-07-09 Thread Lachlan Deck
On 10/07/2008, at 1:50 PM, Mike Schrag wrote: Will Ant tasks rely on Eclipse .classpath file to build WO projects? Yes ... You can do an eclipse = "true" on several of the ant tags (like ) and framework dependencies will load from .classpath. Will that also depend on it knowing where the w

Re: Maven Optimism

2008-07-09 Thread Lachlan Deck
On 10/07/2008, at 1:44 PM, Henrique Prange wrote: Lachlan Deck wrote: On 10/07/2008, at 3:11 AM, Anjo Krank wrote: But whatever: where is the maven dual build of Wonder with 5.4 and 5.3? :-) Well there is a task for it: http://issues.objectstyle.org/jira/browse/WONDER-112 Hope we can solve

Re: Maven Optimism

2008-07-09 Thread Lachlan Deck
On 10/07/2008, at 1:37 PM, Henrique Prange wrote: Anjo Krank wrote: Am 09.07.2008 um 06:16 schrieb Anjo Krank: Oh, I forgot: will someone please fix the maven descriptions so they dual-build Wonder with 5.4 and 5.3. I mean, like we're doing now? I have talked with Lachlan about a possible

WO 5.4.2 Test Deploy on Tiger

2008-07-09 Thread Andrew Lindesay
Hello; I keep getting this NSLog line... Instance Request: Error parsing: STATISTICS Has anybody else had this --- does this mean that I need to update the apache adaptor? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do not post admin

Re: Maven Optimism

2008-07-09 Thread Mike Schrag
Will Ant tasks rely on Eclipse .classpath file to build WO projects? Yes ... You can do an eclipse = "true" on several of the ant tags (like ) and framework dependencies will load from .classpath. ms ___ Do not post admin requests to the list. The

Re: Maven Optimism

2008-07-09 Thread Henrique Prange
Hi Lachlan, Lachlan Deck wrote: On 10/07/2008, at 3:11 AM, Anjo Krank wrote: But whatever: where is the maven dual build of Wonder with 5.4 and 5.3? :-) Well there is a task for it: http://issues.objectstyle.org/jira/browse/WONDER-112 Hope we can solve this soon. :) Cheers, Henrique w

Re: Maven Optimism

2008-07-09 Thread Henrique Prange
Hi Pierce, Pierce T. Wetter III wrote: On Jul 9, 2008, at 10:11 AM, Anjo Krank wrote: Note: I don't think LOC is a good metric, but what the heck. Also, I'm not really interested in this discussion. I wouldn't participate if not for these unfounded claims you made. Sorry, I agree that LO

Re: Maven Optimism

2008-07-09 Thread Henrique Prange
Hi Chuck, Chuck Hill wrote: Hi Pierce, On Jul 9, 2008, at 2:50 AM, Pierce T. Wetter III wrote: I'm using this as a measure: wc -l `find . -name "build.xml" -print` Build/build/build-*.xml Build/build/generic.xml `find . -name "build.properties" -print` `find . -name "*.patternset" -prin

Re: Maven Optimism

2008-07-09 Thread Henrique Prange
Hi Pierce, Pierce T. Wetter III wrote: On Jul 8, 2008, at 7:23 PM, Mike Schrag wrote: Many of these jar files are duplicates of each other, or even worse, different versions of the same jar, like there is a version of commons-logging.jar in ERJGroupsSynchronizer and another one in EROpenID.

Re: Maven Optimism

2008-07-09 Thread Henrique Prange
Hi Lachlan, Lachlan Deck wrote: On 09/07/2008, at 2:16 PM, Anjo Krank wrote: Yep, I'm not sure why maven's pom insists on having the version of a parent defined. I would have thought it could be inherited. Swings and roundabouts. One reason: You have to declare the version because your pa

Re: Maven Optimism

2008-07-09 Thread Henrique Prange
Hi Anjo, Anjo Krank wrote: Am 09.07.2008 um 06:16 schrieb Anjo Krank: Oh, I forgot: will someone please fix the maven descriptions so they dual-build Wonder with 5.4 and 5.3. I mean, like we're doing now? I have talked with Lachlan about a possible solution using profiles. It is on the

Re: Maven Optimism

2008-07-09 Thread Henrique Prange
Hi all, Am I late for the party? :) Anjo Krank wrote: macbook:Wonder ak$ wc `find . -name pom.xml`|tail -1 21522438 66007 total It's still more than zero (if someone would consider this a measure at all). "It's not the size, it's the magic it does". :p I think the measure is go

AjaxUpdateLink and Query Parameters

2008-07-09 Thread Jonathan Miller
Hi, Is there a way to send query parameters when using AjaxUpdateLink? With WOHyperlink you can add ?variable=value to the WO's descriptor - is there any similar mechanism for AUL? Thanks, Jon ___ Do not post admin requests to the list. They wil

Re: Cannot rollbackTransaction() while a fetch is in progress (Was: MySQL 5.0 - note)

2008-07-09 Thread Lachlan Deck
Thanks Simon. On 10/07/2008, at 1:02 AM, Simon McLean wrote: sorry lachlan, no i didn't. but it has since gone away so maybe just a framework version issue. we haven't updated mysql or the j connector. Simon On 9 Jul 2008, at 07:49, Lachlan Deck wrote: Hi there, did you manage to track

Re: Maven Optimism

2008-07-09 Thread Lachlan Deck
On 10/07/2008, at 10:11 AM, Pierce T. Wetter III wrote: How would Maven handle it if the package name for the Application were changed in Eclispe? Huh? I think he means lets say you have your Application.java in a package thusly: com.twinforces.myCoolApp.Application And you change it t

Re: Maven Optimism

2008-07-09 Thread Chuck Hill
On Jul 9, 2008, at 4:59 PM, Lachlan Deck wrote: On 10/07/2008, at 3:06 AM, Chuck Hill wrote: On Jul 9, 2008, at 2:50 AM, Pierce T. Wetter III wrote: I may have miscounted by overcounting the symlinks to build.xml though as I didn't notice those but I think you're undercounting by only l

Re: Maven Optimism

2008-07-09 Thread Chuck Hill
On Jul 9, 2008, at 5:11 PM, Pierce T. Wetter III wrote: How would Maven handle it if the package name for the Application were changed in Eclispe? Huh? I think he means lets say you have your Application.java in a package thusly: com.twinforces.myCoolApp.Application And you change i

Re: Maven Optimism

2008-07-09 Thread Pierce T. Wetter III
Now, what does maven do for this? Unless it is reading the .classpath file, it also has to somehow, somewhere duplicate the information that Eclipse uses. No. It's the opposite actually. The classpath is dynamic via the maven plugin / builder. i.e., the classpath in eclipse is derived

Re: Maven Optimism

2008-07-09 Thread Lachlan Deck
On 10/07/2008, at 3:11 AM, Anjo Krank wrote: But whatever: where is the maven dual build of Wonder with 5.4 and 5.3? :-) Well there is a task for it: http://issues.objectstyle.org/jira/browse/WONDER-112 with regards, -- Lachlan Deck ___ Do not

Re: Maven Optimism

2008-07-09 Thread Lachlan Deck
On 10/07/2008, at 3:06 AM, Chuck Hill wrote: On Jul 9, 2008, at 2:50 AM, Pierce T. Wetter III wrote: I may have miscounted by overcounting the symlinks to build.xml though as I didn't notice those but I think you're undercounting by only looking at Build/build/*.xml. I'm using this as a

Re: WOXMLDecoder and NSData

2008-07-09 Thread Daryl Lee
Turns out this is a bug in WO 5.4.2 and earlier. Can you file a bug? On Jul 8, 2008, at 1:05 PM, Steve Peery wrote: I am upgrading a WO Application to version 5.4 and everywhere I use WOXMLDecoder to decode a NSData object it generates a NullPointerException. It worked fine before. Any clu

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread Chuck Hill
On Jul 9, 2008, at 12:32 PM, JR Ruggentaler wrote: No, no prototypes are used. Well, they are designed to solve the problem that you have at hand. You will want to convert the model to use them. All the entities are EOGenericRecords and are modified quarterly+. We are trying speed acc

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread Mike Schrag
EOSchemaGeneration was added in 5.4 per the API documentation. I looked at some other APIs but they were depreciated and they referenced EOSchemaGeneration. It's more important which API you're calling to get the instance of the schema generation ... You want to make sure it's the 5.4 one.

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread JR Ruggentaler
On Jul 9, 2008, at 3:39 PM, Mike Schrag wrote: On Jul 9, 2008, at 3:19 PM, Mike Schrag wrote: It's crucial that if you're using 5.4 to do schema generation that you call the 5.4-specific schema generation API's ... I don't know that it will solve your problems, but I know it will cause yo

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread David Avendasora
On Jul 9, 2008, at 4:32 PM, JR Ruggentaler wrote: On Jul 9, 2008, at 3:11 PM, David Avendasora wrote: JR, I think you don't understand what the prototypes are that Chuck is referring to. I do understand but we are not using prototypes. The EO models are quite old and were always targe

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread Mike Schrag
On Jul 9, 2008, at 3:19 PM, Mike Schrag wrote: It's crucial that if you're using 5.4 to do schema generation that you call the 5.4-specific schema generation API's ... I don't know that it will solve your problems, but I know it will cause you problems if you don't. EOSchemaGeneration wa

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread JR Ruggentaler
On Jul 9, 2008, at 3:19 PM, Mike Schrag wrote: It's crucial that if you're using 5.4 to do schema generation that you call the 5.4-specific schema generation API's ... I don't know that it will solve your problems, but I know it will cause you problems if you don't. EOSchemaGeneration wa

Re: HINT: If you ever switch to ERPrototypes ...

2008-07-09 Thread Florijan Stamenkovic
Guido, Thanks for the heads up, I am about to start using WOnder prototypes, so it's good to know this. F On Jul 09, 2008, at 12:07, Guido Neitzer wrote: ... check the "not null" settings in your model! I switched from my own EVPrototypes to ERPrototypes on the last weekend for my priva

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread Mike Schrag
It's crucial that if you're using 5.4 to do schema generation that you call the 5.4-specific schema generation API's ... I don't know that it will solve your problems, but I know it will cause you problems if you don't. On Jul 9, 2008, at 4:08 PM, Andrew Lindesay wrote: Hello; I have a E

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread Andrew Lindesay
Hello; I have a EO model that I want to move some entities at runtime from an Oracle database to a local Derby database. I don't think schema generation works for Derby under WO 5.4.2 does it? cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ Do

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread JR Ruggentaler
No, no prototypes are used. All the entities are EOGenericRecords and are modified quarterly+. We are trying speed access to this data but we don't want to cache these entities due to the amount of data. On Jul 9, 2008, at 2:24 PM, Chuck Hill wrote: Are you using prototypes in your model?

Re: Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread Chuck Hill
Are you using prototypes in your model? On Jul 9, 2008, at 12:17 PM, JR Ruggentaler wrote: I have a EO model that I want to move some entities at runtime from an Oracle database to a local Derby database. I created a new model at run time and added the entities to the new model and removed

Convert EO Model from Oracle to Derby at runtime

2008-07-09 Thread JR Ruggentaler
I have a EO model that I want to move some entities at runtime from an Oracle database to a local Derby database. I created a new model at run time and added the entities to the new model and removed the same entities from the other model. Then I tried using: EOSchemaGeneration .createT

Re: some classes missing in Eclipse 3.4?

2008-07-09 Thread Mike Schrag
I have Eclipse3.4 and lastest version of WOLips installed in my new leopard mac machine. Only WOLips Nightly is compatible with Eclipse 3.4. The latest Stable build corresponds to Eclipse 3.3. This exception is a result of mixing and matching those builds. Unfortunately nightly is not read

some classes missing in Eclipse 3.4?

2008-07-09 Thread Helen He
Hi, All: I have Eclipse3.4 and lastest version of WOLips installed in my new leopard mac machine. When I tried to switch to WOLips perspective(default view for the first time is WO Package Explorer), Eclipse display following error message: java.lang.NoClassDefFoundError: org/eclipse/jdt/in

Re: Maven Optimism

2008-07-09 Thread Pierce T. Wetter III
On Jul 9, 2008, at 10:11 AM, Anjo Krank wrote: Note: I don't think LOC is a good metric, but what the heck. Also, I'm not really interested in this discussion. I wouldn't participate if not for these unfounded claims you made. Sorry, I agree that LOC isn't a good metric. I especially thi

Re: [Wonder-disc] HINT: If you ever switch to ERPrototypes ...

2008-07-09 Thread Guido Neitzer
I don't think this is still the case, but it is not a problem - it is just something to be aware of. I noticed it a day after I switched ... at least, before I deployed. cug On 09.07.2008, at 11:00, Anjo Krank wrote: This is because some version of WO did let you set it in the proto, but

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-09 Thread Kieran Kelleher
Wonder: ERXTimestampFormatter.dateFormatterForPattern( pattern ) . app-level caching built-in. On Jul 9, 2008, at 12:43 PM, Chuck Hill wrote: On Jul 9, 2008, at 7:56 AM, Ken Anderson wrote: umm... pretty much all of it. If you're allocating all the objects you deal with inside yo

Re: Maven Optimism

2008-07-09 Thread Anjo Krank
Note: I don't think LOC is a good metric, but what the heck. Also, I'm not really interested in this discussion. I wouldn't participate if not for these unfounded claims you made. Am 09.07.2008 um 11:50 schrieb Pierce T. Wetter III: I'm using this as a measure: wc -l `find . -name "build.x

Re: Maven Optimism

2008-07-09 Thread Chuck Hill
Hi Pierce, On Jul 9, 2008, at 2:50 AM, Pierce T. Wetter III wrote: To give you some examples, for the current Wonder Ant builds, between build.xml files, generic.xml, build.properties files, .classpath and .patternset files, there are 5320 lines of build configuration information in the

Re: [Wonder-disc] HINT: If you ever switch to ERPrototypes ...

2008-07-09 Thread Anjo Krank
This is because some version of WO did let you set it in the proto, but you couldn't unset it again... no idea if that is still the case. Cheers, Anjo Am 09.07.2008 um 18:07 schrieb Guido Neitzer: My prototypes define all attributes but the ones for pks as "allows null". ERPrototypes defines

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-09 Thread Chuck Hill
On Jul 9, 2008, at 7:56 AM, Ken Anderson wrote: umm... pretty much all of it. If you're allocating all the objects you deal with inside your components, you probably aren't faced with many issues, but any time you start considering anything that is shared, you have to consider the fact

HINT: If you ever switch to ERPrototypes ...

2008-07-09 Thread Guido Neitzer
... check the "not null" settings in your model! I switched from my own EVPrototypes to ERPrototypes on the last weekend for my private apps - it wasn't too bad (couple of hours stupid manual work, one big migration) but one thing really got me: My prototypes define all attributes but the o

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-09 Thread Ken Anderson
umm... pretty much all of it. If you're allocating all the objects you deal with inside your components, you probably aren't faced with many issues, but any time you start considering anything that is shared, you have to consider the fact that java is natively multi-threaded, and there are

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-09 Thread Gennady Kushnir
Hmm... I'm not quite shure in what parts of WO programming it is vital to be thread safe? 2008/7/9 Ken Anderson <[EMAIL PROTECTED]>: > I'm sure Pierre could answer this better than anyone else, but I always lock > NSTimestampFormatter when used in multi-threaded situations... > > On Jul 8, 2008, a

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter

2008-07-09 Thread Ken Anderson
I'm sure Pierre could answer this better than anyone else, but I always lock NSTimestampFormatter when used in multi-threaded situations... On Jul 8, 2008, at 7:03 PM, Chuck Hill wrote: Also note that unlike NSTimestampFormatter, SimpleDateFormat is not thread safe. At least NSTimestampFo

Re: Maven Optimism

2008-07-09 Thread Pierce T. Wetter III
On Jul 8, 2008, at 7:23 PM, Mike Schrag wrote: Many of these jar files are duplicates of each other, or even worse, different versions of the same jar, like there is a version of commons-logging.jar in ERJGroupsSynchronizer and another one in EROpenID. Meanwhile, commons-logging is up to v

Re: Maven Optimism

2008-07-09 Thread Pierce T. Wetter III
To give you some examples, for the current Wonder Ant builds, between build.xml files, generic.xml, build.properties files, .classpath and .patternset files, there are 5320 lines of build configuration information in the current Wonder build. The equivalent pom files are 2447 lines, wh

Re: WOXMLDecoder and NSData

2008-07-09 Thread Jake MacMullin
We've been discussing ways to allow people to insert their custom classpaths early on in the bootstrap process. Perhaps there could be some custom properties passed to the WOBootstrapper. Would this work for 'container deployments'? Wouldn't the container load any jars found inside a war *