You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2006/07/11 23:03:27 UTC

Re: "Can't build a query for temporary id" after upgrade from 1.2B2 to 1.2RC2

Looks like we were able to address Michael G.'s issue (CAY-595). Now  
this one is the only one that remains. Mike (K.), let me know if you  
need my help working on this - let's get it out! :-)

Andrus

On Jul 5, 2006, at 6:01 PM, Mike Kienenberger wrote:

> For what it's worth, the change in behavior happened between B2 and
> B3.  Versions B3, RC1, and RC2 all generate the same error.
>
> The only thing in the release notes for B3 that looks relevent is
>
> CAY-542	Re-registered objects lose their relationships
>
> I'm guessing that the new recursive algorithm is somehow interfering
> with my own graph-chunk registration methods.
>
>
> On 7/5/06, Mike Kienenberger <mk...@gmail.com> wrote:
>> Well, I've been unable to track down exactly how this is happening.
>> Somehow, when my objects are unserialized and reattached to their
>> datacontexts on the following request, some of them are being changed
>> from NEW to HOLLOW in calls to localObjects().    Under B2, the
>> objects never get attached via localObjects (localObjects isn't
>> called) but they do with RC2.
>>
>> I've spent a couple hours on this now, so I guess I'll just stick  
>> with
>> B2 for the time being.
>>
>> I wish I could figure out where RC2 causes the logic to work
>> differently, but I can't think of any easy way to determine this.
>>
>> On 7/5/06, Mike Kienenberger <mk...@gmail.com> wrote:
>> > Well, stepping through it in the debugger shows the state of the
>> > object as new at this point with B2 but hollow with RC2.   Guess I
>> > need to track down what caused the persistent state change.
>> >
>> >
>> > On 7/5/06, Andrus Adamchik <an...@objectstyle.org> wrote:
>> > > Looks like you have a HOLLOW object with a temporary ID?  
>> Strange...
>> > >
>> > > Andrus
>> > >
>> > >
>> > > On Jul 5, 2006, at 3:20 PM, Mike Kienenberger wrote:
>> > >
>> > > > I'm not entirely certain what's changed between 1.2B2 and  
>> 1.2RC2, but
>> > > > I'm now getting this error when I upgrade.
>> > > >
>> > > > This is reading a property a newly-created data object.
>> > > >
>> > > > CayenneDataObject.readProperty returned null in B2 rather than
>> > > > throwing an exception.
>> > > >
>> > > >
>> > > > Caused by: org.objectstyle.cayenne.CayenneRuntimeException:  
>> [v.1.2RC2
>> > > > June 23 2006] Can't build a query for temporary id:
>> > > > <ObjectId:EasementDocument, TEMP:0000000F51E40161>
>> > > >       at
>> > > >  
>> org.objectstyle.cayenne.query.ObjectIdQuery.createReplacementQuery
>> > > > (ObjectIdQuery.java:151)
>> > > >       at  
>> org.objectstyle.cayenne.query.IndirectQuery.getReplacementQuery
>> > > > (IndirectQuery.java:111)
>> > > >       at org.objectstyle.cayenne.query.IndirectQuery.route
>> > > > (IndirectQuery.java:94)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.runQuery
>> > > > (DataDomainQueryAction.java:346)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.access$000
>> > > > (DataDomainQueryAction.java:96)
>> > > >       at org.objectstyle.cayenne.access.DataDomainQueryAction 
>> $1.transform
>> > > > (DataDomainQueryAction.java:327)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomain.runInTransaction
>> > > > (DataDomain.java:856)
>> > > >       at
>> > > >  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.runQueryInTransa 
>> c
>> > > > tion(DataDomainQueryAction.java:324)
>> > > >       at
>> > > >  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.interceptOIDQuer 
>> y
>> > > > (DataDomainQueryAction.java:172)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.execute
>> > > > (DataDomainQueryAction.java:142)
>> > > >       at org.objectstyle.cayenne.access.DataDomain.onQuery
>> > > > (DataDomain.java:766)
>> > > >       at  
>> org.objectstyle.cayenne.access.ObjectStore.resolveHollow
>> > > > (ObjectStore.java:945)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataContext.prepareForAccess
>> > > > (DataContext.java:1842)
>> > > >       at org.objectstyle.cayenne.CayenneDataObject.readProperty
>> > > > (CayenneDataObject.java:238)
>> > > >       at
>> > > >  
>> com.gvea.eng_work_mgmt.entity.cayenne.generated._EasementDocumentImpl 
>> .
>> > > > getEasementType(_EasementDocumentImpl.java:309)
>> > > >       ... 72 more
>> > > >
>> > >
>> > >
>> >
>>
>


Re: Stable branch is created, any word on CLA's?

Posted by Andrus Adamchik <an...@objectstyle.org>.
I see your changes in SVN, but there was no commit email. I guess I  
haven't been setup as a commit list moderator, as I don't see a  
moderation request either.

Anyways, I'll check it out.

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 <an...@objectstyle.org> 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
>>
>>
>


Re: Conversion done!

Posted by Andrus Adamchik <an...@objectstyle.org>.
Thanks for clarification. It certainly makes sense.

Andrus

On Jul 18, 2006, at 12:54 AM, Craig L Russell wrote:

> With Roller, IIRC, they have a dependency on the user downloading  
> and installing Hibernate. They did not ship Hibernate with their  
> release. That's ok, and Roller had a release from the incubator.
>
> From the description of your issue, you want to link and ship the  
> LGPL binary as part of the Cayenne release bundle. That's not ok.  
> That's why I suggested it would be ok to ship your own binary and  
> that you give instructions how the user can link in their  
> downloaded LGPL binary with yours to produce an executable.


Re: Conversion done!

