Re: WOJenkins Updates

2012-03-05 Thread James Cicenia
OK:Building in workspace /Users/Shared/Jenkins/Home/jobs/Install_WebObjects_And_Wonder/workspace [workspace] $ /bin/sh -xe /var/folders/zz/zyxvpxvq6csfxvn_n00401/T/hudson6886741672062496060.sh + /Users/Shared/Jenkins/Home/jobs/Install_WebObjects_And_Wonder/workspace/WOJenkins/Install/WebObj

Re: EOQualifier proper fetch across to-many?

2012-03-05 Thread David Avendasora
Whoops! I missed the REST portion of the Fetch Spec class. Dave On Mar 6, 2012, at 8:46 AM, David Avendasora wrote: > > On Mar 6, 2012, at 4:43 AM, Jesse Tayler wrote: > >> I didn't see a "distinct" wonder fetch property either, don't I have to use >> something to ensure the list is returned

Re: ERRest - RestDelegate

2012-03-05 Thread Ron X
Jesse Tayler > Note aNote = routeObjectForKey("note"); in public class NoteRestDelegate extends ERXAbstractRestDelegate { ... } there is no method routeObjectForKey(...). 2012/3/5 Pascal Robert > > Le 2012-03-05 à 13:22, Jesse Tayler a écrit : > > > I'm all for nicer urls, plus it's more portabl

Re: I NEED HELP… asap.

2012-03-05 Thread David Avendasora
Did you just build with my new WOJenkins jobs? If so, and you didn't change the Build Type from Test to Deployment, it will not respect your embedding settings and therefor you might not have all the frameworks you think you do. Dave On Mar 6, 2012, at 1:06 PM, James Cicenia wrote: > 1) I jus

Re: WOJenkins Updates

2012-03-05 Thread David Avendasora
Ah, On Mar 6, 2012, at 11:25 AM, James Cicenia wrote: > I am trying... > > Step 2 on the wiki to "git" the configurations gives a permission problem... > might want to add "sudo" first. Good catch! I had changed my permissions on that directory a while ago and forgotten that I had done that

I NEED HELP… asap.

2012-03-05 Thread James Cicenia
1) I just git'd all the frameworks again. 2) I ran ant frameworks to build all 3) I cleaned my project 4) I rsync'd to my server bam A fatal exception occurred: ERXExtensions have not been initialized. Please report the classpath and the rest of the bundles to the Wonder mailing list: Remaini

Re: WOJenkins Updates

2012-03-05 Thread James Cicenia
I am trying...Step 2 on the wiki to "git" the configurations gives a permission problem... might want to add "sudo" first.Step 5... FAILED Is this stopping it? JamesOn Mar 5, 2012, at 6:31 PM, David Avendasora wrote:Hey all,I've committed some WOJenkins Shell Script and Job Configuration updates t

Re: EOQualifier proper fetch across to-many?

2012-03-05 Thread Paul Yu
Premature what? -- Paul Yu Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, March 5, 2012 at 8:55 PM, Kieran Kelleher wrote: > Donald Knuth once said "premature optimization is the root of all evil" :-) > > Try it out before assuming the performance is bad. If your tables ha

Re: EOQualifier proper fetch across to-many?

2012-03-05 Thread Kieran Kelleher
Donald Knuth once said "premature optimization is the root of all evil" :-) Try it out before assuming the performance is bad. If your tables have the needed indexes it should be fine. If performance is bad, log the generated SQL and just apply whatever tools you have at your disposal for your

Re: EOQualifier proper fetch across to-many?

2012-03-05 Thread David Avendasora
On Mar 6, 2012, at 4:43 AM, Jesse Tayler wrote: > I didn't see a "distinct" wonder fetch property either, don't I have to use > something to ensure the list is returned without duplicates? I think you are looking for: EOFetchSpecification.html#setUsesDistinct(boolean) http://wocommunity.org/

WOJenkins Updates

2012-03-05 Thread David Avendasora
Hey all, I've committed some WOJenkins Shell Script and Job Configuration updates to my Github repository: https://github.com/avendasora Basic rundown of the changes: 1) Added a new WOProject_AllInOne_Git Jenkins job configuration that will build both an Application and one or more Frameworks

