You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2005/11/02 16:46:45 UTC

svn commit: r330273 - /incubator/jackrabbit/trunk/project.properties

Author: mreutegg
Date: Wed Nov  2 07:46:41 2005
New Revision: 330273

URL: http://svn.apache.org/viewcvs?rev=330273&view=rev
Log:
Run derby in test mode. Test cases run way faster with this setting. However consistency is not guaranteed anymore! See: http://db.apache.org/derby/docs/10.1/tuning/rtunproperdurability.html

Modified:
    incubator/jackrabbit/trunk/project.properties

Modified: incubator/jackrabbit/trunk/project.properties
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/project.properties?rev=330273&r1=330272&r2=330273&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/project.properties (original)
+++ incubator/jackrabbit/trunk/project.properties Wed Nov  2 07:46:41 2005
@@ -29,6 +29,8 @@
 #maven.junit.sysproperties=org.xml.sax.driver java.security.auth.login.config
 maven.junit.sysproperties=org.xml.sax.driver
 org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
+maven.junit.sysproperties=derby.system.durability
+derby.system.durability=test
 #java.security.auth.login.config=applications/test/jaas.config
 maven.junit.jvmargs=-Xmx128m
 



Re: svn commit: r330273 - /incubator/jackrabbit/trunk/project.properties

Posted by Marcel Reutegger <ma...@gmx.net>.
first, I also wanted to add the property to the file you created, but 
then realized that it might seduce people to use that setting in a real 
environment. which is certainly not recommended.

I think we should keep the derby.properties with the 
derby.storage.fileSyncTransactionLog=true entry because this is not just 
about test runs, but will most probably go into a release.

regards
  marcel


Roy T. Fielding wrote:
>> --- incubator/jackrabbit/trunk/project.properties (original)
>> +++ incubator/jackrabbit/trunk/project.properties Wed Nov  2 07:46:41 
>> 2005
>> @@ -29,6 +29,8 @@
>>  #maven.junit.sysproperties=org.xml.sax.driver 
>> java.security.auth.login.config
>>  maven.junit.sysproperties=org.xml.sax.driver
>>  org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
>> +maven.junit.sysproperties=derby.system.durability
>> +derby.system.durability=test
>>  #java.security.auth.login.config=applications/test/jaas.config
>>  maven.junit.jvmargs=-Xmx128m
> 
> 
> Ooh, I didn't know we could set Derby properties in there.
> I just committed a derby.properties file to add a property.
> Which place is better?
> 
> ....Roy
> 

Re: svn commit: r330273 - /incubator/jackrabbit/trunk/project.properties

Posted by "Roy T. Fielding" <fi...@gbiv.com>.
> --- incubator/jackrabbit/trunk/project.properties (original)
> +++ incubator/jackrabbit/trunk/project.properties Wed Nov  2 07:46:41 
> 2005
> @@ -29,6 +29,8 @@
>  #maven.junit.sysproperties=org.xml.sax.driver 
> java.security.auth.login.config
>  maven.junit.sysproperties=org.xml.sax.driver
>  org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
> +maven.junit.sysproperties=derby.system.durability
> +derby.system.durability=test
>  #java.security.auth.login.config=applications/test/jaas.config
>  maven.junit.jvmargs=-Xmx128m

Ooh, I didn't know we could set Derby properties in there.
I just committed a derby.properties file to add a property.
Which place is better?

....Roy