Re: Hello World crashing in Eclipse 4.2

2012-07-31 Thread John Huss
4.2 is not supported, it's experimental, so problems are to be expected. Does the same thing happen to you with 3.7? On Tuesday, July 31, 2012, Chuck Hill wrote: > > On 2012-07-31, at 3:38 PM, Maik Musall wrote: > > > Follow-up on this. Happend to me, too (on 10.7). Turning off "Generate > bundl

Re: WO, Git and Jenkins: Impedance mismatch?

2012-07-31 Thread Paul Hoadley
On 22/06/2012, at 9:04 AM, Paul Hoadley wrote: > I'm looking at moving some projects from Subversion to Git. We use Jenkins > as a build server. I'm interested to know some broad details about the > WO-Git-Jenkins setups that others are using. > > In the past, we've used Subversion repositori

Re: what did I break with ant?

2012-07-31 Thread David Holt
Hi Tim, On 2012-07-31, at 12:11 PM, Tim Worman wrote: > I always get the "warning: 'includeantruntime' was not set" error. It > happened at an ant upgrade somewhere but doesn't impact framework building. > On writing to your framework path:. Eclipse runs as your user, so the target > director

Re: what did I break with ant?

2012-07-31 Thread Jesse Tayler
Thanks again Tim, This seems to be related - I'm unable to launch the newly built app on my server, even though the new ant build seems to work etc. If I just launch at the command line I can see the new app report output along with the older install - the older install launches just fine, th

Re: Hello World crashing in Eclipse 4.2

2012-07-31 Thread Chuck Hill
On 2012-07-31, at 3:38 PM, Maik Musall wrote: > Follow-up on this. Happend to me, too (on 10.7). Turning off "Generate > bundles" in WOLips prefs did prevent the error from happening, but I wouldn't > call that "fixing". App startup takes much longer now, and the app version > without wonder w

Re: Hello World crashing in Eclipse 4.2

2012-07-31 Thread Maik Musall
Follow-up on this. Happend to me, too (on 10.7). Turning off "Generate bundles" in WOLips prefs did prevent the error from happening, but I wouldn't call that "fixing". App startup takes much longer now, and the app version without wonder won't launch that way because the main bundle is then "Ja

Re: Setting relationship is fetching all objects

2012-07-31 Thread Ramsey Gurley
Transaction type sounds like a good candidate for an enum if you don't need to create new ones at runtime :-) Ramsey On Jul 31, 2012, at 12:51 PM, Pascal Robert wrote: > > Le 2012-07-31 à 15:39, Maik Musall a écrit : > >> >> Am 31.07.2012 um 21:29 schrieb Pascal Robert: >> >>> I have a weir

Re: what did I break with ant?

2012-07-31 Thread Jesse Tayler
Good eye Tim! BUILD SUCCESSFUL sweet. Basically, ant wanted to install here: /Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Applications So, I just chown'ed the Application directory to my user and things built fine. Not certain if I need better permissions, but the build ran!

Re: Setting relationship is fetching all objects

2012-07-31 Thread Pascal Robert
Le 2012-07-31 à 15:39, Maik Musall a écrit : > > Am 31.07.2012 um 21:29 schrieb Pascal Robert: > >> I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I >> want to set a relationship (transactionType) on all new Transaction EOs. So >> I did this: >> >> @Override >> publi

Re: Setting relationship is fetching all objects

2012-07-31 Thread David Holt
Maybe use the fetchRequiredTransactionType instead?? On 2012-07-31, at 12:29 PM, Pascal Robert wrote: > I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I > want to set a relationship (transactionType) on all new Transaction EOs. So I > did this: > > @Override > publ

Re: Setting relationship is fetching all objects

2012-07-31 Thread Maik Musall
Am 31.07.2012 um 21:29 schrieb Pascal Robert: > I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I > want to set a relationship (transactionType) on all new Transaction EOs. So I > did this: > > @Override > public void awakeFromInsertion(EOEditingContext editingContext

Re: what did I break with ant?

2012-07-31 Thread Tim Worman
The build failure is not due to the 'includeantruntime' error. The build failure is due to not being able to write to the framework directory as set in ~/Application Support/WOLips/wolips.properties. If the directory doesn't exist, you do need to create it. If it isn't writeable, the ownership/

Setting relationship is fetching all objects

2012-07-31 Thread Pascal Robert
I have a weird problem or maybe I'm just stupid. In awakeFromInsertion, I want to set a relationship (transactionType) on all new Transaction EOs. So I did this: @Override public void awakeFromInsertion(EOEditingContext editingContext) { super.awakeFromInsertion(editingContext); setQ

Re: wounit: cannot load model

2012-07-31 Thread Henrique Prange
Hi Hafid, It should have worked. WOUnit search for models in the classpath (inside or outside a Resources folder). I need more information to understand if it is a bug in WOUnit. Your project is an application or framework? The model ACAIQCore is in the same project of the test class? Have you

Re: what did I break with ant?

2012-07-31 Thread Jesse Tayler
I'm fairly certain you do NOT need to create any directory -- that's simply an end-failure result of the build termination. I can see also some people outside the WO community having this trouble and ironically, they too simply "added" that property to their build.xml but I don't see how they d

Re: what did I break with ant?

2012-07-31 Thread Tim Worman
I always get the "warning: 'includeantruntime' was not set" error. It happened at an ant upgrade somewhere but doesn't impact framework building. On writing to your framework path:. Eclipse runs as your user, so the target directory either needs to be writable by that user or by a group that us

Re: what did I break with ant?

2012-07-31 Thread David Holt
I am having the same issues. And no, I cannot create the directory from the command line. What should the permissions be? David On 2012-07-23, at 10:22 AM, Henrique Gomes wrote: > > On Jul 23, 2012, at 4:59 PM, Theodore Petrosky wrote: > >> >> BUILD FAILED >> /Users/asacksadmin/Documents/w

Re: what did I break with ant?

2012-07-31 Thread Jesse Tayler
this happened to me when I updated ant to 1.8.x I think you are having the same issue? I thought I'd add that setting to my build.xml But I still get the error - How did you fix? On Jul 23, 2012, at 11:59 AM, Theodore Petrosky wrote: > Maybe I have been doing this wrong from t

Re: ERD2W menus not working properly

2012-07-31 Thread Ramsey Gurley
Please keep questions/replies on list so that everyone may benefit/assist :-) On Jul 30, 2012, at 8:50 PM, Sr. Ângelo Andrade Cirino wrote: > Dear Ramsey, > > I am very frustrated. I created two new test projects following your steps in > the presentation, choosing 'WO Project' from template an

