I see where the confusion is coming from. We don't need to compile this code (so there no wo.jar dependency). This is just a sample project to test the wocompat package that reads EOModels (I don't think we even read XCode files; but WOProject ant tasks based on Cayenne do).

In other words it should stay in "resources" directory, as to Cayenne this is simply a textual input for the test cases.

Andrus



On Jul 29, 2006, at 11:09 PM, Bill Dudney wrote:

And I forgot to mention, they are currently excluded by maven because they are in the resources directory. I ran across them because I let Eclipse find all the source directories, it found this and complained that the webobjects stuff was not found. Other wise I would have remained happily unaware of this code :-)

TTFN,

-bd-

On Jul 29, 2006, at 9:00 PM, Bill Dudney wrote:

Hey Andrus,

only issue is that there are some Java tests in there. They rely on webobjects jar files that are not available in any maven repo that I'm aware of so we can't compile them without requiring a manual download and install.

~/Development/cayenne/main/cayenne/cayenne-java/cayenne/src/test/ resources/wotests bdudney$ ls
Application.java                        Session.java
DirectAction.java                       WOAfile.icns
Main.api                                art.eomodeld
Main.java cross-model- relationships.eomodeld
Main.wo                                 fetchspec.eomodeld
Properties                              wotests.xcode

is a listing of the directory I'm talking about.

TTFN,

-bd-

On Jul 29, 2006, at 10:01 AM, Andrus Adamchik wrote:

I don't understand...

There are some EOModels, some plists and an XCode project in test/ resources - those are just text file that were created by Cayenne developers and are not copyrighted or licensed by Apple or anything like that. Why is this an issue?

Andrus

On Jul 29, 2006, at 6:50 AM, Bill Dudney wrote:

Hi All,

There are WebObjects tests in the 1.4 code base. I don't think we can get at any webobjects stuff via maven (because of license). What if anything should we be doing about these classes? They are currently in the test/resources directory so they are not compiled or used in the test phase but I'd prefer to move them out to the test directory if we want to continue to use them.

Thanks,

-bd-






Reply via email to