Re: Getting a project started right

2007-05-09 Thread Lachlan Deck
Hi there, On 10/05/2007, at 1:13 AM, Robert Walker wrote: I actually do agree with you. It is very odd to have WebObjects delivered and installed by Xcode, with project templates provided within Xcode, to produce applications that you can't (reasonably) build using Xcode. True - but to

Re: user obstacles to WOLips adoption (was: Apple's Support of WebObjects)

2007-05-09 Thread Ashley Aitken
Hi All, On 09/05/2007, at 9:14 AM, Robert Walker wrote: At least that's my understanding. I could be wrong about that. But, I'm pretty certain that being able to create Java Client applications with custom interfaces using Interface Builder has no future. I believe David (correct me i

Re: NSTimer replacement?

2007-05-09 Thread Ted Archibald
NSTimer != WOTimer no? On 5/9/07, Robert Walker <[EMAIL PROTECTED]> wrote: > > The OP was asking about alternatives to WOTimer. :-) > On May 9, 2007, at 4:03 PM, Ted Archibald wrote: > > Hey, out of curiosity why has no one mentioned WOTimer? In my apps > that's what I use. > > http://devel

Re: NSTimer replacement?

2007-05-09 Thread Robert Walker
The OP was asking about alternatives to WOTimer. :-) On May 9, 2007, at 4:03 PM, Ted Archibald wrote: Hey, out of curiosity why has no one mentioned WOTimer? In my apps that's what I use. http://developer.apple.com/documentation/webobjects/reference/api/ com/webobjects/appserver/WOTimer.h

Re: Snapshot Question

2007-05-09 Thread Mike Schrag
On May 9, 2007, at 4:46 PM, Andrew Lindesay wrote: I wonder, in my background thread, should I be creating an artificial EC from the OSC and locking that for some reason or should it be enough to lock the OSC directly? You say below you're calling "forgetSnapshotForGlobalID(...)". Under

Re: Snapshot Question

2007-05-09 Thread Andrew Lindesay
Hello Chuck; I finally got those changes into a production-deploy and sadly the problem persists. So I know the EC involved from user requests is being locked by the request-handler and at the same time I am manually locking the OSC in the background thread. I wonder, in my background t

Re: MSIE is not the postman

2007-05-09 Thread Thomas
Alexander, thanks for the help, but that is not the problem. The Apache logs show clearly that there are two separate requests for that page from the browser. First the direct action URL: /product/products/125/SCROLL+SAWS/M0239.html then all the images files and so on, then a second re

Re: NSTimer replacement?

2007-05-09 Thread Ted Archibald
Hey, out of curiosity why has no one mentioned WOTimer? In my apps that's what I use. http://developer.apple.com/documentation/webobjects/reference/api/com/webobjects/appserver/WOTimer.html ___ Do not post admin requests to the list. They will be igno