Re: Get a handle to DisplayGroup From InspectPage

2012-07-31 Thread David LeBer
Vinny, You might be able to do this with a list page with batch size of '1' and an embedded inspect page. Though my gut tells me that you may end up wanting to implement a custom list page or maybe a custom list page repetition (depending on how custom the navigation needs to be). D -- David

Re: Get a handle to DisplayGroup From InspectPage

2012-07-31 Thread Vinny Luc
David, Ah, I didn't think about that. I'll give it a shot. Thanks again, Vinny On 7/31/12 12:17 PM, "David LeBer" wrote: >Vinny, > >You might be able to do this with a list page with batch size of '1' and >an embedded inspect page. Though my gut tells me that you may end up >wanting to impleme

Get a handle to DisplayGroup From InspectPage

2012-07-31 Thread Vinny Luc
Hello D2Wers, I have a requirement to imeplement Next/Previous nagivation within the inspectPage. I am wondering if this is possible and secondly if this is a good design pattern within D2W flow? I digged around a little bit by attempt to pass it in through the bindings but so far I don’t th

RE: didUpdate?

2012-07-31 Thread Oscar González
Hi Theodore,I use this method, this.editingContext().currentEventSnapshotForObject(this) Saludos,Oscar. To: webobjects-dev@lists.apple.com Subject: Re: didUpdate? From: arosenzw...@clinworx.com Date: Mon, 30 Jul 2012 09:18:06 -0400 Hi Theodore, I agree with George, I wouldn't do the S

Re: need help with rule

2012-07-31 Thread Jesse Tayler
hmm...well, if you want to trigger rules based on a significant key, you can write rules session.currentProject.id = '12' -> propertyKey = "this" vs. session.currentProject.id = '14' -> propertyKey = "that" or something. which as long as session.currentProject is a significant key, the rules

linking editing contexts from two apps

2012-07-31 Thread Theodore Petrosky
I have a Wonder app that I did a while ago. This is an internal app that is used in production. I have been asked to create a client facing version. Not all fields will be editable and it will fire an email if they touch anything. How do I maintain freshness of data? If my internal app updates

Re: need help with rule

2012-07-31 Thread Theodore Petrosky
I want to set the value of an object in a query page from a variable that lives in the session. session().currentProject(); Ted --- On Tue, 7/31/12, Jesse Tayler wrote: > From: Jesse Tayler > Subject: Re: need help with rule > To: "Theodore Petrosky" > Cc: webobjects-dev@lists.apple.com >

Re: need help with rule

2012-07-31 Thread Jesse Tayler
what's the rule you are trying to write here Ted? you are setting your page configuration based on a literal string AND propertyKey = literal? are you trying to set a variable or are you trying to read some state and setup a page configuration? On Jul 31, 2012, at 6:09 AM, Theodore Petrosky

Re: Periodic Tasks in WO

2012-07-31 Thread Pascal Robert
Le 2012-07-29 à 16:32, Ray Kiddy a écrit : > > On Jul 29, 2012, at 9:33 AM, Amedeo Mantica wrote: > >> You may also just create a simple Thread (runnable) >> >> Amedeo >> >> > > I have done the "just create a thread" method for something and it worked. > But we had the application schedule

need help with rule

2012-07-31 Thread Theodore Petrosky
my model has: Project toOne ProjectCategory. I have a key 'currentProjectCategory' in my ERXThreadStorage. When I access my query page, I want to set the ProjectCategory with this value. lhs pageConfiguration = 'QueryProject' and propertyKey = 'projectCategory' what is the assignment and rhs

Re: Periodic Tasks in WO

2012-07-31 Thread Amedeo Mantica
On 29/lug/2012, at 22:32, Ray Kiddy wrote: > > On Jul 29, 2012, at 9:33 AM, Amedeo Mantica wrote: > >> You may also just create a simple Thread (runnable) >> >> Amedeo >> >> > > I have done the "just create a thread" method for something and it worked. > But we had the application schedul

Re: Fixed the WO 5.4.3 2GB file/form upload limitations

2012-07-31 Thread Amedeo Mantica
Great Job Helmut :-) Amedeo On 29/lug/2012, at 22:17, Helmut Tschemernjak wrote: > Hi Jesse, > > I believe my original posting explained what was done. I wrote some years ago > a little java based web server (experimental only) and I have some knowledge > about networking IO and protocols. A