ERXPatcher / WOBrowser / NSArray.addAll()

2012-01-25 Thread David Avendasora
Hey all, I'm in over my head again. But at least the good news is that I think I'm finally inching my way toward the deep end of the pool... We're suddenly running into the WOBrowser java.lang.UnsupportedOperationException: addAll is not a supported operation in

Instructions for configuring jobs in Jenkins

2012-01-25 Thread Pascal Robert
I added a page on how to configure Jenkins to install the WebObjects and Wonder frameworks: http://wiki.wocommunity.org/display/WO/Configuring+jobs+in+Jenkins ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev

Re: ERXPatcher / WOBrowser / NSArray.addAll()

2012-01-25 Thread Farrukh Ijaz
Hi David, From the exception it looks like you're trying to call addAll method on NSArray which is not mutable. Since NSArray is an instance of List interface therefore the check at line 532 returns true and therefore addAll get's called at link 533 and that's actually raising exception. Fix:

Re: Strange exception with flattened relationship

2012-01-25 Thread Fabian Peters
Hi Ramsey, I'm getting the same problem you got here, also on a flattened relationship. Did you ever go back and look for a solution? Maybe even found one? ;-) Fabian Am 30.03.2010 um 20:11 schrieb Ramsey Gurley: Hi all, I have an issue that seems to be caused by creating a flattened

Re: Permissions for Startup Script

2012-01-25 Thread David LeBer
Yeah, I agree it's strange. I'm using the Jenkins Git Plugin https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin version 1.1.15. I'm pretty sure it doesn't use a special version of Git. I'm working around the issue by running the two scripts through fromdos before executing them - yeah, I

Re: ERXPatcher / WOBrowser / NSArray.addAll()

2012-01-25 Thread Michael Hast
Hi David: Even thought the exception says something about addAll is not a supported operation in com.webobjects.foundation.NSArray that is not what causes this issue. We experienced a similar issue. The problem for us was that we were using dependent WOBrowser components (that's what it

Re: setIncludeEditingContextChanges gotchas?

2012-01-25 Thread Pascal Robert
Any other solutions to check for changes in the EC or this is the only method? I was thinking of modifying (in the project) the Wonder Veogen templates so that I have a boolean to pass to setIncludeEditingContextChanges so that I can check for changes in the EC on demand (e.g., I will pass true

Re: Strange exception with flattened relationship

2012-01-25 Thread Ramsey Gurley
It's been so long, I can't really remember. Try flattening the FK attribute as well as the EO. I know a flattened to-one relationship won't work without a flattened key. Ramsey On Jan 25, 2012, at 4:53 AM, Fabian Peters wrote: Hi Ramsey, I'm getting the same problem you got here, also

Re: D2W Edit Page not Saving

2012-01-25 Thread Ramsey Gurley
Not sure what to tell you, because I don't remember ever encountering such an issue. Is it throwing the validation errors on saveChanges or on takeValues? You can find out if you stick a breakpoint into validationFailedWithException on ERD2WPage. Ramsey On Jan 24, 2012, at 5:47 AM, Jeff

Re: ERXPatcher / WOBrowser / NSArray.addAll()

2012-01-25 Thread Ramsey Gurley
I blame myself personally. I overrode that method to prevent swallowed exceptions but overlooked an obvious use case. It should probably be if(result instanceof NSMutableArray) { ((NSMutableArray)result).addObjects(selections.toArray()); } else if(result instanceof NSArray) {

woproject-dev lights out

2012-01-25 Thread Andrus Adamchik
This is the last message sent via woproject-dev to its 332 subscribers. It was a fun ride. WOProject was started some time in 2002. That's 10 years ago, you know! The earliest message in the archive dated June 24 2002 had a subject This is a test, just a few days later there was something more

Re: Reminder: 2012 surveys are in da house

2012-01-25 Thread Pascal Robert
We are at 57 organizations, keep them coming! We are up to 47 organizations, still 39 less than last year! I see some big names missing :-) - Good morning everyone, The annual surveys are now available: Organization (e.g., your business answers):

Re: ERXPatcher / WOBrowser / NSArray.addAll()

2012-01-25 Thread David Avendasora
Yes, that works around the problem, but I'm still trying to understand why WOBrowser (and possibly other WOInputList-based components) can't handle the contents of the list binding changing during takeValuesFromRequest. I find it interesting that instead of fixing this problem or at least

Re: ERXPatcher / WOBrowser / NSArray.addAll()

2012-01-25 Thread David Avendasora
Hi Michael, Yes, you are exactly right, except that we are setting the contents of the list binding (by assigning a new value to the ivar it's bound to) in invokeAction. public MyComponent showChoicesForSelection(){ if (selectedCategory() != null){ assignedChoices =

veogen.jar issue

2012-01-25 Thread Patrick Robinson
Is anyone else using Mike's veogen.jar command-line executable jar? It seems that the set of options it uses is different from the set used by the WOLips-internal eogenerator. For example, the internal one uses -javaTemplate and -subclassJavaTemplate, but veogen.jar instead uses

Re: D2W Edit Page not Saving

2012-01-25 Thread Jeffrey Schmitz
Looks like at that point the values are all null. Below is a partial stack trace if that helps. Could it be an editing context mix up? I tried using both a page specific editing context and the default context in Session to fetch my entity into. The D2W page comes up pre-populated with the

Re: Tomcat deployment - how do you allocate memory to app

2012-01-25 Thread D Tim Cummings
Thanks Farrukh for showing me the correct place to do this. It appears that I am setting the total maximum memory for all the webapps running in tomcat. I notice that a recommended way to make these changes in catalina.bat (or catalina.sh) is to create an additional batch file which