Posted by Craig L Russell <Cr...@Sun.COM>.
On Jul 17, 2006, at 8:45 PM, Andrus Adamchik wrote:

>
> On Jul 17, 2006, at 11:31 PM, Jean T. Anderson wrote:
>
>> oops, I hit send on my reply before I saw Craig's and yours  
>> replies, so
>> my post is crossing a bit with yours. Roller released with an LGPL
>> dependency? That'd be good to nail down in the archives.
>
> No actually your reply was very informative regardless.
>
> I made my Roller conclusion from this link:
>
> http://people.apache.org/dist/incubator/roller/apache-roller-2.3- 
> incubating.tar.gz
>
> Looks like it was going through a vote with LGPL deps, but I can't  
> find whether the vote has ever been closed:
>
> http://tinyurl.com/f6hcj
>
> In any event our LGPL dependency is not something as scary as  
> replacing Hibernate in Roller. We can still release "cross- 
> platform" and "mac" versions of Cayenne.

With Roller, IIRC, they have a dependency on the user downloading and  
installing Hibernate. They did not ship Hibernate with their release.  
That's ok, and Roller had a release from the incubator.

 From the description of your issue, you want to link and ship the  
LGPL binary as part of the Cayenne release bundle. That's not ok.  
That's why I suggested it would be ok to ship your own binary and  
that you give instructions how the user can link in their downloaded  
LGPL binary with yours to produce an executable.

Craig
>
> Andrus
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Re: Conversion done!

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Jul 17, 2006, at 11:31 PM, Jean T. Anderson wrote:

> oops, I hit send on my reply before I saw Craig's and yours  
> replies, so
> my post is crossing a bit with yours. Roller released with an LGPL
> dependency? That'd be good to nail down in the archives.

No actually your reply was very informative regardless.

I made my Roller conclusion from this link:

http://people.apache.org/dist/incubator/roller/apache-roller-2.3- 
incubating.tar.gz

Looks like it was going through a vote with LGPL deps, but I can't  
find whether the vote has ever been closed:

http://tinyurl.com/f6hcj

In any event our LGPL dependency is not something as scary as  
replacing Hibernate in Roller. We can still release "cross-platform"  
and "mac" versions of Cayenne.

Andrus


Re: Conversion done!

Posted by "Jean T. Anderson" <jt...@bristowhill.com>.
Andrus Adamchik wrote:
> Hi Craig,
> 
> On Jul 17, 2006, at 11:06 PM, Craig L Russell wrote:
...
>>> and before Windows build LGPL dependency [2] is resolved?
>>
>>
>> I think the JIRA has is correct. You cannot distribute any LGPL  code
>> from Apache, so you would have to have the user download,  install,
>> and link the launcher with your executable. It doesn't  sound like
>> your "binary" distribution can easily use this  technique, though. So
>> you would need either an alternative  technology or a distribution of
>> code and a process to link the  pieces together. Good luck (I'm not
>> familiar with the technology  enough to help you here).
> 
> I think Roller released with LGPL dependencies, so there is a 
> precedent. But I am with you on the general idea that we shouldn't  rush
> it until it is ready. In practical terms it means we will need  to
> branch 2.0 (our "ObjectStyle -> Apache migration helper release"),  and
> continue developing 3.0 on HEAD, while we resolve all the things  above.
> 

oops, I hit send on my reply before I saw Craig's and yours replies, so
my post is crossing a bit with yours. Roller released with an LGPL
dependency? That'd be good to nail down in the archives.

 -jean

Re: Conversion done!

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi Craig,

On Jul 17, 2006, at 11:06 PM, Craig L Russell wrote:
> Congratulations on your successful 1.2 release.

Thanks!

>> I guess now we need to start getting into the Apache release  
>> procedure. The docs [1] are still work in progress, so an advice  
>> from our mentors is very much appreciated.
>
> Docs are not a reason to wait for release. In some sense, most docs  
> are in a state of "almost there". The readiness of docs is quite  
> subjective, unlike other aspects of incubation.

Actually by "docs" I meant the Incubator guidelines outlining the  
expectations like where to put the LICENSE file, how to do a vote,  
and such (not the Cayenne docs).


>> I'll do some research on my own as well (probably just look at  
>> other incubating projects). If I understand correctly, with all  
>> the proper disclaimers we can make a 2.0 release from the  
>> incubator before the CLA situation is addressed 100% (it is now at  
>> ~80%),
>
> I don't believe that the incubator will authorize a release prior  
> to the IP issues being resolved. I've never seen a release approved  
> with this kind of pending IP issue. But I haven't been tracking all  
> your IP issues. My advice is not to ask to release prior to  
> cleaning up all IP.

There is no IP *issues* per se, as Cayenne was developed from the  
beginning with a compatible open source license. It basically comes  
down to recording remaining CLA's that were already sent. And making  
a decision on how to handle a few classes that we can't track (which,  
considering the original open source license, we should find a way to  
deal with).

http://tinyurl.com/gr998


>> and before Windows build LGPL dependency [2] is resolved?
>
> I think the JIRA has is correct. You cannot distribute any LGPL  
> code from Apache, so you would have to have the user download,  
> install, and link the launcher with your executable. It doesn't  
> sound like your "binary" distribution can easily use this  
> technique, though. So you would need either an alternative  
> technology or a distribution of code and a process to link the  
> pieces together. Good luck (I'm not familiar with the technology  
> enough to help you here).

I think Roller released with LGPL dependencies, so there is a  
precedent. But I am with you on the general idea that we shouldn't  
rush it until it is ready. In practical terms it means we will need  
to branch 2.0 (our "ObjectStyle -> Apache migration helper release"),  
and continue developing 3.0 on HEAD, while we resolve all the things  
above.

