Re: Unit testing

2008-06-15 Thread f . jecker
Hi, The problem is that I'm relying on an external API that dynamically loads some classes in which EOEditingContext are directly created. I performed some refactoring in order to ease unit testing but I have the following error : My simple test class @BeforeClass public static void l

Re: WebObjects 5.4 on Linux (Red Hat Enterprise)

2008-06-15 Thread Mike Schrag
* Linux (Red Hat Enterprise) Development work must be done on Linux (Red Hat Enterprise). I have read something on WOCommunity.org that the initial installation needs are Mac, and after that the packages could be moved to Linux. Is the installation process difficult? Has anyone done DEVELOP

WebObjects Training, Registration Now Open (Seattle September 8-12, 2008)

2008-06-15 Thread Jay Al Hashal
Übermind will be holding it’s fall WebObjects Development course from September 8th through 12th. This five-day course offers an intensive look into designing, building, and deploying Web applications using Apple’s WebObjects technology. Based on over a decade of professional consulting on

Re: Using ERMemoryAdaptor

2008-06-15 Thread Q
Have a look at the properties files included with bugtracker. You can use -Duser.name to switch between different databases. On 16/06/2008, at 11:30 AM, Greg Hulands wrote: I had actually missed that bit in the docs as I never went to the package summary. I'm trying to automate the test

Re: Using ERMemoryAdaptor

2008-06-15 Thread Greg Hulands
I had actually missed that bit in the docs as I never went to the package summary. I'm trying to automate the testing in an ant script so having to open the model up and switch the adaptor would not be the ideal solution. Looking through the code to entity modeller and EOModel, all I can

Re: ReportMill can't find Framework?

2008-06-15 Thread Don Lindsay
Hmm, are you trying to generate a report at that point (I.E. use one of the ReportMill components) Do the reportmill components have imports for your entity classes? (line 64 in RM_Dashboard) Make sure you do not have two copies of the ReportMill custom components in your project. Open

Re: NSTimestamp problem

2008-06-15 Thread Lachlan Deck
On 15/06/2008, at 9:55 PM, Gino Pacitti wrote: Does anyone have a link to solution to hour of day being incorrect? NSTimeZone tz = NSTimeZone.timeZoneWithName("Europe/London", true); java.util.GregorianCalendar calendar = new GregorianCalendar(); calendar.setTime(new NSTimestamp()); int year =

Re: n00b Q:Getting a database entity count

2008-06-15 Thread Rams
On Jun 15, 2008, at 4:17 PM, Johann Werner wrote: Hi Rams, calling entity.relationship.count would fault all objects. I was afraid of that... Look at http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading where you get a more recent code snippet for solvin

Re: ReportMill can't find Framework?

