[exo-jcr-commits] exo-jcr SVN: r4404 - in jcr/branches/1.12.x/patch/1.12.9-GA: JCR-1632 and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon May 23 04:47:38 EDT 2011
Author: tolusha
Date: 2011-05-23 04:47:38 -0400 (Mon, 23 May 2011)
New Revision: 4404
Added:
jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1632/
jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1632/JCR-1632.patch
Log:
JCR-1632: patch proposed
Added: jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1632/JCR-1632.patch
===================================================================
--- jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1632/JCR-1632.patch (rev 0)
+++ jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1632/JCR-1632.patch 2011-05-23 08:47:38 UTC (rev 4404)
@@ -0,0 +1,76 @@
+Index: exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/util/TesterConfigurationHelper.java
+===================================================================
+--- exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/util/TesterConfigurationHelper.java (revision 4403)
++++ exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/util/TesterConfigurationHelper.java (working copy)
+@@ -187,7 +187,7 @@
+
+ // Indexer
+ ArrayList qParams = new ArrayList();
+- qParams.add(new SimpleParameterEntry("indexDir", "../temp/index/" + IdGenerator.generate()));
++ qParams.add(new SimpleParameterEntry("indexDir", "target/temp/index/" + IdGenerator.generate()));
+ QueryHandlerEntry qEntry =
+ new QueryHandlerEntry("org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex", qParams);
+
+@@ -211,7 +211,7 @@
+ LockPersisterEntry persisterEntry = new LockPersisterEntry();
+ persisterEntry.setType("org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister");
+ ArrayList lpParams = new ArrayList();
+- lpParams.add(new SimpleParameterEntry("path", "../temp/lock"));
++ lpParams.add(new SimpleParameterEntry("path", "target/temp/lock"));
+ persisterEntry.setParameters(lpParams);
+ lockManagerEntry.setPersister(persisterEntry);
+ workspaceEntry.setLockManager(lockManagerEntry);
+Index: exo.jcr.component.core/src/test/resources/log4j.properties
+===================================================================
+--- exo.jcr.component.core/src/test/resources/log4j.properties (revision 4403)
++++ exo.jcr.component.core/src/test/resources/log4j.properties (working copy)
+@@ -17,8 +17,7 @@
+
+ # 'file' is set to be a FileAppender.
+ log4j.appender.file=org.apache.log4j.FileAppender
+-#log4j.appender.file.File=jcr.log
+-log4j.appender.file.File=nul
++log4j.appender.file.File=target/jcr.log
+
+ # 'file' uses PatternLayout.
+ log4j.appender.file.layout=org.apache.log4j.PatternLayout
+Index: exo.jcr.component.core/pom.xml
+===================================================================
+--- exo.jcr.component.core/pom.xml (revision 4403)
++++ exo.jcr.component.core/pom.xml (working copy)
+@@ -364,7 +364,7 @@
+ <overWrite>false</overWrite>
+ </artifactItem>
+ </artifactItems>
+- <outputDirectory>${project.build.testSourceDirectory}</outputDirectory>
++ <outputDirectory>${project.build.directory}/jackrabbit-jcr-tests</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+@@ -373,7 +373,7 @@
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+- <argLine>${env.MAVEN_OPTS}</argLine>
++ <argLine>${env.MAVEN_OPTS} -Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=${project.build.directory}</argLine>
+ <systemProperties>
+ <property>
+ <name>jcr.test.configuration.file</name>
+@@ -558,7 +558,7 @@
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- TAKE CARE TO UPDATE ALSO run-all PROFILE -->
+- <argLine>${env.MAVEN_OPTS}</argLine>
++ <argLine>${env.MAVEN_OPTS} -Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=${project.build.directory}</argLine>
+ <systemProperties>
+ <property>
+ <name>jcr.test.configuration.file</name>
+@@ -645,7 +645,7 @@
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- TAKE CARE TO UPDATE ALSO run-tck PROFILE -->
+- <argLine>${env.MAVEN_OPTS}</argLine>
++ <argLine>${env.MAVEN_OPTS} -Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=${project.build.directory}</argLine>
+ <systemProperties>
+ <property>
+ <name>jcr.test.configuration.file</name>
More information about the exo-jcr-commits
mailing list