Encapsulate Field Goes Nuts

2012-03-05 Thread Johnny Miller
Hi, I was just wondering if this ever happens to anybody else. Not always, but sometimes, when I create a variable and then go to encapsulate it by command clicking the variable name and choosing refactor -> encapsulate field ... after I submit the encapsulation form the whole java file gets w

Re: Filtering a non-EO in a display group

2012-03-05 Thread Pascal Robert
As usual, you are right. It's working just fine now. > Does FakeManifestItem implement KVC? I think it would need to. > > > Chuck > > > On 2012-03-05, at 11:31 AM, Pascal Robert wrote: > >> I have a case where I have to use a non-EO (aka a plain Java object) in a >> display group because th

Re: Argh… deployment again… ERModernLook vs ERExtensions vs me

2012-03-05 Thread Chuck Hill
On 2012-03-05, at 12:21 PM, James Cicenia wrote: > Ok - > > What step am I now missing. I added ERModernLook to my project, made an edit > to it. > All works great in dev. I deploy to my test server... bam.. it doesn't work. > I am deployment cursed... I swear! > > A fatal exception occurred:

Re: Filtering a non-EO in a display group

2012-03-05 Thread Ted Archibald
Wouldn't you just reset the display group with something like: _array = ERXArrayUtilities.filteredArrayWithQualifierEvaluation(_yourArray, _yourQualifier); dg().setDataSource(ERXEOControlUtilities.dataSourceForArray(_array)); On Mon, Mar 5, 2012 at 1:31 PM, Pascal Robert wrote: > I have a case

EOQualifier proper fetch across to-many?

2012-03-05 Thread Jesse Tayler
is there a proper way to fetch across a to-many and not overkill the database? if I wanted to return a list of recently used venues that the user has associated with posts they have authored, I'd want a distinct return of venues, each having a post->author being the user, but this query like th

Argh… deployment again… ERModernLook vs ERExtensions vs me

2012-03-05 Thread James Cicenia
Ok - What step am I now missing. I added ERModernLook to my project, made an edit to it. All works great in dev. I deploy to my test server... bam.. it doesn't work. I am deployment cursed... I swear! A fatal exception occurred: ERXExtensions have not been initialized. Please report the classp

Re: Filtering a non-EO in a display group

2012-03-05 Thread Chuck Hill
Does FakeManifestItem implement KVC? I think it would need to. Chuck On 2012-03-05, at 11:31 AM, Pascal Robert wrote: > I have a case where I have to use a non-EO (aka a plain Java object) in a > display group because the non-EO holds the results of a calculation and other > stuff. Everythi

Re: Opinions on OpenJDK

2012-03-05 Thread John Huss
I was thinking he meant JDK 6. But yeah, it's probably that. On Mon, Mar 5, 2012 at 12:26 PM, Andrus Adamchik wrote: > There is a developer preview for OS X: > > http://jdk7.java.net/macportpreview/ > > > > On Mar 5, 2012, at 12:03 PM, John Huss wrote: > > > Are you building with it on a Mac? I

Filtering a non-EO in a display group

2012-03-05 Thread Pascal Robert
I have a case where I have to use a non-EO (aka a plain Java object) in a display group because the non-EO holds the results of a calculation and other stuff. Everything works fine, and that non-EO also have a reference to a EO. Everything works fine, except for one thing. I need to filter the d

Re: Opinions on OpenJDK

2012-03-05 Thread Andrus Adamchik
There is a developer preview for OS X: http://jdk7.java.net/macportpreview/ On Mar 5, 2012, at 12:03 PM, John Huss wrote: > Are you building with it on a Mac? If so, how? > > On Mon, Mar 5, 2012 at 10:40 AM, Simon wrote: > We're building on it as well as deploying on it > > > On Monday, 5

Re: ERRest - RestDelegate

2012-03-05 Thread Pascal Robert
Le 2012-03-05 à 13:22, Jesse Tayler a écrit : > I'm all for nicer urls, plus it's more portable if you don't use the actual > keys in your URL. > > so, what's the nicer url if not a hash? a rand that you query the database to > ensure is unique? It's depend of the context… In SimpleBlog, it's

Re: ERRest - RestDelegate