2008-06-15 Thread James Cicenia
As requested: (note TOSPDFPage was my attempt to just create a copy of the component and put it in the default package... same error basically. [2008-06-15 13:10:12 CDT] No template found for component TOSPDFPage at "file:/Users/jcicenia/Documents/ workspace/TOSDevelopment/build/TOSDevel

Re: To Many to EOs w/ Compound Primary Keys that Include Reverse Foreign Key (+INHERITANCE!!!) -- FIX / WORK-AROUND

2008-06-15 Thread Lachlan Deck
Hi there, On 15/06/2008, at 6:00 PM, Robert B.Hanviriyapunt wrote: Ok. I completely verified that it is a problem (at least for me, who likes to implement inheritance in my entities, big time!) If you're talking about Vertical Inheritance (i.e., where the parent entity is mapped to a diff

Re: Using ERMemoryAdaptor

2008-06-15 Thread Mike Schrag
and: http://webobjects.mdimension.com/wonder/api/er/memoryadaptor/package-summary.html "To use ERMemoryAdaptor, add ERMemoryAdaptor.framework to your project dependencies, and change the adaptor in Entity Modeler to "Memory". Additionally, you may want to change your prototype to EOMemoryP

Re: ReportMill can't find Framework?

2008-06-15 Thread Don Lindsay
Hmmm, my issue was happening in Tomcat not direct. Send me your stack trace please. Don On Jun 15, 2008, at 2:04 PM, James Cicenia wrote: Funny I just sent you a direct email. Anyway, TOSDevelopment is the name of this project. I did modify the ReportMill components to reside in their

Re: n00b Q:Getting a database entity count

2008-06-15 Thread Johann Werner
Hi Rams, calling entity.relationship.count would fault all objects. Look at http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading where you get a more recent code snippet for solving your problem. jw Am 15.06.2008 um 20:53 schrieb Rams: Hi everybody, I w

Re: Using ERMemoryAdaptor

2008-06-15 Thread John Huss
Try these links: http://lists.apple.com/archives/Webobjects-dev/2008/Mar/msg00762.html http://webobjects.mdimension.com/wonder/api/er/memoryadaptor/ERMemoryAdaptor.html On Sat, Jun 14, 2008 at 8:53 PM, Greg Hulands <[EMAIL PROTECTED]> wrote: > Does anyone have any code for integrating this adap

n00b Q:Getting a database entity count

2008-06-15 Thread Rams
Hi everybody, I was wondering if anyone had some "best practices" advice on fetching a count on a to-many relationship. I'm concerned that if I do a simple entity.relationship.count that I'm going to be faulting every EO in the relationship... is that the case? In searching for an answe

Re: NSTimestamp problem

2008-06-15 Thread Ray Kiddy
On Jun 15, 2008, at 5:05 AM, Simon McLean wrote: time zone. Europe / London is currently in BST which is 1 hour ahead of GMT. i think if you also print out GregorianCalendar.HOUR_OF_DAY you'll find it's = 11, not 12, because it's using GMT. depending on what you are trying to achieve you

Re: ReportMill can't find Framework?

2008-06-15 Thread James Cicenia
Funny I just sent you a direct email. Anyway, TOSDevelopment is the name of this project. I did modify the ReportMill components to reside in their own package. The templates are being served by the database and not the resource directory. The app isn't deployed of course, but running it vi

Re: ReportMill can't find Framework?

2008-06-15 Thread James Cicenia
I noticed in some postings you were experiencing a similar problem. What did you do to solve it? Thanks On Jun 14, 2008, at 9:45 PM, James Cicenia wrote: Hello I thought I had my ReportMill all good to go but it thinks it is in a framework? It errors on the RMPDFPage saying it can't fin

Re: ReportMill can't find Framework?

2008-06-15 Thread Don Lindsay
HEllo James; Is TOSDevelopment the name of your project? Did you modify the ReportMill components to not reside in the default packages, but in the java package for your application? Do you have your reportmill templates in the resources directory? How are you running the application (

Re: WebObjects + iPhone SDK

2008-06-15 Thread James Cicenia
Thanks for the pointers. Never heard of litesql or Thrift before. I never did ObjectiveC before, but it has been relatively painless to pick up. I am still not quite clear on memory usage and such, but getting there. Almost hate to say this, but, now it would be nice if WebObjects went back

Re: WebObjects + iPhone SDK

2008-06-15 Thread Pierce T. Wetter III
On Jun 4, 2008, at 5:43 AM, James Cicenia wrote: Now that I have created my first iPhone app, I see the need for a velogenerator to create Objective-C files. Recreating them in Objective C while learning Objective C hasn't been the most fun. Here at work we've been putting together some

Re: NSTimestamp problem

2008-06-15 Thread Simon McLean
time zone. Europe / London is currently in BST which is 1 hour ahead of GMT. i think if you also print out GregorianCalendar.HOUR_OF_DAY you'll find it's = 11, not 12, because it's using GMT. depending on what you are trying to achieve you may find it easier to work everything at GMT rath

NSTimestamp problem

2008-06-15 Thread Gino Pacitti
Does anyone have a link to solution to hour of day being incorrect? NSTimeZone tz = NSTimeZone.timeZoneWithName("Europe/London", true); java.util.GregorianCalendar calendar = new GregorianCalendar(); calendar.setTime(new NSTimestamp()); int year = calendar.get(Gr

Re: WOLips BUG: can't configure frameworks set used in application

2008-06-15 Thread Lachlan Deck
Hi Gennady, On 15/06/2008, at 9:16 AM, Gennady Kushnir wrote: I think it should be a common problem using WOLips with a common solution either... When adding and/or removing installed framework dependency (using WO Frameworks -> Configure...) an alert arised about some exception adding files