And while we are working on getting the CLA's in, I wanted to  
understand and address other requirements, as I mentioned above.

Andrus

Re: Conversion done!

Posted by Craig L Russell <Cr...@Sun.COM>.
Hi Andrus,

Congratulations on your successful 1.2 release.

On Jul 17, 2006, at 7:50 PM, Andrus Adamchik wrote:

> I just finished project upgrade code. I hate the way the upgrade  
> pipeline is implemented (by me)... maybe someday when we have to  
> handle more different versions at once, somebody will rewrite  
> it. :-) The bottom line - it works, and all the unit tests pass  
> successfully, including the new ones that test the upgrade procedure.
>
> If anybody has time to do this, could you please start the new  
> Modeler (build it from HEAD or wait for the nightly build - it  
> should go through tomorrow morning) and try an upgrade of your  
> existing project. If you see any errors or inconsistencies, please  
> let me know.
>
>
> What's next...
>
> I guess now we need to start getting into the Apache release  
> procedure. The docs [1] are still work in progress, so an advice  
> from our mentors is very much appreciated.

Docs are not a reason to wait for release. In some sense, most docs  
are in a state of "almost there". The readiness of docs is quite  
subjective, unlike other aspects of incubation.

> I'll do some research on my own as well (probably just look at  
> other incubating projects). If I understand correctly, with all the  
> proper disclaimers we can make a 2.0 release from the incubator  
> before the CLA situation is addressed 100% (it is now at ~80%),

I don't believe that the incubator will authorize a release prior to  
the IP issues being resolved. I've never seen a release approved with  
this kind of pending IP issue. But I haven't been tracking all your  
IP issues. My advice is not to ask to release prior to cleaning up  
all IP.

> and before Windows build LGPL dependency [2] is resolved?

I think the JIRA has is correct. You cannot distribute any LGPL code  
from Apache, so you would have to have the user download, install,  
and link the launcher with your executable. It doesn't sound like  
your "binary" distribution can easily use this technique, though. So  
you would need either an alternative technology or a distribution of  
code and a process to link the pieces together. Good luck (I'm not  
familiar with the technology enough to help you here).

Craig
>
> [1] http://incubator.apache.org/guides/releasemanagement.html
> [2] http://issues.apache.org/cayenne/browse/CAY-493
>
> Andrus
>
>
>
>
> On Jul 17, 2006, at 12:21 PM, Gentry, Michael ((Contractor)) wrote:
>
>> PS. I can build now and almost all unit tests are running for me.
>>
>>
>>
>> -----Original Message-----
>> From: Gentry, Michael (Contractor)  
>> [mailto:michael_gentry@fanniemae.com]
>>
>> Sent: Monday, July 17, 2006 9:56 AM
>> To: cayenne-dev@incubator.apache.org
>> Subject: RE: Stable branch is created, any word on CLA's?
>>
>>
>> I've found a few more I missed which I'm working on fixing.
>>
>>
>>
>>
>> -----Original Message-----
>> From: Gentry, Michael (Contractor)  
>> [mailto:michael_gentry@fanniemae.com]
>>
>> Sent: Monday, July 17, 2006 9:36 AM
>> To: cayenne-dev@incubator.apache.org
>> Subject: RE: Stable branch is created, any word on CLA's?
>>
>>
>> OK, I've changed these.  I'll try to get the build and tests working
>> here, too.
>>
>> Thanks!
>>
>> /dev/mrg
>>
>>
>> -----Original Message-----
>> From: Andrus Adamchik [mailto:andrus@objectstyle.org]
>> Sent: Sunday, July 16, 2006 10:40 PM
>> To: cayenne-dev@incubator.apache.org
>> Subject: Re: Stable branch is created, any word on CLA's?
>>
>>
>> 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 <an...@objectstyle.org> 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
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Re: Header changes

Posted by "Jean T. Anderson" <jt...@bristowhill.com>.
Andrus Adamchik wrote:
> 
> On Jul 17, 2006, at 11:27 PM, Jean T. Anderson wrote:
> 
>> 1) The license header changes are now solid and documented at [3]
>> Putting these changes in place now rather than waiting for Sep 1 would
>> make much sense.
> 
> 
>> [3] http://www.apache.org/legal/src-headers.html
> 
> 
> Agreed. The only license attached to the source files is ObjectStyle 
> license, and Cayenne committers are the "party" that brought Cayenne  to
> Apache. So is it safe to do this -
> 
> 1. Put ObjectStyle License header in the NOTICE file.
> 2. Strip it from all source files.
> 3. Add Apache header to all source files.
> 
> If there are no objections to this procedure (?), Michael, can you do 
> the header conversion?

Yes, I believe this is correct.

 -jean



RE: Header changes

Posted by "Gentry, Michael (Contractor)" <mi...@fanniemae.com>.
I'll start the header conversions.  Might take me a day or two, though.

Thanks,

/dev/mrg


-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Monday, July 17, 2006 11:56 PM
To: cayenne-dev@incubator.apache.org
Subject: Header changes



On Jul 17, 2006, at 11:27 PM, Jean T. Anderson wrote:

> 1) The license header changes are now solid and documented at [3]
> Putting these changes in place now rather than waiting for Sep 1 would
> make much sense.

> [3] http://www.apache.org/legal/src-headers.html

Agreed. The only license attached to the source files is ObjectStyle  
license, and Cayenne committers are the "party" that brought Cayenne  
to Apache. So is it safe to do this -

1. Put ObjectStyle License header in the NOTICE file.
2. Strip it from all source files.
3. Add Apache header to all source files.

If there are no objections to this procedure (?), Michael, can you do  
the header conversion?

Andrus



Header changes

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Jul 17, 2006, at 11:27 PM, Jean T. Anderson wrote:

