You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Marcel (JIRA)" <ji...@apache.org> on 2006/08/07 15:39:49 UTC

[JIRA] Created: (CAY-622) rop-browser update

rop-browser update
------------------

         Key: CAY-622
         URL: http://issues.apache.org/cayenne/browse/CAY-622
     Project: Cayenne
        Type: Improvement

    Versions: SUMMER OF CODE 2006    
    Reporter: Marcel


XMPP functioning (finally!)

migrated to Derby

myriad small bug fixes

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: Derby [Was: [JIRA] Created: (CAY-622) rop-browser update]

Posted by Marcel <em...@gmail.com>.

>
>> One solution is to revert the database directory each time before 
>> committing. Since the server project doesn't get committed very 
>> often, that is not a big deal.
>
> This is actually exactly what I was trying to avoid :-)
>
> Andrus
>
I see. I don't see it as a big problem - I think it is more important 
that the example works straight out of the box, so to speak. We could 
keep a backup of the database in the repository as well, in case the 
original gets written over.

Marcel

Re: Derby [Was: [JIRA] Created: (CAY-622) rop-browser update]

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Aug 8, 2006, at 9:26 PM, Marcel wrote:

> One solution is to revert the database directory each time before  
> committing. Since the server project doesn't get committed very  
> often, that is not a big deal.

This is actually exactly what I was trying to avoid :-)

Andrus


Re: Derby [Was: [JIRA] Created: (CAY-622) rop-browser update]

Posted by Marcel <em...@gmail.com>.
I ran across that problem soon after the initial submission. The second 
submission of the database (renamed to ropbrowserdb) doesn't include the 
tmp directory as it causes all sorts of grief with svn.

One solution is to revert the database directory each time before 
committing. Since the server project doesn't get committed very often, 
that is not a big deal. Anyone who downloads it as an example is not 
going to be committing it back.

Marcel

Andrus Adamchik wrote:
> Marcel,
>
> I had another thought regarding the Derby DB inclusion in the project 
> - if we commit the DB to Subversion, and then run it locally from the 
> same directory, any changes made in the database during testing will 
> affect the SVN work directory.
>
> So we must somehow only keep the base Derby database in the 
> distribution. So we may either copy it into the "run" directory 
> outside SVN, or generate it with Cayenne on startup, kind of like we 
> do in cayenne-petstore example:
>
> http://svn.apache.org/repos/asf/incubator/cayenne/examples/trunk/cayenne-petstore/ 
>
>
> Any other ideas that address this problem are welcomed.
>
> Andrus
>
>
> On Aug 7, 2006, at 9:39 AM, Marcel (JIRA) wrote:
>
>> rop-browser update
>> ------------------
>>
>>          Key: CAY-622
>>          URL: http://issues.apache.org/cayenne/browse/CAY-622
>>      Project: Cayenne
>>         Type: Improvement
>>
>>     Versions: SUMMER OF CODE 2006
>>     Reporter: Marcel
>>
>>
>> XMPP functioning (finally!)
>>
>> migrated to Derby
>>
>> myriad small bug fixes
>>
>> --This message is automatically generated by JIRA.
>> -
>> If you think it was sent incorrectly contact one of the administrators:
>>    http://issues.apache.org/cayenne/secure/Administrators.jspa
>> -
>> For more information on JIRA, see:
>>    http://www.atlassian.com/software/jira
>>
>>
>
>

Derby [Was: [JIRA] Created: (CAY-622) rop-browser update]

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

I had another thought regarding the Derby DB inclusion in the project  
- if we commit the DB to Subversion, and then run it locally from the  
same directory, any changes made in the database during testing will  
affect the SVN work directory.

So we must somehow only keep the base Derby database in the  
distribution. So we may either copy it into the "run" directory  
outside SVN, or generate it with Cayenne on startup, kind of like we  
do in cayenne-petstore example:

http://svn.apache.org/repos/asf/incubator/cayenne/examples/trunk/ 
cayenne-petstore/

Any other ideas that address this problem are welcomed.

Andrus


On Aug 7, 2006, at 9:39 AM, Marcel (JIRA) wrote:

> rop-browser update
> ------------------
>
>          Key: CAY-622
>          URL: http://issues.apache.org/cayenne/browse/CAY-622
>      Project: Cayenne
>         Type: Improvement
>
>     Versions: SUMMER OF CODE 2006
>     Reporter: Marcel
>
>
> XMPP functioning (finally!)
>
> migrated to Derby
>
> myriad small bug fixes
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the  
> administrators:
>    http://issues.apache.org/cayenne/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>