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

From: Marcel (emmpeege..mail.com)
Date: Tue Aug 08 2006 - 21:26:53 EDT

  • Next message: Andrus Adamchik: "Re: Derby [Was: [JIRA] Created: (CAY-622) rop-browser update]"

    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
    >>
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Aug 08 2006 - 21:27:28 EDT