> 1) The license header changes are now solid and documented at [3]
> Putting these changes in place now rather than waiting for Sep 1 would
> make much sense.

> [3] http://www.apache.org/legal/src-headers.html

Agreed. The only license attached to the source files is ObjectStyle  
license, and Cayenne committers are the "party" that brought Cayenne  
to Apache. So is it safe to do this -

1. Put ObjectStyle License header in the NOTICE file.
2. Strip it from all source files.
3. Add Apache header to all source files.

If there are no objections to this procedure (?), Michael, can you do  
the header conversion?

Andrus



Re: Conversion done!

Posted by "Jean T. Anderson" <jt...@bristowhill.com>.
Andrus Adamchik wrote:
...
> What's next...
> 
> I guess now we need to start getting into the Apache release  procedure.
> The docs [1] are still work in progress, so an advice from  our mentors
> is very much appreciated. I'll do some research on my own  as well
> (probably just look at other incubating projects). If I  understand
> correctly, with all the proper disclaimers we can make a  2.0 release
> from the incubator before the CLA situation is addressed  100% (it is

I think you need to ask general@i.a.o. IP won't prevent a project from
entering incubation, committing code to subversion, and developing code,
but it will block graduation. Releasing .... best to ask.

> now at ~80%), and before Windows build LGPL dependency  [2] is resolved?

IIRC an LGPL dependency prevented Roller from releasing an incubator
release, but we could check the archives to be sure.

> [1] http://incubator.apache.org/guides/releasemanagement.html
> [2] http://issues.apache.org/cayenne/browse/CAY-493

ok [1] is in pretty new shape ... so we'll wing it and use it as an
opportunity to fill in those docs.

Here are my random thoughts to get started....

1) The license header changes are now solid and documented at [3]
Putting these changes in place now rather than waiting for Sep 1 would
make much sense.

2) The distribution must contain
   - a NOTICE file ( a pointer to the httpd example is in [3])
   - a LICENSE file (httpd is a good example)
   - the incubator disclaimer in a README or clearly in docs

3) the filename containing the distribution must include "incubating" in
the name

recent general@i.a.o posts with foibles:
http://tinyurl.com/p5lf3
http://tinyurl.com/qyrb4
http://tinyurl.com/s8phn

4) Once you have a distribution ready to release, [4] describes the vote
process -- and it's current.

 -jean

[3] http://www.apache.org/legal/src-headers.html
[4] http://incubator.apache.org/incubation/Incubation_Policy.html#Releases

Conversion done!

Posted by Andrus Adamchik <an...@objectstyle.org>.
I just finished project upgrade code. I hate the way the upgrade  
pipeline is implemented (by me)... maybe someday when we have to  
handle more different versions at once, somebody will rewrite it. :-)  
The bottom line - it works, and all the unit tests pass successfully,  
including the new ones that test the upgrade procedure.

If anybody has time to do this, could you please start the new  
Modeler (build it from HEAD or wait for the nightly build - it should  
go through tomorrow morning) and try an upgrade of your existing  
project. If you see any errors or inconsistencies, please let me know.


What's next...

I guess now we need to start getting into the Apache release  
procedure. The docs [1] are still work in progress, so an advice from  
our mentors is very much appreciated. I'll do some research on my own  
as well (probably just look at other incubating projects). If I  
understand correctly, with all the proper disclaimers we can make a  
2.0 release from the incubator before the CLA situation is addressed  
100% (it is now at ~80%), and before Windows build LGPL dependency  
[2] is resolved?

[1] http://incubator.apache.org/guides/releasemanagement.html
[2] http://issues.apache.org/cayenne/browse/CAY-493

Andrus




On Jul 17, 2006, at 12:21 PM, Gentry, Michael ((Contractor)) wrote:

> PS. I can build now and almost all unit tests are running for me.
>
>
>
> -----Original Message-----
> From: Gentry, Michael (Contractor)  
> [mailto:michael_gentry@fanniemae.com]
>
> Sent: Monday, July 17, 2006 9:56 AM
> To: cayenne-dev@incubator.apache.org
> Subject: RE: Stable branch is created, any word on CLA's?
>
>
> I've found a few more I missed which I'm working on fixing.
>
>
>
>
> -----Original Message-----
> From: Gentry, Michael (Contractor)  
> [mailto:michael_gentry@fanniemae.com]
>
> Sent: Monday, July 17, 2006 9:36 AM
> To: cayenne-dev@incubator.apache.org
> Subject: RE: Stable branch is created, any word on CLA's?
>
>
> OK, I've changed these.  I'll try to get the build and tests working
> here, too.
>
> Thanks!
>
> /dev/mrg
>
>
> -----Original Message-----
> From: Andrus Adamchik [mailto:andrus@objectstyle.org]
> Sent: Sunday, July 16, 2006 10:40 PM
> To: cayenne-dev@incubator.apache.org
> Subject: Re: Stable branch is created, any word on CLA's?
>
>
> 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 <an...@objectstyle.org> 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
>>>>
>>>>
>>>
>>
>>
>
>


Re: Stable branch is created, any word on CLA's?

Posted by Andrus Adamchik <an...@objectstyle.org>.
Cool. A few remaining failing tests are related to project upgrade  
code I was working on (ApplicationProjectUpgradeTst is unfinished).  
I'll take a look at them tonight.

Andrus


On Jul 17, 2006, at 12:21 PM, Gentry, Michael ((Contractor)) wrote:

> PS. I can build now and almost all unit tests are running for me.
>
>
>
> -----Original Message-----
> From: Gentry, Michael (Contractor)  
> [mailto:michael_gentry@fanniemae.com]
>
> Sent: Monday, July 17, 2006 9:56 AM
> To: cayenne-dev@incubator.apache.org
> Subject: RE: Stable branch is created, any word on CLA's?
>
>
> I've found a few more I missed which I'm working on fixing.
>
>
>
>
> -----Original Message-----
> From: Gentry, Michael (Contractor)  
> [mailto:michael_gentry@fanniemae.com]
>
> Sent: Monday, July 17, 2006 9:36 AM
> To: cayenne-dev@incubator.apache.org
> Subject: RE: Stable branch is created, any word on CLA's?
>
>
> OK, I've changed these.  I'll try to get the build and tests working
> here, too.
>
> Thanks!
>
> /dev/mrg
>
>
> -----Original Message-----
> From: Andrus Adamchik [mailto:andrus@objectstyle.org]
> Sent: Sunday, July 16, 2006 10:40 PM
> To: cayenne-dev@incubator.apache.org
> Subject: Re: Stable branch is created, any word on CLA's?
>
>
> 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 <an...@objectstyle.org> 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
>>>>
>>>>
>>>
>>
>>
>
>


RE: Stable branch is created, any word on CLA's?

Posted by "Gentry, Michael (Contractor)" <mi...@fanniemae.com>.
PS. I can build now and almost all unit tests are running for me.



-----Original Message-----
From: Gentry, Michael (Contractor) [mailto:michael_gentry@fanniemae.com]

Sent: Monday, July 17, 2006 9:56 AM
To: cayenne-dev@incubator.apache.org
Subject: RE: Stable branch is created, any word on CLA's?


I've found a few more I missed which I'm working on fixing.




-----Original Message-----
From: Gentry, Michael (Contractor) [mailto:michael_gentry@fanniemae.com]

Sent: Monday, July 17, 2006 9:36 AM
To: cayenne-dev@incubator.apache.org
Subject: RE: Stable branch is created, any word on CLA's?


OK, I've changed these.  I'll try to get the build and tests working
here, too.

Thanks!

/dev/mrg


-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Sunday, July 16, 2006 10:40 PM
To: cayenne-dev@incubator.apache.org
Subject: Re: Stable branch is created, any word on CLA's?


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 <an...@objectstyle.org> 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
>>>
>>>
>>
>
>


RE: Stable branch is created, any word on CLA's?

Posted by "Gentry, Michael (Contractor)" <mi...@fanniemae.com>.
I think cayenne-java might be finished now (just fixed a bunch of XML
and supporting files).  I'm about to look at cayenne-other (haven't
really touched it yet).  I think cayenne-ant is close, except for the
maven stuff.

/dev/mrg


-----Original Message-----
From: Gentry, Michael (Contractor) [mailto:michael_gentry@fanniemae.com]

Sent: Monday, July 17, 2006 9:56 AM
To: cayenne-dev@incubator.apache.org
Subject: RE: Stable branch is created, any word on CLA's?


I've found a few more I missed which I'm working on fixing.




-----Original Message-----
From: Gentry, Michael (Contractor) [mailto:michael_gentry@fanniemae.com]

Sent: Monday, July 17, 2006 9:36 AM
To: cayenne-dev@incubator.apache.org
Subject: RE: Stable branch is created, any word on CLA's?


OK, I've changed these.  I'll try to get the build and tests working
here, too.

Thanks!

/dev/mrg


-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Sunday, July 16, 2006 10:40 PM
To: cayenne-dev@incubator.apache.org
Subject: Re: Stable branch is created, any word on CLA's?


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 <an...@objectstyle.org> 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
>>>
>>>
>>
>
>


RE: Stable branch is created, any word on CLA's?

Posted by "Gentry, Michael (Contractor)" <mi...@fanniemae.com>.
I've found a few more I missed which I'm working on fixing.




-----Original Message-----
From: Gentry, Michael (Contractor) [mailto:michael_gentry@fanniemae.com]

Sent: Monday, July 17, 2006 9:36 AM
To: cayenne-dev@incubator.apache.org
Subject: RE: Stable branch is created, any word on CLA's?


OK, I've changed these.  I'll try to get the build and tests working
here, too.

Thanks!

/dev/mrg


-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Sunday, July 16, 2006 10:40 PM
To: cayenne-dev@incubator.apache.org
Subject: Re: Stable branch is created, any word on CLA's?


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 <an...@objectstyle.org> 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
>>>
>>>
>>
>
>


RE: Stable branch is created, any word on CLA's?

Posted by "Gentry, Michael (Contractor)" <mi...@fanniemae.com>.
OK, I've changed these.  I'll try to get the build and tests working
here, too.

Thanks!

/dev/mrg


-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Sunday, July 16, 2006 10:40 PM
To: cayenne-dev@incubator.apache.org
Subject: Re: Stable branch is created, any word on CLA's?


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 <an...@objectstyle.org> 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
>>>
>>>
>>
>
>


Re: Stable branch is created, any word on CLA's?

Posted by Andrus Adamchik <an...@objectstyle.org>.
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 <an...@objectstyle.org> 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
>>>
>>>
>>
>
>


Re: Stable branch is created, any word on CLA's?

Posted by Andrus Adamchik <an...@objectstyle.org>.
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 <an...@objectstyle.org> 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
>>
>>
>


Re: Re: Stable branch is created, any word on CLA's?

Posted by Michael Gentry <bl...@gmail.com>.
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 <an...@objectstyle.org> 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
>
>

Re: Stable branch is created, any word on CLA's?

Posted by Andrus Adamchik <an...@objectstyle.org>.
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


Re: Stable branch is created, any word on CLA's?

Posted by Michael Gentry <bl...@gmail.com>.
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.  If it misses any, I'll handle those manually.  I
need to augment it or write another script to svn move it, too (that
might be simple enough to handle manually, too). I've checked nothing
in yet, though.  Probably won't until Sunday sometime.

