Michael,
I fixed the error below, and also all code generation templates, and
now I can compile and run unit tests, but many of them still fail.
Could you use your script to fix the test resources under
* cayenne-java/src/tests/resources/ClassGeneration/
* cayenne-java/src/tests/resources/dml/
Andrus
On Jul 16, 2006, at 3:47 PM, Andrus Adamchik wrote:
Also it looks like we will need a project upgrade checker in the
modeler, as the queries are saved with a builder factory class
encoded:
factory="org.objectstyle.cayenne.map.SelectQueryBuilder"
Same is true for the explicit DbAdapters. As a result when I run
the tests, I get this:
# ant clean test
...
BUILD FAILED
/Users/andrus/work/cayenne/cayenne-ant/build.xml:112: The following
error occurred while executing this line:
/Users/andrus/work/cayenne/cayenne-ant/ant/test.xml:30: The
following error occurred while executing this line:
/Users/andrus/work/cayenne/cayenne-ant/ant/import/macros.xml:93:
Error generating classes: MapLoader::processStartQuery(), invalid
query builder: org.objectstyle.cayenne.map.SelectQueryBuilder
I may look into that once I am done with 1.2 release.
Andrus
On Jul 16, 2006, at 1:31 PM, Michael Gentry wrote:
OK, I think it is mostly done. I think I might still have a few
glitches, though. I can't do a full ant build yet, but I think I'm
missing the tutorials ... I can't work on it more until this
evening,
though. If you find problems, please let me know.
Thanks!
/dev/mrg
On 7/14/06, Andrus Adamchik <[EMAIL PROTECTED]> wrote:
On Jul 14, 2006, at 8:28 PM, Michael Gentry wrote:
> OK, I've made a script that'll change all Java package and import
> references from ObjectStyle to Apache. Appears to be working
fine in
> my sandbox test.
Cool!
> This is going into the TRUNK, right? (paranoid hat firmly in
> place) :-)
Yep:
https://svn.apache.org/repos/asf/incubator/cayenne/main/trunk/
BTW, I just moved the website to Apache. Waiting for the sync
process
to pick it up in production. According to the infra docs this should
happen around 9:11 pm EST.
Andrus