Re: Eclipse, WOLips and getting the Web Resources right

2007-01-11 Thread Michael Bøcker-Larsen
Hi Lachlan (and others) On Jan 12, 2007, at 12:46 AM, Lachlan Deck wrote: Hi Michael, On 12/01/2007, at 2:46 AM, Michael Bøcker-Larsen wrote: I am using Eclipse/WOLips to make a WO application (migrating from XCode) and I am having problems making the application access the web resources

Re: Tip: automating EOGenerator

2007-01-11 Thread Lachlan Deck
Hi Chuck, On 12/01/2007, at 4:31 PM, Chuck Hill wrote: On Jan 11, 2007, at 9:18 PM, Lachlan Deck wrote: print "'Declaring' the problem: ant's lack of a basic loop structure makes simple things more complex than need be. Having to create a custom framework to provide the spoon?.\n"; Is th

Re: Problems Debugging Framework Source

2007-01-11 Thread Lachlan Deck
On 12/01/2007, at 4:54 PM, Lachlan Deck wrote: On 29/11/2006, at 1:19 AM, Mike Schrag wrote: If you've only added the framework to the WO Frameworks section of your build path, it will be using /Library/Frameworks/ YourFramework.framework. If you want to use the eclipse project version of

Re: Problems Debugging Framework Source

2007-01-11 Thread Lachlan Deck
Hi there, On 29/11/2006, at 1:19 AM, Mike Schrag wrote: If you've only added the framework to the WO Frameworks section of your build path, it will be using /Library/Frameworks/ YourFramework.framework. If you want to use the eclipse project version of your framework instead, you will also

Re: Tip: automating EOGenerator