This is going into the TRUNK, right?  (paranoid hat firmly in place) :-)

I'll wait on the headers, I suppose.  That was going to be the harder
process, but not too bad.  After everything is checked in, I can work
on that, too, and have it pre-staged and ready to go (hopefully).

Thanks,

/dev/mrg


On 7/14/06, Andrus Adamchik <an...@objectstyle.org> wrote:
> I just forked a stable branch.
>
> Michael,
>
> You can go ahead and convert the trunk to Apache package naming.
> We'll have to hold off with any header changes though. We have CLA's
> on file for:
>
> * Holger Hoffstätte
> * Michael Shengaout
> * Garry Watkins
> * Craig Miskell
>
> We don't for:
>
> * Andriy Shapochka (any classes that have Ashwood imports are his
> sole contribution; he did lots of other things in Cayenne, such as
> batch query code, but I am fairly sure that after the refactoring and
> rewriting of the last two years, I can safely claim copyright to all
> of this code).
> * Fabricio Voznika (Cayenne validation code)
> * Natalya Kholodnaya (DVModeler)
>
> Jim,
>
> all 3 of these folks (except for Natalya - I heard that she might
> have done it ... or not) have confirmed that they sent the CLA's
> (Fabricio did it twice). Could you doublecheck whether the ASF
> received them please?
>
> Finally, a list of other contributors that I just dug up in the
> sources. Most submissions were patches sent to a commiter or
> submitted via a bug tracker.
>
> * Dirk Olmes - Events package. All the submissions where done through
> Holger.
> * Travis Cripps - EOModel reverse engineering patches
> * Scott Finnerty - Configuration patches
> * Gary Jarrel - web app filter (I moved around/rewrote many parts of
> it, and it is fairly trivial)
> * Mario Linke - DB2 adapter patches)
> * Heiko Wenzel - FirebirdAdapter - trivial and actually broken
> * Anton Sakalouski - PDF docs. This is a support code used to convert
> the docs to PDF... We are not actually using it now with the switch
> to Confluence.
>
>
> So let's probably hold off any changes to the headers until we
> clarify the situation with the three CLA's above. But let's still do
> the package conversion, and if the header issue does not resolve
> itself in a week or so, we can put 2.0 on the branch, and open up the
> head for 3.0 check ins. And then go to the Incubator PMC to work on a
> resolution.
>
> How is that for a plan?
>
>
>
> Andrus
>
>
> On Jul 13, 2006, at 5:36 PM, Jean T. Anderson wrote:
> > Gentry, Michael (Contractor) wrote:
> >> +1 to Cayenne 1.2 Final.
> >>
> >> I'll have to warm up some macros to convert headers and package
> >> names to
> >> ASF.  Speaking of which, is there a header we should be using for
> >> 2.0?
> >
> > The ASF has a new policy for source file headers [1]. Final email
> > hasn't
> > been sent to committers@, but will be soon [2].
> >
> >  -jean
> >
> > [1]
> > http://mail-archives.apache.org/mod_mbox/www-legal-discuss/
> > 200606.mbox/%3c1551070F-EDE7-40DC-9C97-79BF24E9FD59@apache.org%3e
> > or
> > http://tinyurl.com/k5rs9
> >
> > [2]
> > http://mail-archives.apache.org/mod_mbox/www-legal-discuss/
> > 200607.mbox/%
> > 3cc5e632550607111955g640c8053ld092df554cea34ee@mail.gmail.com%3e
> > or
> > http://tinyurl.com/z9rob
> >
> >> Also, for package names, will org.objectstyle be replaced with
> >> org.apache?  (No other designation.)
> >>
> >> Thanks!
> >>
> >> /dev/mrg
>
>

Stable branch is created, any word on CLA's?

Posted by Andrus Adamchik <an...@objectstyle.org>.
I just forked a stable branch.

Michael,

You can go ahead and convert the trunk to Apache package naming.  
We'll have to hold off with any header changes though. We have CLA's  
on file for:

* Holger Hoffstätte
* Michael Shengaout
* Garry Watkins
* Craig Miskell

We don't for:

* Andriy Shapochka (any classes that have Ashwood imports are his  
sole contribution; he did lots of other things in Cayenne, such as  
batch query code, but I am fairly sure that after the refactoring and  
rewriting of the last two years, I can safely claim copyright to all  
of this code).
* Fabricio Voznika (Cayenne validation code)
* Natalya Kholodnaya (DVModeler)

Jim,

all 3 of these folks (except for Natalya - I heard that she might  
have done it ... or not) have confirmed that they sent the CLA's  
(Fabricio did it twice). Could you doublecheck whether the ASF  
received them please?

Finally, a list of other contributors that I just dug up in the  
sources. Most submissions were patches sent to a commiter or  
submitted via a bug tracker.

* Dirk Olmes - Events package. All the submissions where done through  
Holger.
* Travis Cripps - EOModel reverse engineering patches
* Scott Finnerty - Configuration patches
* Gary Jarrel - web app filter (I moved around/rewrote many parts of  
it, and it is fairly trivial)
* Mario Linke - DB2 adapter patches)
* Heiko Wenzel - FirebirdAdapter - trivial and actually broken
* Anton Sakalouski - PDF docs. This is a support code used to convert  
the docs to PDF... We are not actually using it now with the switch  
to Confluence.


So let's probably hold off any changes to the headers until we  
clarify the situation with the three CLA's above. But let's still do  
the package conversion, and if the header issue does not resolve  
itself in a week or so, we can put 2.0 on the branch, and open up the  
head for 3.0 check ins. And then go to the Incubator PMC to work on a  
resolution.

How is that for a plan?



Andrus