2012-03-05 Thread Jesse Tayler
I'm all for nicer urls, plus it's more portable if you don't use the actual keys in your URL. so, what's the nicer url if not a hash? a rand that you query the database to ensure is unique? On Mar 5, 2012, at 1:20 PM, Pascal Robert wrote: > > Le 2012-03-05 à 13:16, Jesse Tayler a écrit : >

Re: ERRest - RestDelegate

2012-03-05 Thread Pascal Robert
Le 2012-03-05 à 13:16, Jesse Tayler a écrit : > oh? I see -- I think. I was just kind of wondering about perhaps just that -- > > seems like a lot of situations we want to obfuscate the id key, just so they > are not so sequential and guessable? Or just to have a nicer URL. A blog post where t

Re: ERRest - RestDelegate

2012-03-05 Thread Jesse Tayler
oh? I see -- I think. I was just kind of wondering about perhaps just that -- seems like a lot of situations we want to obfuscate the id key, just so they are not so sequential and guessable? like, can't we say put a simple hash or mod to make a numeric key look more like bit.ly urls or somethi

Re: ERRest - RestDelegate

2012-03-05 Thread Pascal Robert
Le 2012-03-05 à 12:26, Jesse Tayler a écrit : > you realize that if your route contains an ID, you can just get the object by > asking You need it when you want to have a different "primary key", in wocommunity.org, it's for the organization name. > Note aNote = routeObjectForKe

Re: Funny WebObjects Adaptor

2012-03-05 Thread Gaastra Dennis - WO Lists
Hi Simon et al, Thanks, I really appreciate your kind emails over the last week. We just switched over the client to the new servers yesterday, and so far no problems. How do you like the new (Lion) dock on: https://cluster3.webappz.com Greetings, Dennis On 04/Mar/12 6:31 PM, Simon J Oliv

Re: Funny WebObjects Adaptor

2012-03-05 Thread Gaastra Dennis - WO Lists
Thanks Q, I guess working on taming the Lion over the last weeks makes you overlook the most basic details. :-) Greetings, Dennis On 04/Mar/12 7:00 PM, Q wrote: bivDAV != bizDAV On 05/03/2012, at 12:19 PM, Gaastra Dennis - WO Lists wrote: Hi List, Thanks for your kind help in the past

Re: ERRest - RestDelegate

2012-03-05 Thread Jesse Tayler
you realize that if your route contains an ID, you can just get the object by asking Note aNote = routeObjectForKey("note"); a route that looks like /ra/Note/121.html already gives you the id for that note as the route object. On Mar 5, 2012, at 12:07 PM, Pascal Robert wro

Re: ERRest - RestDelegate