Re: Merits of D2JC (was: user obstacles to WOLips adoption (was: Apple's Support of WebObjects))

2007-05-09 Thread Robert Walker
http://developer.apple.com/documentation/WebObjects/ DesktopApplications/index.html#//apple_ref/doc/uid/TP30001017 states that the nib files are translated directly to Swing by WO. So it sounds to me like WO parses the nib file and determines how to build the Swing interface. Since you aren'

Re: NSTimer replacement?

2007-05-09 Thread Robert Walker
Johann, I think that would be fine if you have a fixed schedule that doesn't change over long periods of time so you could set it manually. The biggest drawback I see in using cron/launchd is that it is way more difficult to change these schedules by your WO apps in response to an user ac

Re: Getting a project started right

2007-05-09 Thread Robert Walker
Just to clarify, everything in my previous post is pure speculation. I have no idea of Apple's future plans for Java in, or outside of, Xcode. All I know for sure is what has been made public, such as the deprecation of the Java bridge, WOBuilder, etc. After a re-read of my previous post

Re: NSTimer replacement?

2007-05-09 Thread Kieran Kelleher
On May 9, 2007, at 10:34 AM, Johann Werner wrote: Am 09.05.2007 um 15:35 schrieb Kieran Kelleher: I'll try and be brief .For stuff like this I create scheduled tasks in the database. ScheduledTasks have a start date (1/1/2007 0:00 for example) and end date(12/31/2008 10:00 fo

Re: Vexing Update Problem

2007-05-09 Thread David Avendasora
Okay, I may have gone down the wrong road with my question. Upon ca closer look at your error, it looks like it's generating the error when it's trying to validate the database table prior to writing to the database. Double check your database table and its fields to make sure they match wi

Re: Getting a project started right

2007-05-09 Thread Ken Anderson
SIGN ME UP! :) On May 9, 2007, at 11:13 AM, Robert Walker wrote: At the risk of starting another flame war, I'd love to see WebObjects divorced from Java. I'd love to see Apple take their old WebObjects Obj-C code base, enhance it to take full advantage of Objective C 2.0, and make it fea

Re: Getting a project started right

2007-05-09 Thread Robert Walker
Aaron, I actually do agree with you. It is very odd to have WebObjects delivered and installed by Xcode, with project templates provided within Xcode, to produce applications that you can't (reasonably) build using Xcode. I completely agree with Apple's strategy for divorcing WebObjects

Re: NSTimer replacement?

2007-05-09 Thread Johann Werner
Am 09.05.2007 um 16:34 schrieb Robert Walker: Keiran, I do something very similar to this except I typically use an external scheduler such as cron or launchd, which calls direct actions using curl to handle each task. This way the scheduling databases becomes a simple crontab or launch

Re: NSTimer replacement?

2007-05-09 Thread Robert Walker
Keiran, I do something very similar to this except I typically use an external scheduler such as cron or launchd, which calls direct actions using curl to handle each task. This way the scheduling databases becomes a simple crontab or launchd style schedule. There are many options to thi

Re: NSTimer replacement?

2007-05-09 Thread Johann Werner
Am 09.05.2007 um 15:35 schrieb Kieran Kelleher: I'll try and be brief .For stuff like this I create scheduled tasks in the database. ScheduledTasks have a start date (1/1/2007 0:00 for example) and end date(12/31/2008 10:00 for example) and a frequency (1, 2 ... n) and an inte

Re: Merits of D2JC (was: user obstacles to WOLips adoption (was: Apple's Support of WebObjects))

2007-05-09 Thread Robert Walker
David, Come to think of it, maybe it's just the Xcode Project templates that will no exist in future versions of Xcode. Maybe the underlying technologies will still work, but they are not being actively developed. Which, I guess, is no huge deal since they haven't been enhanced in years

Re: Getting a project started right

2007-05-09 Thread Aaron Thompson
All I mean is that the Apple-provided documentation still uses XCode and the old tools, but the new way to go is with Eclipse/WOLips, which confused me at first because I didn't know where to begin. Aaron Thompson On May 9, 2007, at 9:58 AM, Ken Anderson wrote: Aaron, Actually, we have a

Re: Getting a project started right

2007-05-09 Thread Ken Anderson
Aaron, Actually, we have a more clear strategy now than we've had in years. What part of the strategy is not clear? Ken On May 9, 2007, at 9:50 AM, Aaron Thompson wrote: Thanks to everyone who replied! This'll get me started off right. I wish Apple would be more clear about their stra

Re: Getting a project started right

2007-05-09 Thread Aaron Thompson
Thanks to everyone who replied! This'll get me started off right. I wish Apple would be more clear about their strategy. Aaron Thompson On May 8, 2007, at 5:17 PM, Guido Neitzer wrote: On 08.05.2007, at 14:54, Aaron Thompson wrote: I've been looking around and I can't find any kind of gui

Re: Vexing Update Problem

2007-05-09 Thread Cornelius Jaeger
hi david public void setAssetSelection(VFAsset newAssetSelection) { VFAsset oldAsset = (VFAsset)record().valueForKey("asset"); if (oldAsset != null) { record().removeObjectFromBothSidesOfRelationshipWithKey(oldAsset, "asset"); }

Re: Merits of D2JC (was: user obstacles to WOLips adoption (was: Apple's Support of WebObjects))

2007-05-09 Thread David Avendasora
I can't find anywhere where anything talks about Direct-To or Non- Direct Java Client being depreciated. But I can't find anything that says otherwise either. I don't believe that the Java-Cocoa bridge (which, if I understand correctly, is what was depreciated and therefore all of the Apple

Re: NSTimer replacement?

2007-05-09 Thread Kieran Kelleher
I'll try and be brief .For stuff like this I create scheduled tasks in the database. ScheduledTasks have a start date (1/1/2007 0:00 for example) and end date(12/31/2008 10:00 for example) and a frequency (1, 2 ... n) and an interval (minutes, hours, days, weeks, months) and a

Re: Force quit without monitor

2007-05-09 Thread Zak Burke
Art Isbell wrote on 5/8/07 10:43 PM: I'd take that a bit further and recommend that no one use this script without rewriting it for WO 5 and the operating system under which the WO apps are deployed. I.e., consider it an outline of how a WO (re)startup script could be written. Here is th

Re: NSTimer replacement?

2007-05-09 Thread Johann Werner
Thanks for all replies. I guessed already that there had to be any means by Java that explained the deprecation of NSTimer. Am 09.05.2007 um 12:05 schrieb Oliver Egger: Hi jw we use the open source quartz scheduling functionality: http://www.opensymphony.com/quartz/ looks interesting thou

Re: NSTimer replacement?

2007-05-09 Thread Oliver Egger
Hi jw we use the open source quartz scheduling functionality: http://www.opensymphony.com/quartz/ you define jobs similiar to the syntax of a cronjob. to use it a small example: private SchedulerFactory schedulerFactory = new StdSchedulerFactory(); private Scheduler scheduler = schedulerFa

Re: NSTimer replacement?

2007-05-09 Thread Alexander Spohr
This is Javaland. Subclass java.util.TimerTask atze Am 09.05.2007 um 11:47 schrieb Johann Werner: I recently looked at the NSTimer documentation where a note came up stating that it is obsolete and should not be used for new development. Unfortunately there is no mention of alte

Re: NSTimer replacement?

2007-05-09 Thread Stefan Klein
Hi, take a look at java.util.Timer and java.util.TimerTask Stefan Johann Werner schrieb: I recently looked at the NSTimer documentation where a note came up stating that it is obsolete and should not be used for new development. Unfortunately there is no mention of alternatives. I have

NSTimer replacement?

2007-05-09 Thread Johann Werner
I recently looked at the NSTimer documentation where a note came up stating that it is obsolete and should not be used for new development. Unfortunately there is no mention of alternatives. I have a WO app running that should execute a function at certain dates automagically ;) More precis

Vexing Update Problem

2007-05-09 Thread Cornelius Jaeger
Hi All i've been working on this one for almost two days now and i can't seem to fix it. while adding a 1..n i get an exception: java.lang.ArrayIndexOutOfBoundsException: 128 at com.webobjects.foundation._NSCollectionEnumerator.nextElement (_NSCollectionEnumerator.java:34) at com.webobject