On Jul 13, 2006, at 5:36 PM, Jean T. Anderson wrote:
> Gentry, Michael (Contractor) wrote:
>> +1 to Cayenne 1.2 Final.
>>
>> I'll have to warm up some macros to convert headers and package  
>> names to
>> ASF.  Speaking of which, is there a header we should be using for  
>> 2.0?
>
> The ASF has a new policy for source file headers [1]. Final email  
> hasn't
> been sent to committers@, but will be soon [2].
>
>  -jean
>
> [1]
> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/ 
> 200606.mbox/%3c1551070F-EDE7-40DC-9C97-79BF24E9FD59@apache.org%3e
> or
> http://tinyurl.com/k5rs9
>
> [2]
> http://mail-archives.apache.org/mod_mbox/www-legal-discuss/ 
> 200607.mbox/% 
> 3cc5e632550607111955g640c8053ld092df554cea34ee@mail.gmail.com%3e
> or
> http://tinyurl.com/z9rob
>
>> Also, for package names, will org.objectstyle be replaced with
>> org.apache?  (No other designation.)
>>
>> Thanks!
>>
>> /dev/mrg


Re: "Can't build a query for temporary id" after upgrade from 1.2B2 to 1.2RC2

Posted by "Jean T. Anderson" <jt...@bristowhill.com>.
Gentry, Michael (Contractor) wrote:
> +1 to Cayenne 1.2 Final.
> 
> I'll have to warm up some macros to convert headers and package names to
> ASF.  Speaking of which, is there a header we should be using for 2.0?

The ASF has a new policy for source file headers [1]. Final email hasn't
been sent to committers@, but will be soon [2].

 -jean

[1]
http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200606.mbox/%3c1551070F-EDE7-40DC-9C97-79BF24E9FD59@apache.org%3e
or
http://tinyurl.com/k5rs9

[2]
http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200607.mbox/%3cc5e632550607111955g640c8053ld092df554cea34ee@mail.gmail.com%3e
or
http://tinyurl.com/z9rob

> Also, for package names, will org.objectstyle be replaced with
> org.apache?  (No other designation.)
> 
> Thanks!
> 
> /dev/mrg
> 
> 
> 
> -----Original Message-----
> From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
> Sent: Thursday, July 13, 2006 2:47 PM
> To: cayenne-dev@incubator.apache.org
> Subject: Re: "Can't build a query for temporary id" after upgrade from
> 1.2B2 to 1.2RC2
> 
> 
> Ok, so be it. Let's schedule the release for this Sunday. I'd  
> appreciate if people could grab an SVN version or a nightly build  
> from today and do some regression testing. But otherwise I think we  
> are in a good shape.
> 
> Andrus
> 
> 
> On Jul 13, 2006, at 2:35 PM, Mike Kienenberger wrote:
> 
> 
>>On 7/11/06, Andrus Adamchik <an...@objectstyle.org> wrote:
>>
>>>Looks like we were able to address Michael G.'s issue (CAY-595). Now
>>>this one is the only one that remains. Mike (K.), let me know if you
>>>need my help working on this - let's get it out! :-)
>>
>>If I'm the only holdup, you should go ahead and release.
>>It's possible that my issue is application-related, and not a  
>>cayenne bug.
>>
>>Unfortunately, I'm so swamped with work right now that I don't have
>>time to try to track it down.
>>
> 
> 


RE: "Can't build a query for temporary id" after upgrade from 1.2B2 to 1.2RC2

Posted by "Gentry, Michael (Contractor)" <mi...@fanniemae.com>.
+1 to Cayenne 1.2 Final.

I'll have to warm up some macros to convert headers and package names to
ASF.  Speaking of which, is there a header we should be using for 2.0?
Also, for package names, will org.objectstyle be replaced with
org.apache?  (No other designation.)

Thanks!

/dev/mrg



-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Thursday, July 13, 2006 2:47 PM
To: cayenne-dev@incubator.apache.org
Subject: Re: "Can't build a query for temporary id" after upgrade from
1.2B2 to 1.2RC2


Ok, so be it. Let's schedule the release for this Sunday. I'd  
appreciate if people could grab an SVN version or a nightly build  
from today and do some regression testing. But otherwise I think we  
are in a good shape.

Andrus


On Jul 13, 2006, at 2:35 PM, Mike Kienenberger wrote:

> On 7/11/06, Andrus Adamchik <an...@objectstyle.org> wrote:
>> Looks like we were able to address Michael G.'s issue (CAY-595). Now
>> this one is the only one that remains. Mike (K.), let me know if you
>> need my help working on this - let's get it out! :-)
>
> If I'm the only holdup, you should go ahead and release.
> It's possible that my issue is application-related, and not a  
> cayenne bug.
>
> Unfortunately, I'm so swamped with work right now that I don't have
> time to try to track it down.
>


Re: "Can't build a query for temporary id" after upgrade from 1.2B2 to 1.2RC2

Posted by Andrus Adamchik <an...@objectstyle.org>.
Ok, so be it. Let's schedule the release for this Sunday. I'd  
appreciate if people could grab an SVN version or a nightly build  
from today and do some regression testing. But otherwise I think we  
are in a good shape.

Andrus


On Jul 13, 2006, at 2:35 PM, Mike Kienenberger wrote:

> On 7/11/06, Andrus Adamchik <an...@objectstyle.org> wrote:
>> Looks like we were able to address Michael G.'s issue (CAY-595). Now
>> this one is the only one that remains. Mike (K.), let me know if you
>> need my help working on this - let's get it out! :-)
>
> If I'm the only holdup, you should go ahead and release.
> It's possible that my issue is application-related, and not a  
> cayenne bug.
>
> Unfortunately, I'm so swamped with work right now that I don't have
> time to try to track it down.
>


