[jboss-svn-commits] JBL Code SVN: r24486 - in labs/jbossrules/trunk: drools-pipeline and 7 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Dec 23 14:10:50 EST 2008
Author: mark.proctor at jboss.com
Date: 2008-12-23 14:10:49 -0500 (Tue, 23 Dec 2008)
New Revision: 24486
Added:
labs/jbossrules/trunk/drools-pipeline/
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.classpath
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/pom.xml
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/main/java/org/drools/runtime/
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/java/org/drools/runtime/
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/runtime/
Removed:
labs/jbossrules/trunk/drools-pipeline/
labs/jbossrules/trunk/drools-pipeline/drools-dataloaders-jaxb/
labs/jbossrules/trunk/drools-pipeline/drools-dataloaders-smooks/
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.classpath
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/pom.xml
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/main/java/org/drools/dataloaders/smooks/
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/java/org/drools/dataloaders/smooks/
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksDirectRoot.xml
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksNestedIterable.xml
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/smooks-config.xml
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksDirectRoot.drl
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksNestedIterable.drl
Modified:
labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.project
labs/jbossrules/trunk/drools-pipeline/pom.xml
Log:
JBRULES-1903 Pipeline support for DataLoaders and Feeders\n-renaming directories
Copied: labs/jbossrules/trunk/drools-pipeline (from rev 24480, labs/jbossrules/trunk/drools-dataloaders)
Property changes on: labs/jbossrules/trunk/drools-pipeline
___________________________________________________________________
Name: svn:ignore
+ target
local
.metadata
.settings
.wtpmodules
nbproject
*.ipr
*.iws
*.iml
Name: svn:mergeinfo
+
Copied: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks (from rev 24480, labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks)
Property changes on: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks
___________________________________________________________________
Name: svn:ignore
+ target
local
.metadata
.settings
.wtpmodules
nbproject
*.ipr
*.iws
*.iml
Name: svn:mergeinfo
+
Deleted: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.classpath
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/.classpath 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.classpath 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,31 +0,0 @@
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
- <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
- <classpathentry kind="src" path="src/test/resources" output="target/test-classes" including="**" excluding="**/*.java"/>
- <classpathentry kind="output" path="target/classes"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/org/antlr/antlr-runtime/3.1.1/antlr-runtime-3.1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/eclipse/jdt/core/3.4.2.v_883_R34x/core-3.4.2.v_883_R34x.jar"/>
- <classpathentry kind="src" path="/drools-api"/>
- <classpathentry kind="src" path="/drools-compiler"/>
- <classpathentry kind="src" path="/drools-core"/>
- <classpathentry kind="var" path="M2_REPO/org/freemarker/freemarker/2.3.9/freemarker-2.3.9.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-library/1.1/hamcrest-library-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/hsqldb/hsqldb/1.8.0.2/hsqldb-1.8.0.2.jar"/>
- <classpathentry kind="var" path="M2_REPO/janino/janino/2.5.15/janino-2.5.15.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jmock/jmock/2.5.0.1/jmock-2.5.0.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/joda-time/joda-time/1.5.2/joda-time-1.5.2.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/>
- <classpathentry kind="var" path="M2_REPO/milyn/milyn-commons/1.0/milyn-commons-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/milyn/milyn-smooks-core/1.0.1/milyn-smooks-core-1.0.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/milyn/milyn-smooks-javabean/1.0.1/milyn-smooks-javabean-1.0.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/mvel/mvel/1.3.3-java1.5/mvel-1.3.3-java1.5.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/mvel/mvel2/2.0.4-SNAPSHOT/mvel2-2.0.4-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar"/>
-</classpath>
\ No newline at end of file
Copied: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.classpath (from rev 24484, labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/.classpath)
===================================================================
--- labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.classpath (rev 0)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.classpath 2008-12-23 19:10:49 UTC (rev 24486)
@@ -0,0 +1,33 @@
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+ <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
+ <classpathentry kind="src" path="src/test/resources" output="target/test-classes" including="**" excluding="**/*.java"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/org/antlr/antlr-runtime/3.1.1/antlr-runtime-3.1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/jdt/core/3.4.2.v_883_R34x/core-3.4.2.v_883_R34x.jar"/>
+ <classpathentry kind="src" path="/drools-api"/>
+ <classpathentry kind="src" path="/drools-compiler"/>
+ <classpathentry kind="src" path="/drools-core"/>
+ <classpathentry kind="var" path="M2_REPO/org/freemarker/freemarker/2.3.9/freemarker-2.3.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-library/1.1/hamcrest-library-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/janino/janino/2.5.15/janino-2.5.15.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/sun/xml/bind/jaxb-xjc/2.0.3/jaxb-xjc-2.0.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jmock/jmock/2.5.0.1/jmock-2.5.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/joda-time/joda-time/1.5.2/joda-time-1.5.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/milyn/milyn-commons/1.1/milyn-commons-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/milyn/milyn-smooks-core/1.1/milyn-smooks-core-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/milyn/milyn-smooks-javabean/1.1/milyn-smooks-javabean-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/mvel/mvel/1.3.12-java1.5/mvel-1.3.12-java1.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/mvel/mvel2/2.0.4-SNAPSHOT/mvel2-2.0.4-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.8.0/xercesImpl-2.8.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar"/>
+</classpath>
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.project
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/.project 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/.project 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,5 +1,5 @@
<projectDescription>
- <name>drools-dataloaders-smooks</name>
+ <name>drools-transformer-smooks</name>
<comment>A rule production system</comment>
<projects>
<project>drools-api</project>
Deleted: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/pom.xml 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/pom.xml 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>drools</artifactId>
- <groupId>org.drools</groupId>
- <version>5.0.0.SNAPSHOT</version>
- </parent>
-
- <artifactId>drools-dataloaders-smooks</artifactId>
- <packaging>jar</packaging>
- <name>Drools :: DataLoaders :: Smooks</name>
-
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-compiler</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>milyn</groupId>
- <artifactId>milyn-smooks-javabean</artifactId>
- <version>1.0.1</version>
- </dependency>
- </dependencies>
-
- <repositories>
- <repository>
- <id>dist.codehaus.org</id>
- <url>http://dist.codehaus.org</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- </repositories>
-</project>
Copied: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/pom.xml (from rev 24484, labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/pom.xml)
===================================================================
--- labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/pom.xml (rev 0)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/pom.xml 2008-12-23 19:10:49 UTC (rev 24486)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>drools</artifactId>
+ <groupId>org.drools</groupId>
+ <version>5.0.0.SNAPSHOT</version>
+ </parent>
+
+ <artifactId>drools-transformer-smooks</artifactId>
+ <packaging>jar</packaging>
+ <name>Drools :: Transformer :: Smooks</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-compiler</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.milyn</groupId>
+ <artifactId>milyn-smooks-javabean</artifactId>
+ <version>1.1</version>
+ </dependency>
+ </dependencies>
+
+ <repositories>
+ <repository>
+ <id>dist.codehaus.org</id>
+ <url>http://dist.codehaus.org</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+</project>
Copied: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/main/java/org/drools/runtime (from rev 24484, labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/main/java/org/drools/runtime)
Copied: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/java/org/drools/runtime (from rev 24484, labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/test/java/org/drools/runtime)
Deleted: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksDirectRoot.xml
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksDirectRoot.xml 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksDirectRoot.xml 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,5 +0,0 @@
-<order-item>
- <product>222</product>
- <quantity>7</quantity>
- <price>5.20</price>
-</order-item>
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksNestedIterable.xml
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksNestedIterable.xml 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/SmooksNestedIterable.xml 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,12 +0,0 @@
-<root>
- <order-item>
- <product>111</product>
- <quantity>2</quantity>
- <price>8.90</price>
- </order-item>
- <order-item>
- <product>222</product>
- <quantity>7</quantity>
- <price>5.20</price>
- </order-item>
-</root>
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/smooks-config.xml
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/test/resources/org/drools/dataloaders/smooks/smooks-config.xml 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/smooks-config.xml 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,46 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- Create an "example.beans.Order" bean instance when we visit the start of the <order> element.
- Assign the new bean instance to the beanId of "order".
- -->
- <resource-config selector="root">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">root</param>
- <param name="beanClass">org.drools.dataloaders.smooks.Root</param>
- <param name="bindings">
- <binding property="children" selector="${children}" />
- </param>
- </resource-config>
-
- <!--
- Create an ArrayList bean instance when we visit the start of the <order> element.
- Call it "orderItems" and seet it on the "order".
- -->
- <resource-config selector="root">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">children</param>
- <param name="beanClass">java.util.ArrayList</param>
- <param name="bindings">
- <binding selector="${orderItem}" />
- </param>
- </resource-config>
-
- <!--
- Create an "example.beans.OrderItem" bean instance when we visit the start of the <order-item> element.
- Set the OrderItem instances on the "orderItem".
- -->
- <resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanClass">example.OrderItem</param>
- <param name="bindings">
- <!-- OrderItem bindings... -->
- <binding property="productId" type="Long" selector="order-item product" />
- <binding property="quantity" type="Integer" selector="order-item quantity" />
- <binding property="price" type="Double" selector="order-item price" />
- </param>
- </resource-config>
-
-
-</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksDirectRoot.drl
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksDirectRoot.drl 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksDirectRoot.drl 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,16 +0,0 @@
-package example
-
-global java.util.List list;
-
-declare OrderItem
- productId : long
- quantity : Integer
- price : double
-end
-
-rule someRule
-when
- $i : OrderItem()
-then
- list.add( $i );
-end
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksNestedIterable.drl
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksNestedIterable.drl 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/dataloaders/smooks/test_SmooksNestedIterable.drl 2008-12-23 19:10:49 UTC (rev 24486)
@@ -1,16 +0,0 @@
-package example
-
-global java.util.List list;
-
-declare OrderItem
- productId : long
- quantity : Integer
- price : double
-end
-
-rule someRule
-when
- $i : OrderItem()
-then
- list.add( $i );
-end
\ No newline at end of file
Copied: labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/resources/org/drools/runtime (from rev 24484, labs/jbossrules/trunk/drools-dataloaders/drools-dataloaders-smooks/src/test/resources/org/drools/runtime)
Modified: labs/jbossrules/trunk/drools-pipeline/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-dataloaders/pom.xml 2008-12-23 14:45:05 UTC (rev 24480)
+++ labs/jbossrules/trunk/drools-pipeline/pom.xml 2008-12-23 19:10:49 UTC (rev 24486)
@@ -13,8 +13,8 @@
<name>Drools :: DataLoaders</name>
<modules>
- <module>drools-dataloaders-smooks</module>
- <module>drools-dataloaders-jaxb</module>
+ <module>drools-transformer-smooks</module>
+ <module>drools-transformer-jaxb</module>
</modules>
</project>
More information about the jboss-svn-commits
mailing list