2007-01-11 Thread Chuck Hill
On Jan 11, 2007, at 9:18 PM, Lachlan Deck wrote: Hi Chuck, On 12/01/2007, at 3:10 PM, Chuck Hill wrote: On Jan 11, 2007, at 5:52 PM, Lachlan Deck wrote: On 12/01/2007, at 12:45 PM, Chuck Hill wrote: perl! My eyes! My eyes! :-P When ant bundles the foreach task (who know's why simple

Re: Tip: automating EOGenerator

2007-01-11 Thread Lachlan Deck
Hi Chuck, On 12/01/2007, at 3:10 PM, Chuck Hill wrote: On Jan 11, 2007, at 5:52 PM, Lachlan Deck wrote: On 12/01/2007, at 12:45 PM, Chuck Hill wrote: perl! My eyes! My eyes! :-P When ant bundles the foreach task (who know's why simple looping constructs were left off...) Declarativ

Re: Tip: automating EOGenerator

2007-01-11 Thread Jerry W. Walker
On Jan 11, 2007, at 11:10 PM, Chuck Hill wrote: On Jan 11, 2007, at 5:52 PM, Lachlan Deck wrote: Hi Chuck, On 12/01/2007, at 12:45 PM, Chuck Hill wrote: perl! My eyes! My eyes! :-P When ant bundles the foreach task (who know's why simple looping constructs were left off...) Decla

Re: Override Component java class but still use same template

2007-01-11 Thread Chuck Hill
Certainly. public WOElement template() { return WOComponent.templateWithHTMLString((htmlString(), bindingsString(), context().session().languages

Re: Tip: automating EOGenerator

2007-01-11 Thread Chuck Hill
On Jan 11, 2007, at 5:52 PM, Lachlan Deck wrote: Hi Chuck, On 12/01/2007, at 12:45 PM, Chuck Hill wrote: perl! My eyes! My eyes! :-P When ant bundles the foreach task (who know's why simple looping constructs were left off...) Declarative programming. You have to learn to think abo

Override Component java class but still use same template

2007-01-11 Thread Peter vandoros
Is there a way where i can have a custom sub class of a WOComponent where the new component uses the template of the original component? I have a scenario where i have an element that requires custom logic in code only for a particular client and i don't want to have to maintain a copy of the

Re: Tip: automating EOGenerator

2007-01-11 Thread Lachlan Deck
Hi Chuck, On 12/01/2007, at 12:45 PM, Chuck Hill wrote: perl! My eyes! My eyes! :-P When ant bundles the foreach task (who know's why simple looping constructs were left off...) I have an Ant task for this if you want. Sure. Share away... with regards, -- Lachlan Deck _

Re: Tip: automating EOGenerator

2007-01-11 Thread Chuck Hill
perl! My eyes! My eyes! :-P I have an Ant task for this if you want. Chuck On Jan 11, 2007, at 5:22 PM, Lachlan Deck wrote: Hi all, I've updated the following tut with a note at the bottom titled "Ant generation". I was getting a little bored of manually running eogenerator in Eclips

Tip: automating EOGenerator

2007-01-11 Thread Lachlan Deck
Hi all, I've updated the following tut with a note at the bottom titled "Ant generation". I was getting a little bored of manually running eogenerator in Eclipse. This happened automatically via a build-phase in Xcode. Ahhh the good 'ol days ;-) Now it's automatic whenever there's a compi

Re: Eclipse, WOLips and getting the Web Resources right

2007-01-11 Thread Lachlan Deck
Hi Michael, On 12/01/2007, at 2:46 AM, Michael Bøcker-Larsen wrote: I am using Eclipse/WOLips to make a WO application (migrating from XCode) and I am having problems making the application access the web resources even-though I have marked them as such. I use the default build.xml This i

Re: Connecting to Informix

2007-01-11 Thread Chuck Hill
Hi Calven, On Jan 11, 2007, at 12:13 PM, Calven Eggert wrote: On Mac. I've actually managed to connect to Informix using SQLGrinder but it still doesn't show any of the tables/views. When I try to do a select it tells me that the database has not been selected. Here is my connection str

invalidateObjectsWithGlobalIDs Problem.

2007-01-11 Thread Dov Rosenberg
A little background. We are using a JMS change notification system that invalidates objects that have been modified in other instances. At first, everything seemed to be working great, but now we realized that there are some problems fetching objects using the recently invalidated objects as pa

Re: Connecting to Informix

2007-01-11 Thread Calven Eggert
On Mac. I've actually managed to connect to Informix using SQLGrinder but it still doesn't show any of the tables/views. When I try to do a select it tells me that the database has not been selected. Here is my connection string: jdbc:informix-sqli://ip:port:informixserver=servername This is a

Re: Exception: Deployment - FrontbasePlugIn - deadlock - WHY ?

2007-01-11 Thread Chuck Hill
Did you change the URL as I posted yesterday and restart all instances? Chuck On Jan 10, 2007, at 1:21 PM, Gaastra Dennis - WO Lists wrote: Dear colleagues, This exception just appeared at random during deployment. Yes, there are multiple WO application instances and multiple sessions per

Exception: Deployment - FrontbasePlugIn - deadlock - WHY ?

2007-01-11 Thread Gaastra Dennis - WO Lists
Dear colleagues, This exception just appeared at random during deployment. Yes, there are multiple WO application instances and multiple sessions per instance, but this never has caused a problem before. We were just trying to insert an object into the database. Any tips, pointers? Frontb

Re: Connecting to Informix

2007-01-11 Thread Chuck Hill
On Windows or Mac? Does your application work? Did you put the driver in /Library/Java/Extensions? Did you try setting driver= in the connection dictionary? Chuck On Jan 11, 2007, at 3:18 AM, Calven Eggert wrote: Hi Albert, EOModeler says it cant find the driver after I installed the I

Re: Eclipse can't resolve framework

2007-01-11 Thread Henrique Prange
Hi Giles, I take a look here and JavaEOApplication doesn't have a com.webobjects.eoapplication.client package. Try to remove this line or organize the imports (Command+Shift+O). Cheers, Henrique Cedarstone wrote: Hi I am taking a project from XCode to Eclipse and seem to be progressing w

Re: Modeling optional one-to-one relationships correctly

2007-01-11 Thread Robert Walker
And I suppose there is no way to "propagate" for example the primary key of B into A.bFid when you setBrelationship(A) ? Yes this is correct. Primary key propagation can only happen in one direction, by definition. You either propagate from A to B or B to A. Example: 1. EOF generates 5 f

Re: Eclipse, WOLips and getting the Web Resources right

2007-01-11 Thread Daniele Corti
Hi Michael, 2007/1/11, Michael Bøcker-Larsen <[EMAIL PROTECTED]>: Hi I am using Eclipse/WOLips to make a WO application (migrating from XCode) and I am having problems making the application access the web resources even-though I have marked them as such. I use the default build.xml This is m

Eclipse, WOLips and getting the Web Resources right

2007-01-11 Thread Michael Bøcker-Larsen
Hi I am using Eclipse/WOLips to make a WO application (migrating from XCode) and I am having problems making the application access the web resources even-though I have marked them as such. I use the default build.xml This is my project file structure: workspace/Project/src/main/java - ja

Re: Modeling optional one-to-one relationships correctly

2007-01-11 Thread Fabrice Pipart
On Jan 11, 2007, at 4:20 PM, Robert Walker wrote: Fabrice, The problem that you are having is related to primary key generation. There is no way for EOF to guarantee the generation of the same primary key values to two different entities. This is why modeling one-to-one relationships i

Re: Native libraries

2007-01-11 Thread Frédéric JECKER
Fabrice, Thanks for your answer it helped me avoiding to struggle with paths. Once the native library was loaded I had another problem which was caused by the dll itself: I generated it from an example project where the java class holding the native methods wasn't in a package as the final cla

Re: Is Xcode Tools 2.4.1 missing the WebObjects adaptor source code?

2007-01-11 Thread John Huss
Yes, I noticed it was missing too. However, if you download the source for Project Wonder there is source and build scripts for several different adaptors. I've had trouble getting it to build on Windows, but that's a different issue. John On 1/11/07, Patrick Middleton <[EMAIL PROTECTED]> wrot

Re: Native libraries

2007-01-11 Thread Jacky Gagnon
Hi, If I remember, java look in this directory by default (to load JNI libraries) : /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/ Be sure to set the good permission on your lib. Good Luck! On 07-01-11, at 03:41, Frédéric JECKER wrote: Moin List, Does anyone alre

Re: Modeling optional one-to-one relationships correctly

2007-01-11 Thread Robert Walker
Fabrice, The problem that you are having is related to primary key generation. There is no way for EOF to guarantee the generation of the same primary key values to two different entities. This is why modeling one-to-one relationships in EOF normally uses primary key propagation. What

Eclipse can't resolve framework

2007-01-11 Thread Cedarstone
Hi I am taking a project from XCode to Eclipse and seem to be progressing well up to this point... I have a class with the following import declarations: import com.webobjects.foundation.*; import com.webobjects.eocontrol.*; import com.webobjects.eointerface.swing.*; import com.webobjects.eo

Re: Native libraries

2007-01-11 Thread Fabrice Pipart
Hi ! On Jan 11, 2007, at 9:41 AM, Frédéric JECKER wrote: Moin List, Does anyone already achived to use native libraries in a webobject project ? Sure ! Personally I have this in one of my classes : static { // Ensure native JNI library is loaded System.load(PATH_LIBR

Is Xcode Tools 2.4.1 missing the WebObjects adaptor source code?

2007-01-11 Thread Patrick Middleton
http://developer.apple.com/documentation/WebObjects/Deployment/ Deploying_Applications/Installation/chapter_3_section_3.html says (amonst other things) that "This section discusses building HTTP adaptors from the source code in /Developer/Examples/WebObjects/ Source/Adaptors". Reviewing the

Re: [OT] Eclipse/WOLips import java files --> howto automate packages?

2007-01-11 Thread Lachlan Deck
Hi there, On 10/01/2007, at 6:55 PM, Denis Frolov wrote: on 1/10/07 8:31 AM, Lachlan Deck at [EMAIL PROTECTED] wrote: The below tutorial suggests dragging java files from Xcode to Eclipse: http://wiki.objectstyle.org/confluence/display/WOL/Import+an+Xcode +project+into+WOLips This quickly

Re: Connecting to Informix

2007-01-11 Thread Calven Eggert
Hi Albert, EOModeler says it cant find the driver after I installed the IBM one. Any suggestions on what to do next? What should I be checking for to make sure the driver is in the right place? Calven On 1/10/07 3:42 PM, "Albert Jagnow" <[EMAIL PROTECTED]> wrote: > Here is a link to IBM¹s J

Re: [OT] Eclipse/WOLips import java files --> howto automate packages?

2007-01-11 Thread Daniele Corti
2007/1/11, Denis Frolov <[EMAIL PROTECTED]>: on 1/11/07 3:10 AM, Lachlan Deck at [EMAIL PROTECTED] wrote: > On 10/01/2007, at 6:55 PM, Denis Frolov wrote: > >> How about dragging all the java files to a package folder in >> Eclipse package >> explorer? > > Are you assuming that these packages a

Modeling optional one-to-one relationships correctly

2007-01-11 Thread Fabrice Pipart
Hi all ! I recently modeled my first one-to-one relationship in my EOModel (please dont laugh). And of course I had troubles ;-) I want this relationship to be optional and to be both sided. Here is how I did it : Entity A idA bFid bRelationship (source bFid, destinati

Native libraries

2007-01-11 Thread Frédéric JECKER
Moin List, Does anyone already achived to use native libraries in a webobject project ? I've tested a lot of solutions and I keep getting java.lang.UnsatifiedLinkException telling me that my native library cannot be found. When using the same objects and native libraries in a command line proj