Re: "Can't build a query for temporary id" after upgrade from 1.2B2 to 1.2RC2

Posted by Mike Kienenberger <mk...@gmail.com>.
On 7/11/06, Andrus Adamchik <an...@objectstyle.org> wrote:
> Looks like we were able to address Michael G.'s issue (CAY-595). Now
> this one is the only one that remains. Mike (K.), let me know if you
> need my help working on this - let's get it out! :-)

If I'm the only holdup, you should go ahead and release.
It's possible that my issue is application-related, and not a cayenne bug.

Unfortunately, I'm so swamped with work right now that I don't have
time to try to track it down.

RE: "Can't build a query for temporary id" after upgrade from 1.2B2 to 1.2RC2

Posted by "Gentry, Michael (Contractor)" <mi...@fanniemae.com>.
I was close to finding the issue ...  I was in the right part of the
code, but you obviously understand the object graph stuff way better
than I do.

Thanks!

/dev/mrg



-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Tuesday, July 11, 2006 5:03 PM
To: cayenne-dev@incubator.apache.org
Subject: Re: "Can't build a query for temporary id" after upgrade from
1.2B2 to 1.2RC2


Looks like we were able to address Michael G.'s issue (CAY-595). Now  
this one is the only one that remains. Mike (K.), let me know if you  
need my help working on this - let's get it out! :-)

Andrus

On Jul 5, 2006, at 6:01 PM, Mike Kienenberger wrote:

> For what it's worth, the change in behavior happened between B2 and
> B3.  Versions B3, RC1, and RC2 all generate the same error.
>
> The only thing in the release notes for B3 that looks relevent is
>
> CAY-542	Re-registered objects lose their relationships
>
> I'm guessing that the new recursive algorithm is somehow interfering
> with my own graph-chunk registration methods.
>
>
> On 7/5/06, Mike Kienenberger <mk...@gmail.com> wrote:
>> Well, I've been unable to track down exactly how this is happening.
>> Somehow, when my objects are unserialized and reattached to their
>> datacontexts on the following request, some of them are being changed
>> from NEW to HOLLOW in calls to localObjects().    Under B2, the
>> objects never get attached via localObjects (localObjects isn't
>> called) but they do with RC2.
>>
>> I've spent a couple hours on this now, so I guess I'll just stick  
>> with
>> B2 for the time being.
>>
>> I wish I could figure out where RC2 causes the logic to work
>> differently, but I can't think of any easy way to determine this.
>>
>> On 7/5/06, Mike Kienenberger <mk...@gmail.com> wrote:
>> > Well, stepping through it in the debugger shows the state of the
>> > object as new at this point with B2 but hollow with RC2.   Guess I
>> > need to track down what caused the persistent state change.
>> >
>> >
>> > On 7/5/06, Andrus Adamchik <an...@objectstyle.org> wrote:
>> > > Looks like you have a HOLLOW object with a temporary ID?  
>> Strange...
>> > >
>> > > Andrus
>> > >
>> > >
>> > > On Jul 5, 2006, at 3:20 PM, Mike Kienenberger wrote:
>> > >
>> > > > I'm not entirely certain what's changed between 1.2B2 and  
>> 1.2RC2, but
>> > > > I'm now getting this error when I upgrade.
>> > > >
>> > > > This is reading a property a newly-created data object.
>> > > >
>> > > > CayenneDataObject.readProperty returned null in B2 rather than
>> > > > throwing an exception.
>> > > >
>> > > >
>> > > > Caused by: org.objectstyle.cayenne.CayenneRuntimeException:  
>> [v.1.2RC2
>> > > > June 23 2006] Can't build a query for temporary id:
>> > > > <ObjectId:EasementDocument, TEMP:0000000F51E40161>
>> > > >       at
>> > > >  
>> org.objectstyle.cayenne.query.ObjectIdQuery.createReplacementQuery
>> > > > (ObjectIdQuery.java:151)
>> > > >       at  
>> org.objectstyle.cayenne.query.IndirectQuery.getReplacementQuery
>> > > > (IndirectQuery.java:111)
>> > > >       at org.objectstyle.cayenne.query.IndirectQuery.route
>> > > > (IndirectQuery.java:94)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.runQuery
>> > > > (DataDomainQueryAction.java:346)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.access$000
>> > > > (DataDomainQueryAction.java:96)
>> > > >       at org.objectstyle.cayenne.access.DataDomainQueryAction 
>> $1.transform
>> > > > (DataDomainQueryAction.java:327)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomain.runInTransaction
>> > > > (DataDomain.java:856)
>> > > >       at
>> > > >  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.runQueryInTransa

>> c
>> > > > tion(DataDomainQueryAction.java:324)
>> > > >       at
>> > > >  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.interceptOIDQuer

>> y
>> > > > (DataDomainQueryAction.java:172)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataDomainQueryAction.execute
>> > > > (DataDomainQueryAction.java:142)
>> > > >       at org.objectstyle.cayenne.access.DataDomain.onQuery
>> > > > (DataDomain.java:766)
>> > > >       at  
>> org.objectstyle.cayenne.access.ObjectStore.resolveHollow
>> > > > (ObjectStore.java:945)
>> > > >       at  
>> org.objectstyle.cayenne.access.DataContext.prepareForAccess
>> > > > (DataContext.java:1842)
>> > > >       at org.objectstyle.cayenne.CayenneDataObject.readProperty
>> > > > (CayenneDataObject.java:238)
>> > > >       at
>> > > >  
>> com.gvea.eng_work_mgmt.entity.cayenne.generated._EasementDocumentImpl

>> .
>> > > > getEasementType(_EasementDocumentImpl.java:309)
>> > > >       ... 72 more
>> > > >
>> > >
>> > >
>> >
>>
>