[jboss-cvs] JBoss Messaging SVN: r5202 - in branches/Branch_Chunk_CRS2: src/main/org/jboss/messaging/core/persistence/impl/journal and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 29 10:56:24 EDT 2008


Author: clebert.suconic at jboss.com
Date: 2008-10-29 10:56:24 -0400 (Wed, 29 Oct 2008)
New Revision: 5202

Modified:
   branches/Branch_Chunk_CRS2/.classpath
   branches/Branch_Chunk_CRS2/src/main/org/jboss/messaging/core/persistence/impl/journal/JournalStorageManager.java
Log:
Fixing tests

Modified: branches/Branch_Chunk_CRS2/.classpath
===================================================================
--- branches/Branch_Chunk_CRS2/.classpath	2008-10-29 11:33:35 UTC (rev 5201)
+++ branches/Branch_Chunk_CRS2/.classpath	2008-10-29 14:56:24 UTC (rev 5202)
@@ -11,7 +11,11 @@
 			<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="trunk/native/bin"/>
 		</attributes>
 	</classpathentry>
-	<classpathentry kind="src" path="tests/jms-tests/src"/>
+	<classpathentry kind="src" path="tests/jms-tests/src">
+		<attributes>
+			<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="ChunkWork/native/bin"/>
+		</attributes>
+	</classpathentry>
 	<classpathentry kind="lib" path="thirdparty/oswego-concurrent/lib/concurrent.jar"/>
 	<classpathentry kind="lib" path="thirdparty/jgroups/lib/jgroups.jar"/>
 	<classpathentry kind="lib" path="thirdparty/apache-log4j/lib/log4j.jar"/>

Modified: branches/Branch_Chunk_CRS2/src/main/org/jboss/messaging/core/persistence/impl/journal/JournalStorageManager.java
===================================================================
--- branches/Branch_Chunk_CRS2/src/main/org/jboss/messaging/core/persistence/impl/journal/JournalStorageManager.java	2008-10-29 11:33:35 UTC (rev 5201)
+++ branches/Branch_Chunk_CRS2/src/main/org/jboss/messaging/core/persistence/impl/journal/JournalStorageManager.java	2008-10-29 14:56:24 UTC (rev 5202)
@@ -166,7 +166,7 @@
          throw new NullPointerException("journal-dir is null");
       }
 
-      checkAndCreateDir(journalDir, config.isCreateBindingsDir());
+      checkAndCreateDir(journalDir, config.isCreateJournalDir());
 
       SequentialFileFactory journalFF = null;
 
@@ -205,6 +205,10 @@
                                        "jbm",
                                        config.getJournalMaxAIO(),
                                        config.getJournalBufferReuseSize());
+      
+      String largeMessagesDirectory = config.getLargeMessagesDirectory();
+      
+      checkAndCreateDir(largeMessagesDirectory, config.isCreateJournalDir());
 
       largeMessagesFactory = new NIOSequentialFileFactory(config.getLargeMessagesDirectory());
    }




More information about the jboss-cvs-commits mailing list