[jboss-svn-commits] JBL Code SVN: r24283 - in labs/jbossrules/trunk: drools-api/src/main/java/org/drools/agent and 12 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Dec 7 17:03:36 EST 2008
Author: mark.proctor at jboss.com
Date: 2008-12-07 17:03:36 -0500 (Sun, 07 Dec 2008)
New Revision: 24283
Modified:
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/ChangeSet.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgent.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentConfiguration.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/event/io/ResourceChangeListener.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/Resource.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeMonitor.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeNotifier.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeScanner.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceFactory.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/compiler/ProcessBuilder.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlRuleFlowProcessDumper.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/api/KnowledgeBuilderTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessActionTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessEventTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessExceptionHandlerTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessHumanTaskTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessMarchallingTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessStartTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessTimerTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessUpgradeTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessWorkItemTest.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/SubProcessTest.java
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ProcessMultithreadEvent.rf
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlDslTest.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlTest.xml
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/processes/ActionNodeTest.xml
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-api/src/main/java/org/drools/ChangeSet.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/ChangeSet.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/ChangeSet.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -9,12 +9,15 @@
* Each method provides a Collection of removed, added and modified resources, and determined by the monitor. Drools currently only provides the
* ResourceChangeScanner, which scans the local disk for changes.
*
- * This interface, as well as ResourceChangeMonitor and ResourceChangeNotifier are still considered subject to change.
+ * This interface, as well as ResourceChangeMonitor, ResourceChangeNotifier, ResourceChangeScanner and ResourceChangeListener are still considered subject to change.
+ * Use the XML format change-set, as
+ * part of the ResourceType api when adding to KnowledgeBuilder, which is considered stable. KnowledgeBuilder currently ignored Added/Modified xml elements,
+ * the KnowledgeAgent will use them, when rebuilding the KnowledgeBase.
+ *
*/
public interface ChangeSet {
public Collection<Resource> getResourcesRemoved();
-
public Collection<Resource> getResourcesAdded();
public Collection<Resource> getResourcesModified();
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgent.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgent.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgent.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,10 @@
package org.drools.agent;
import org.drools.KnowledgeBase;
+import org.drools.KnowledgeBaseFactory;
import org.drools.io.Resource;
+import org.drools.io.ResourceChangeScannerConfiguration;
+import org.drools.io.ResourceFactory;
/**
* <p>
@@ -17,13 +20,24 @@
* KnowledgeBase, instead of upating the existing one, due to the "newInstance" set to "true":
* <p/>
* <pre>
- * Properties props = new Properties();
- * props.setProperty( "file", path );
+ * KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
*
- * props.setProperty( "newInstance", "true" );
- * props.setProperty( "poll", "30" );
- * KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "agent1", props );
- * KnowledgeBase kbase = kagent.getKnowledgeBase();
+ * ResourceChangeScannerConfiguration sconf = ResourceFactory.getResourceChangeScannerService().newResourceChangeScannerConfiguration();
+ * sconf.setProperty( "drools.resource.scanner.interval",
+ * "30" ); // set the disk scanning interval to 30s, default is 60s
+ * ResourceFactory.getResourceChangeScannerService().configure( sconf );
+ *
+ * KnowledgeAgentConfiguration aconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
+ aconf.setProperty( "drools.agent.scanDirectories",
+ "true" ); // we want to scan directories, not just files, turning this on turns on file scanning
+ aconf.setProperty( "drools.agent.newInstance",
+ "true" ); // resource changes results in a new instance of the KnowledgeBase being built,
+ // this cannot currently be set to false for incremental building
+
+ KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "test agent", // the name of the agent
+ kbase, // the rulebase to use, the Agent will also monitor any exist knowledge definitions
+ aconf );
+ kagent.applyChangeSet( ResourceFactory.newUrlResource( url ) ); // resource to the change-set xml for the resources to add
* </pre>
*
* @see org.drools.agent.KnowledgeAgentFactory
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentConfiguration.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentConfiguration.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentConfiguration.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -4,6 +4,7 @@
/**
* drools.agent.scanResources = <true|false>
+ * drools.agent.scanDirectories = <true|false>
* drools.agent.newInstance = <true|false>
* drools.agent.monitorChangeSetEvents = <true|false>
*
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -71,6 +71,33 @@
* }
* </pre>
*
+ * <p>
+ * The KnowledgeBuilder can also be built from configuration using the xml change-set format and the ResourceType.ChangeSet value. While change-set
+ * supports add, remove, modify as elements. KnowledgeBuilder will only process add. If the resource element provided points to a directory, all
+ * files found in that directory will be added. Currently the knowledge type is not derived from the .ext extension of the file and must be explicitely
+ * set in the XML for the resource. It is expected that all resources in the directory, when the directory is a given resource, are all of the specified
+ * type.
+ * </p>
+ * <pre>
+ * <change-set xmlns='http://drools.org/drools-5.0/change-set'
+ * xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
+ * xs:schemaLocation='http://drools.org/drools-5.0/change-set drools-change-set-5.0.xsd' >
+ * <add>
+ * <resource source='http:org/domain/myrules.drl' type='DRL' />
+ * <resource source='classpath:data/IntegrationExampleTest.xls' type="DTABLE">
+ * <decisiontable-conf input-type="XLS" worksheet-name="Tables_2" />
+ * </resource>
+ * <resource source='file:org/drools/decisiontable/myflow.drf' type='DRF' />
+ * </add>
+ * </change-set>
+ * </pre>
+ *
+ * <pre>
+ * KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
+ * kbuilder.add( ResourceFactory.newUrlResource( url ),
+ * ResourceType.ChangeSet );
+ * </pre>
+ *
*/
public interface KnowledgeBuilder
extends
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/event/io/ResourceChangeListener.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/event/io/ResourceChangeListener.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/event/io/ResourceChangeListener.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -5,6 +5,21 @@
import org.drools.ChangeSet;
+/**
+ * Interface that provides informed on changes resources, via the ChangeSet interface.
+ *
+ *
+ * This interface, as well as ChangeSet, ResourceChangeNotifier, ResourceChangeMonitor and ResourceChangeScanner are still considered subject to change.
+ * Use the XML format change-set, as
+ * part of the ResourceType api when adding to KnowledgeBuilder, which is considered stable. KnowledgeBuilder currently ignored Added/Modified xml elements,
+ * the KnowledgeAgent will use them, when rebuilding the KnowledgeBase.
+ */
public interface ResourceChangeListener {
+
+ /**
+ * The Resource has changed, the ResourceChangeNotifier will call this method and execute the user implemented code.
+ *
+ * @param changeSet
+ */
void resourcesChanged(ChangeSet changeSet);
}
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/Resource.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/Resource.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/Resource.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -3,12 +3,26 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
-import java.net.URL;
-import java.util.Collection;
+/**
+ * <p>
+ * Generic interface to provide a Reader or Input stream for the underlying IO resource.
+ * </p>
+ */
public interface Resource {
+ /**
+ * Open an InputStream to the resource, the user most close this when finished.
+ *
+ * @return
+ * @throws IOException
+ */
InputStream getInputStream() throws IOException;
+ /**
+ * Opens a Reader to the resource, the user most close this when finished.
+ * @return
+ * @throws IOException
+ */
public Reader getReader() throws IOException;
}
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeMonitor.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeMonitor.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeMonitor.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,10 +1,32 @@
package org.drools.io;
/**
+ * <p>
+ * Subscribes and unsubscribes the given notifier to the requested resource. The Monitor will inform the notifier when when results it susbcribes to are changed
+ * via the ChangeSet interface.
+ * </p>
*
- * * This interface, as well as ResourceChangeNotifier are still considered subject to change.
+ * <p>
+ * This interface, as well as ChangeSet, ResourceChangeNotifier, ResourceChangeListener and ResourceChangeScanner are still considered subject to change.
+ * Use the XML format change-set, as
+ * part of the ResourceType api when adding to KnowledgeBuilder, which is considered stable. KnowledgeBuilder currently ignored Added/Modified xml elements,
+ * the KnowledgeAgent will use them, when rebuilding the KnowledgeBase.
+ * </p>
*/
public interface ResourceChangeMonitor {
+ /**
+ * Subscribe the notifier to receive change information on the given resource.
+ *
+ * @param notifier
+ * @param resource
+ */
void subscribeNotifier(ResourceChangeNotifier notifier, Resource resource);
+
+ /**
+ * Unsubscribe the notifier for the given resource.
+ *
+ * @param notifier
+ * @param resource
+ */
void unsubscribeNotifier(ResourceChangeNotifier notifier, Resource resource);
}
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeNotifier.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeNotifier.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeNotifier.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -5,6 +5,21 @@
import org.drools.ChangeSet;
import org.drools.event.io.ResourceChangeListener;
+/**
+ * <p>
+ * ResourceChangeListeners can subscribe to the notifier to receive ChangeSet info when results they are subscribed to change. The ResourceChangeNotifier
+ * itself is not monitoring resources for changes, instead it delegates to added ResourceChangeMonitor implementations. When a ResourceChangeListener
+ * subscribes to a Resource that subscription is delegated to the added monitors.
+ * </p>
+ *
+ * <p>
+ * This interface, as well as ChangeSet, ResourceChangeMonitor, esourceChangeListener and ResourceChangeScanner are still considered subject to change.
+ * Use the XML format change-set, as
+ * part of the ResourceType api when adding to KnowledgeBuilder, which is considered stable. KnowledgeBuilder currently ignored Added/Modified xml elements,
+ * the KnowledgeAgent will use them, when rebuilding the KnowledgeBase.
+ * </p>
+ *
+ */
public interface ResourceChangeNotifier {
void subscribeResourceChangeListener(ResourceChangeListener listener,
Resource resource);
@@ -12,17 +27,51 @@
void unsubscribeResourceChangeListener(ResourceChangeListener listener,
Resource resource);
+ /**
+ * When a ResourceChangeMonitor is asked to monitor a directory, it needs a way to tell the ResourceChangeNotifier of any newly added Resources.
+ *
+ * @param directory
+ * The parent directory the discovered child is in.
+ * @param child
+ * The discovered child resource
+ */
void subscribeChildResource(Resource directory, Resource child);
+ /**
+ * Add a ResourceChangeMonitor, which will receive all Resource subscriptions.
+ *
+ * @param monitor
+ */
void addResourceChangeMonitor(ResourceChangeMonitor monitor);
+ /**
+ * Remove a ResourceChangeMonitor.
+ *
+ * @param monitor
+ */
void removeResourceChangeMonitor(ResourceChangeMonitor monitor);
- Collection<ResourceChangeMonitor> getResourceChangeMonitor();
+ /**
+ * Return a collection of the added ResourceChangeMonitors
+ * @return
+ */
+ Collection<ResourceChangeMonitor> getResourceChangeMonitors();
+ /**
+ * Called by the added ResourceChangeMonitors to inform this ResourceChangeNotifier of resource changes.
+ * The ResourceChangeMontior must have a reference to the ResourceChangeNotifiers they are added to,
+ *
+ * @param changeSet
+ */
void publishKnowledgeBaseChangeSet(ChangeSet changeSet);
+ /**
+ * Start the service, this will create a new Thread.
+ */
void start();
+ /**
+ * Stop the service.
+ */
void stop();
}
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeScanner.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeScanner.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceChangeScanner.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -3,23 +3,58 @@
import java.util.Properties;
+/**
+ * <p>
+ * Built in service, as provided by the ResourceFactory for monitor file changes on the local disk.
+ * </p>
+ *
+ * <p>
+ * This interface, as well as ChangeSet, ResourceChangeNotifier, ResourceChangeMonitor and ResourceChangeScanner are still considered subject to change.
+ * Use the XML format change-set, as
+ * part of the ResourceType api when adding to KnowledgeBuilder, which is considered stable. KnowledgeBuilder currently ignored Added/Modified xml elements,
+ * the KnowledgeAgent will use them, when rebuilding the KnowledgeBase.
+ * </p>
+ */
public interface ResourceChangeScanner extends ResourceChangeMonitor {
+ /**
+ * New ResourceChangeScannerConfiguration which can be used to update this service.
+ * @return
+ */
public ResourceChangeScannerConfiguration newResourceChangeScannerConfiguration();
+ /**
+ * New ResourceChangeScannerConfiguration, using the given Properties, which can be used to update this service.
+ * @return
+ */
public ResourceChangeScannerConfiguration newResourceChangeScannerConfiguration(Properties properties);
+ /**
+ * Reconfigure the Scanner now
+ * @param configuration
+ */
public void configure(ResourceChangeScannerConfiguration configuration);
+ /**
+ * Execute a disk scan of subscribed resources now.
+ */
public void scan();
+ /**
+ * Start the service, this creates a new Thread.
+ */
public void start();
+ /**
+ * Stop the service.
+ */
public void stop();
+ /**
+ * Set scan interval in seconds
+ * @param interval
+ */
public void setInterval(int interval);
-
- public int getInterval();
-
+
}
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceFactory.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/io/ResourceFactory.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -4,18 +4,46 @@
import java.io.InputStream;
import java.io.Reader;
import java.net.URL;
-import java.util.Properties;
import org.drools.ProviderInitializationException;
+/**
+ * <p>
+ * Convenience Factory to provide Resource implementations for the desired IO resource.
+ * </p>
+ *
+ * <pre>
+ * KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
+ * kbuilder.add( ResourceFactory.newUrlResource( "htp://www.domain.org/myflow.drf" ),
+ * ResourceType.DRF );
+ * </pre
+ *
+ * <pre>
+ * KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
+ * kbuilder.add( ResourceFactory.newClassPathResource( "htp://www.domain.org/myrules.drl", getClass() ),
+ * ResourceType.DRL );
+ * </pre
+ *
+ *
+ */
public class ResourceFactory {
private static ResourceProvider resourceProvider;
+ /**
+ * A Service that can be started, to provide notifications of changed Resources.
+ *
+ * @return
+ */
public static ResourceChangeNotifier getResourceChangeNotifierService() {
return getResourceProvider().getResourceChangeNotifierService();
}
+ /**
+ * As service, that scans the disk for changes, this acts as a Monitor for the Notifer service.
+ *
+ * @return
+ */
public static ResourceChangeScanner getResourceChangeScannerService() {
return getResourceProvider().getResourceChangeScannerService();
}
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/compiler/ProcessBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/compiler/ProcessBuilder.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/compiler/ProcessBuilder.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -79,7 +79,7 @@
private Map<String, ProcessValidator> processValidators = new HashMap<String, ProcessValidator>();
private static final String XSL_FROM_4_TO_5 = "/org/drools/xml/processes/RuleFlowFrom4To5.xsl";
private static final String PROCESS_ELEMENT_WITH_NAMESPACE = "<process xmlns=\"http://drools.org/drools-5.0/process\"\n" + " xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
- + " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n";
+ + " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n";
public ProcessBuilder(PackageBuilder packageBuilder) {
this.packageBuilder = packageBuilder;
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlRuleFlowProcessDumper.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlRuleFlowProcessDumper.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/xml/XmlRuleFlowProcessDumper.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -8,7 +8,7 @@
super(
"RuleFlow",
"http://drools.org/drools-5.0/process",
- "drools-processes-4.0.xsd",
+ "drools-processes-5.0.xsd",
new ProcessSemanticModule()
);
}
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/api/KnowledgeBuilderTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/api/KnowledgeBuilderTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/api/KnowledgeBuilderTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -72,7 +72,7 @@
String str = "";
str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
- str += "<process xmlns=\"http://drools.org/drools-5.0/process\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\" xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\" ";
+ str += "<process xmlns=\"http://drools.org/drools-5.0/process\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\" xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\" ";
str += " type=\"RuleFlow\" name=\"flow1\" id=\"0\" package-name=\"org.test1\" >";
str += " <header/>\n";
str += " <nodes><start id=\"1\" name=\"Start\" /><end id=\"2\" name=\"End\" /></nodes>\n";
@@ -82,7 +82,7 @@
str = "";
str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
- str += "<process xmlns=\"http://drools.org/drools-5.0/process\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\" xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\" ";
+ str += "<process xmlns=\"http://drools.org/drools-5.0/process\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\" xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\" ";
str += " type=\"RuleFlow\" name=\"flow2\" id=\"0\" package-name=\"org.test2\" >";
str += " <header/>\n";
str += " <nodes><start id=\"1\" name=\"Start\" /><end id=\"2\" name=\"End\" /></nodes>\n";
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessActionTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessActionTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessActionTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -30,7 +30,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.actions\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -101,7 +101,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.actions\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -174,7 +174,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.actions\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessEventTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessEventTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessEventTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -23,7 +23,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -76,7 +76,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -129,7 +129,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -185,7 +185,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -238,7 +238,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -303,7 +303,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -368,7 +368,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -433,7 +433,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.event\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessExceptionHandlerTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessExceptionHandlerTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessExceptionHandlerTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -24,7 +24,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.exception\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -63,7 +63,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.exception\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -116,7 +116,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.exception\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -156,7 +156,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.exception\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -233,7 +233,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.exception\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessHumanTaskTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessHumanTaskTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessHumanTaskTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -25,7 +25,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.humantask\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -82,7 +82,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.humantask\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessMarchallingTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessMarchallingTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessMarchallingTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -49,7 +49,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"org.test.ruleflow\" package-name=\"org.test\" >\n" +
" <header>\n" +
" </header>\n" +
@@ -95,7 +95,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"org.test.ruleflow\" package-name=\"org.test\" >\n" +
" <header>\n" +
" <variables>\n" +
@@ -167,7 +167,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"com.sample.ruleflow\" package-name=\"com.sample\" >\n" +
"\n" +
" <header>\n" +
@@ -286,7 +286,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"com.sample.subflow\" package-name=\"com.sample\" >\n" +
"\n" +
" <header>\n" +
@@ -360,7 +360,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"com.sample.ruleflow\" package-name=\"com.sample\" >\n" +
"\n" +
" <header>\n" +
@@ -445,7 +445,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"com.sample.ruleflow\" package-name=\"com.sample\" >\n" +
"\n" +
" <header>\n" +
@@ -485,7 +485,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"com.sample.ruleflow\" package-name=\"com.sample\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessStartTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessStartTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessStartTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -24,7 +24,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.start\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -99,7 +99,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.start\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessTimerTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessTimerTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessTimerTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -27,7 +27,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.timer\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -114,7 +114,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.timer\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -177,7 +177,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.timer\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -240,7 +240,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.timer\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
@@ -315,7 +315,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.timer\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessUpgradeTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessUpgradeTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessUpgradeTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -38,7 +38,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"org.test.ruleflow\" package-name=\"org.test\" >\n" +
" <header>\n" +
" </header>\n" +
@@ -75,7 +75,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"org.test.ruleflow2\" package-name=\"org.test\" >\n" +
" <header>\n" +
" <globals>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessWorkItemTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessWorkItemTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessWorkItemTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -31,7 +31,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"org.drools.actions\" package-name=\"org.drools\" version=\"1\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/SubProcessTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/SubProcessTest.java 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/SubProcessTest.java 2008-12-07 22:03:36 UTC (rev 24283)
@@ -102,7 +102,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"ruleflow\" id=\"com.sample.ruleflow\" package-name=\"com.sample\" >\n" +
"\n" +
" <header>\n" +
@@ -134,7 +134,7 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<process xmlns=\"http://drools.org/drools-5.0/process\"\n" +
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
- " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-4.0.xsd\"\n" +
+ " xs:schemaLocation=\"http://drools.org/drools-5.0/process drools-processes-5.0.xsd\"\n" +
" type=\"RuleFlow\" name=\"flow\" id=\"com.sample.subflow\" package-name=\"com.sample\" >\n" +
"\n" +
" <header>\n" +
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="empty_ruleflow" id="empty_ruleflow" package-name="com.empty" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="empty_ruleflow" id="empty_ruleflow" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="ruleflow" id="0" package-name="com.sample" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="ActionDialects" id="ActionDialects" package-name="org.drools.test" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="ConstraintDialects" id="ConstraintDialects" package-name="org.drools.test" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ProcessMultithreadEvent.rf
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ProcessMultithreadEvent.rf 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ProcessMultithreadEvent.rf 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="flow" id="org.drools.integrationtests.multithread" package-name="org.drools.integrationtests" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="test_ruleflowClear" id="ruleFlowClear" package-name="com.sample" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlDslTest.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlDslTest.xml 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlDslTest.xml 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:mydsl="http://domain/org/mydsl"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
name="process name" id="process name" type="RuleFlow" package-name="org.domain" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlTest.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlTest.xml 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/XmlTest.xml 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,6 +1,6 @@
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
name="process name" id="process name" package-name="org.domain" >
<header>
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/processes/ActionNodeTest.xml
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/processes/ActionNodeTest.xml 2008-12-07 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/xml/processes/ActionNodeTest.xml 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,6 +1,6 @@
<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
name="process name" id="process name" type="RuleFlow" package-name="org.domain" >
<header>
<imports>
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 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-guvnor/src/test/resources/org/drools/guvnor/server/builder/ruleflow.rf 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<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.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools.org/drools-5.0/process drools-processes-5.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 21:59:37 UTC (rev 24282)
+++ labs/jbossrules/trunk/drools-guvnor/src/test/resources/ruleflow.rfm 2008-12-07 22:03:36 UTC (rev 24283)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<process xmlns="http://drools.org/drools.org/drools-5.0/process"
+<process xmlns="http://drools.org/drools-5.0/process"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
- xs:schemaLocation="http://drools.org/drools.org/drools-5.0/process drools-processes-4.0.xsd"
+ xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
type="RuleFlow" name="ruleflow" id="0" package-name="testPackageWithRuleFlow" >
<header>
More information about the jboss-svn-commits
mailing list