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