[jboss-cvs] JBoss Messaging SVN: r6947 - in trunk: src/config/common/schema and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 20 16:29:18 EDT 2009


Author: timfox
Date: 2009-05-20 16:29:18 -0400 (Wed, 20 May 2009)
New Revision: 6947

Modified:
   trunk/.classpath
   trunk/src/config/common/schema/jbm-jms.xsd
   trunk/src/main/org/jboss/messaging/utils/XMLUtil.java
Log:
fixed build and eclipse classpath

Modified: trunk/.classpath
===================================================================
--- trunk/.classpath	2009-05-20 17:43:59 UTC (rev 6946)
+++ trunk/.classpath	2009-05-20 20:29:18 UTC (rev 6947)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry excluding="**/.svn/**/*" kind="src" path="src/main"/>
+	<classpathentry kind="src" path="src/config/common"/>
 	<classpathentry kind="src" path="build/src"/>
-	<classpathentry excluding="schema/" kind="src" path="src/config/common"/>
 	<classpathentry kind="src" path="tests/jms-tests/config"/>
 	<classpathentry kind="src" path="tests/config"/>
 	<classpathentry kind="src" path="src/config/stand-alone/non-clustered"/>

Modified: trunk/src/config/common/schema/jbm-jms.xsd
===================================================================
--- trunk/src/config/common/schema/jbm-jms.xsd	2009-05-20 17:43:59 UTC (rev 6946)
+++ trunk/src/config/common/schema/jbm-jms.xsd	2009-05-20 20:29:18 UTC (rev 6947)
@@ -102,7 +102,7 @@
             <xsd:element name="failover-on-server-shutdown" type="xsd:boolean"
                 maxOccurs="1" minOccurs="0">
             </xsd:element>
-            <xsd:element name="load-balancing-policy-class-name" type="xsd:string"
+            <xsd:element name="connection-load-balancing-policy-class-name" type="xsd:string"
                 maxOccurs="1" minOccurs="0">
             </xsd:element> 
             <xsd:element name="use-global-pools" type="xsd:boolean"

Modified: trunk/src/main/org/jboss/messaging/utils/XMLUtil.java
===================================================================
--- trunk/src/main/org/jboss/messaging/utils/XMLUtil.java	2009-05-20 17:43:59 UTC (rev 6946)
+++ trunk/src/main/org/jboss/messaging/utils/XMLUtil.java	2009-05-20 20:29:18 UTC (rev 6947)
@@ -497,6 +497,8 @@
    {
       SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
       
+      log.info("schema file is " + schemaFile);
+      
       Schema schema = factory.newSchema(Thread.currentThread().getContextClassLoader().getResource(schemaFile));
       Validator validator = schema.newValidator();
 




More information about the jboss-cvs-commits mailing list