2012-03-05 Thread Pascal Robert
Le 2012-03-05 à 11:33, Ron X a écrit : > hi, > i have this code: > @Override > public Note objectOfEntityWithID(EOClassDescription entity, Object id, > ERXRestContext context){ > > Note - is the entity. > When i go there - in this method - i have the right id and entity...But how >

Re: Opinions on OpenJDK

2012-03-05 Thread John Huss
Are you building with it on a Mac? If so, how? On Mon, Mar 5, 2012 at 10:40 AM, Simon wrote: > We're building on it as well as deploying on it > > > On Monday, 5 March 2012, Paul Hoadley wrote: > >> On 05/03/2012, at 8:24 PM, Kieran Kelleher wrote: >> >> > I've been running it on a Centos serve

Re: Opinions on OpenJDK

2012-03-05 Thread Simon
We're building on it as well as deploying on it On Monday, 5 March 2012, Paul Hoadley wrote: > On 05/03/2012, at 8:24 PM, Kieran Kelleher wrote: > > > I've been running it on a Centos server for a year or more with no > issues so far: > > > > java version "1.6.0_17" > > OpenJDK Runtime Environmen

ERRest - RestDelegate

2012-03-05 Thread Ron X
hi, i have this code: @Override public Note objectOfEntityWithID(EOClassDescription entity, Object id, ERXRestContext context){ Note - is the entity. When i go there - in this method - i have the right id and entity...But how can i get the object (Note) from it? Just simple get the obj

[MEET] Toronto Cocoaheads / tacow - March 13

2012-03-05 Thread Karl Moskowski
tacow's next meeting is scheduled for 6:30 PM on Tuesday, March 13, 2012 in room 310 of Metro Hall. This is the first meeting on our new every-other-month schedule. Details, directions, etc. at . All are welcome, and we look forward to seeing you there. Karl Moskowski

Re: ERRest - @PathParam

2012-03-05 Thread Pascal Robert
http://www.slideshare.net/wocommunity/errest (pages 34 and after) > if you put a component in with the expected name, the automatic html routing > will use that component > > so, turn on automatichtmlrouting and create a component named with your > entity and I think that should do it. > > >

Re: ERRest - @PathParam

2012-03-05 Thread Jesse Tayler
if you put a component in with the expected name, the automatic html routing will use that component so, turn on automatichtmlrouting and create a component named with your entity and I think that should do it. On Mar 5, 2012, at 5:31 AM, Ron X wrote: > Hello. > > i have this code in myCh

Re: Opinions on OpenJDK

2012-03-05 Thread Kieran Kelleher
On Mar 5, 2012, at 6:24 AM, Paul Hoadley wrote: > On 05/03/2012, at 8:24 PM, Kieran Kelleher wrote: > >> I've been running it on a Centos server for a year or more with no issues so >> far: >> >> java version "1.6.0_17" >> OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64)

Re: Opinions on OpenJDK

2012-03-05 Thread Paul Hoadley
On 05/03/2012, at 8:24 PM, Kieran Kelleher wrote: > I've been running it on a Centos server for a year or more with no issues so > far: > > java version "1.6.0_17" > OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) A

ERRest - @PathParam

2012-03-05 Thread Ron X
Hello. i have this code in myChartController: public WOActionResults showAction(@PathParam("chart") Chart chart) throws Throwable { return response(chart, filter()); } when write the url .../Chart/1 - gets the fetch and shows xml-format of current entity object to me (accordingly

Re: Opinions on OpenJDK

2012-03-05 Thread Paul Hoadley
On 05/03/2012, at 7:33 PM, Simon wrote: > we've been using it for ages without any hitches… Thanks Simon. Handy to know. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mail

Re: Opinions on OpenJDK

2012-03-05 Thread Kieran Kelleher
I've been running it on a Centos server for a year or more with no issues so far: java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) On Mar 5, 2012, at 3:54 AM, Michael DeMan wrote: > I would be

Re: ERRest - IERXRestAuthenticationDelegate

2012-03-05 Thread Pascal Robert
Le 2012-03-05 à 04:26, Ron X a écrit : > Hi. > IERXRestAuthenticationDelegate is considered deprecated. > What class i should use? > Thank you. You can override performActionNamed in your REST controller to check if the request is authenticated. Example: @Override public WOActionResults pe

ERRest - IERXRestAuthenticationDelegate

2012-03-05 Thread Ron X
Hi. IERXRestAuthenticationDelegate is considered deprecated. What class i should use? Thank you. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update y

Re: SQL - log

2012-03-05 Thread Ron X
Thank you. Works fine. 2012/2/29 David Holt > This from ERExtensions properties > > # > # ERXAdaptorChannelDelegate > # > ## Enable delegate to emit SQL

Re: Opinions on OpenJDK

2012-03-05 Thread Pascal Robert
Le 2012-03-04 à 22:15, Paul Hoadley a écrit : > Hello, > > (I mentioned this at the bottom of a thread on wonder-disc, but it probably > got buried.) > > I'm looking at building some WebObjects applications on Amazon EC2 (with > Jenkins). Amazon Linux provides packages for OpenJDK. I'm sure

Re: Opinions on OpenJDK

2012-03-05 Thread Simon
we've been using it for ages without any hitches... simon On 5 March 2012 03:15, Paul Hoadley wrote: > Hello, > > (I mentioned this at the bottom of a thread on wonder-disc, but it probably > got buried.) > > I'm looking at building some WebObjects applications on Amazon EC2 (with > Jenkins).

Re: Opinions on OpenJDK

2012-03-05 Thread Michael DeMan
I would be interested in hearing about this too. Generally we've been using OpenJDK for a couple developer workstations and internal DEV/DEMO machines for the past 6+ months with no issues. We were actually planning to use it for production since there is some infrastructure replacement going