[jboss-svn-commits] JBL Code SVN: r24282 - in labs/jbossrules/trunk: drools-compiler/src/test/resources/org/drools/xml/rules and 3 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Dec 7 16:59:38 EST 2008
Author: mark.proctor at jboss.com
Date: 2008-12-07 16:59:37 -0500 (Sun, 07 Dec 2008)
New Revision: 24282
Modified:
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlDumper.java
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseAccumulate.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseCollect.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseComplex.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseExists.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseForall.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFrom.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFunction.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseGlobal.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseImport.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseLhs.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParsePackageName.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseQuery.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRhs.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRule.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_RoundTrip.xml
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/io/impl/ResourceChangeNotifierImpl.java
labs/jbossrules/trunk/drools-guvnor/src/test/resources/org/drools/guvnor/server/builder/ruleflow.rf
labs/jbossrules/trunk/drools-guvnor/src/test/resources/ruleflow.rfm
Log:
-updated more XML files to refernece drools-5.0 intead of drools4.0
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlDumper.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlDumper.java 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlDumper.java 2008-12-07 21:59:37 UTC (rev 24282)
@@ -222,7 +222,7 @@
public void visitPackageDescr(final PackageDescr packageDescr) {
final String packageName = packageDescr.getName();
final String xmlString = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> " + XmlDumper.eol + " <package name=\"" + packageName + "\" " + XmlDumper.eol + "\txmlns=\"http://drools.org/drools-5.0\" " + XmlDumper.eol
- + "\txmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\" " + XmlDumper.eol + "\txs:schemaLocation=\"http://drools.org/drools-5.0 drools-4.0.xsd\"> " + XmlDumper.eol;
+ + "\txmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\" " + XmlDumper.eol + "\txs:schemaLocation=\"http://drools.org/drools-5.0 drools.org/drools-5.0.xsd\"> " + XmlDumper.eol;
appendXmlDump( xmlString );
appendXmlDump( processImportsList( packageDescr.getImports() ) );
appendXmlDump( processGlobalsList( packageDescr.getGlobals() ) );
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseAccumulate.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseAccumulate.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseAccumulate.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="import java.util.List"/>
<import name="org.drools.Person" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseCollect.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseCollect.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseCollect.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample" xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="import java.util.List"/>
<import name="org.drools.Cheese"/>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseComplex.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseComplex.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseComplex.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<package name="pt.inescporto.cec.rules"
xmlns="http://drools.org/drools-5.0"
- xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="pt.inescporto.cec.entities.SetupInUse"/>
<import name="pt.inescporto.cec.entities.SetupUse"/>
<import name="pt.inescporto.cec.entities.ArtigoProducao"/>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseExists.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseExists.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseExists.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample" xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<rule name="simple_rule">
<lhs>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseForall.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseForall.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseForall.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<global identifier="results" type="java.util.List" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFrom.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFrom.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFrom.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="import java.util.List"/>
<import name="org.drools.Cheese" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFunction.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFunction.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseFunction.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="org.drools.*" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseGlobal.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseGlobal.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseGlobal.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="org.drools.*" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseImport.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseImport.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseImport.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="org.drools.*" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseLhs.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseLhs.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseLhs.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="org.drools.*" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParsePackageName.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParsePackageName.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParsePackageName.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,5 +2,5 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
</package>
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseQuery.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseQuery.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseQuery.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="org.drools.*" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRhs.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRhs.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRhs.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -2,7 +2,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="org.drools.*" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRule.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRule.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_ParseRule.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -3,7 +3,7 @@
<package name="com.sample"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="org.drools.*" />
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_RoundTrip.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_RoundTrip.xml 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/rules/test_RoundTrip.xml 2008-12-07 21:59:37 UTC (rev 24282)
@@ -3,7 +3,7 @@
<package name="foo"
xmlns="http://drools.org/drools-5.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0 drools-4.0.xsd">
+ xs:schemaLocation="http://drools.org/drools-5.0 drools.org/drools-5.0.xsd">
<import name="java.util.HashMap" />
<import name="java.util.HashSet" />
<import name="java.utilArrayList" />
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/io/impl/ResourceChangeNotifierImpl.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/io/impl/ResourceChangeNotifierImpl.java 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/io/impl/ResourceChangeNotifierImpl.java 2008-12-07 21:59:37 UTC (rev 24282)
@@ -43,7 +43,7 @@
this.monitors.remove( monitor );
}
- public Collection<ResourceChangeMonitor> getResourceChangeMonitor() {
+ public Collection<ResourceChangeMonitor> getResourceChangeMonitors() {
return Collections.unmodifiableCollection( this.monitors );
}
Modified: labs/jbossrules/trunk/drools-guvnor/src/test/resources/org/drools/guvnor/server/builder/ruleflow.rf
===================================================================
--- labs/jbossrules/trunk/drools-guvnor/src/test/resources/org/drools/guvnor/server/builder/ruleflow.rf 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-guvnor/src/test/resources/org/drools/guvnor/server/builder/ruleflow.rf 2008-12-07 21:59:37 UTC (rev 24282)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<process xmlns="http://drools.org/drools-4.0/process"
+<process xmlns="http://drools.org/drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools.org/drools-5.0/process drools-processes-4.0.xsd"
type="RuleFlow" name="flow" >
<header>
Modified: labs/jbossrules/trunk/drools-guvnor/src/test/resources/ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-guvnor/src/test/resources/ruleflow.rfm 2008-12-07 16:05:44 UTC (rev 24281)
+++ labs/jbossrules/trunk/drools-guvnor/src/test/resources/ruleflow.rfm 2008-12-07 21:59:37 UTC (rev 24282)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<process xmlns="http://drools.org/drools-4.0/process"
+<process xmlns="http://drools.org/drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools.org/drools-5.0/process drools-processes-4.0.xsd"
type="RuleFlow" name="ruleflow" id="0" package-name="testPackageWithRuleFlow" >
<header>
More information about the jboss-svn-commits
mailing list