[jboss-svn-commits] JBL Code SVN: r31644 - in labs/jbossrules/trunk: osgi-bundles and 58 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Feb 12 14:55:16 EST 2010


Author: mark.proctor at jboss.com
Date: 2010-02-12 14:55:12 -0500 (Fri, 12 Feb 2010)
New Revision: 31644

Added:
   labs/jbossrules/trunk/osgi-bundles/
   labs/jbossrules/trunk/osgi-bundles/.classpath
   labs/jbossrules/trunk/osgi-bundles/.project
   labs/jbossrules/trunk/osgi-bundles/META-INF/
   labs/jbossrules/trunk/osgi-bundles/META-INF/MANIFEST.MF
   labs/jbossrules/trunk/osgi-bundles/build.properties
   labs/jbossrules/trunk/osgi-bundles/jxls/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.classpath
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.project
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/META-INF/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/META-INF/MANIFEST.MF
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/build.properties
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/lib/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/maven-eclipse.xml
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/pom.xml
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/java/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/java/org/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/java/org/drools/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/java/org/drools/osgi/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/java/org/drools/osgi/impl/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/resources/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/main/resources/META-INF/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/test/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/test/java/
   labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/src/test/resources/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.classpath
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.project
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/pom.xml
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context-osgi.xml
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context.xml
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/log4j.properties
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/integrationtests/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/integrationtests/SimpleOsgiTest.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/AbstractDroolsSpringDMTest.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseArtifactFinder.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseWorkspaceArtifactLocator.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/UnpackedOSGiBundleResource.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Cheese.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Person.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/decisiontable/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/decisiontable/Dummy.java
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/boot-bundles.properties
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/log4j.properties
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/IntegrationExampleTest.xls
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.drl
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.xml
   labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset2Test.drl
   labs/jbossrules/trunk/osgi-bundles/org.milyn/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.classpath
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.project
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/META-INF/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/META-INF/MANIFEST.MF
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/build.properties
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/lib/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/maven-eclipse.xml
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/pom.xml
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/java/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/java/org/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/java/org/drools/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/java/org/drools/osgi/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/java/org/drools/osgi/impl/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/resources/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/main/resources/META-INF/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/test/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/test/java/
   labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/src/test/resources/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.classpath
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.project
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.settings/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.settings/org.eclipse.jdt.core.prefs
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/META-INF/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/META-INF/MANIFEST.MF
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/build.properties
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/lib/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/maven-eclipse.xml
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/pom.xml
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/java/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/java/org/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/java/org/drools/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/java/org/drools/osgi/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/java/org/drools/osgi/impl/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/resources/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/main/resources/META-INF/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/test/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/test/java/
   labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/src/test/resources/
   labs/jbossrules/trunk/osgi-bundles/plugins/
   labs/jbossrules/trunk/osgi-bundles/pom.xml
   labs/jbossrules/trunk/osgi-bundles/src/
   labs/jbossrules/trunk/osgi-bundles/src/main/
   labs/jbossrules/trunk/osgi-bundles/src/main/java/
   labs/jbossrules/trunk/osgi-bundles/src/main/resources/
   labs/jbossrules/trunk/osgi-bundles/src/test/
   labs/jbossrules/trunk/osgi-bundles/src/test/java/
   labs/jbossrules/trunk/osgi-bundles/src/test/resources/
Log:
JBRULES-2351 OSGi Ready 
-renamed budles-repository to osgi-bundles

Added: labs/jbossrules/trunk/osgi-bundles/.classpath
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/.classpath	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/.classpath	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,29 @@
+<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/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/thoughtworks/xstream/com.springsource.com.thoughtworks.xstream/1.3.1/com.springsource.com.thoughtworks.xstream-1.3.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/net/sourceforge/jexcelapi/com.springsource.jxl/2.4.2/com.springsource.jxl-2.4.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/antlr/com.springsource.org.antlr.runtime/3.1.3/com.springsource.org.antlr.runtime-3.1.3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.io/1.4.0/com.springsource.org.apache.commons.io-1.4.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.lang/2.4.0/com.springsource.org.apache.commons.lang-2.4.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/log4j/com.springsource.org.apache.log4j/1.2.15/com.springsource.org.apache.log4j-1.2.15.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/xerces/com.springsource.org.apache.xerces/2.9.1/com.springsource.org.apache.xerces-2.9.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/xml/com.springsource.org.apache.xml.resolver/1.2.0/com.springsource.org.apache.xml.resolver-1.2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/xmlcommons/com.springsource.org.apache.xmlcommons/1.3.4/com.springsource.org.apache.xmlcommons-1.3.4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/codehaus/janino/com.springsource.org.codehaus.janino/2.5.15/com.springsource.org.codehaus.janino-2.5.15.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/xmlpull/com.springsource.org.xmlpull/1.1.4.c/com.springsource.org.xmlpull-1.1.4.c.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.api/1.5.10/com.springsource.slf4j.api-1.5.10.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.log4j/1.5.3/com.springsource.slf4j.log4j-1.5.3.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/org/jmock/jmock/2.5.1/jmock-2.5.1.jar" sourcepath="M2_REPO/org/jmock/jmock/2.5.1/jmock-2.5.1-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jmock/jmock-legacy/2.5.1/jmock-legacy-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/4.6/junit-4.6.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/objenesis/objenesis/1.0/objenesis-1.0.jar"/>
+</classpath>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/.project
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/.project	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/.project	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,20 @@
+<projectDescription>
+  <name>bundle-repo</name>
+  <comment>A rule production system</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.ManifestBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.SchemaBuilder</name>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.pde.PluginNature</nature>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/META-INF/MANIFEST.MF	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Bundles Repo
+Bundle-SymbolicName: org.drools.osgi.bundles
+Bundle-Version: 5.1.0.SNAPSHOT
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ClassPath: .
+Bundle-Vendor: JBoss, a division of Red Hat

Added: labs/jbossrules/trunk/osgi-bundles/build.properties
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/build.properties	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/build.properties	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,14 @@
+src.includes = .,\
+               build.properties,\
+               lib/,\
+               META-INF/,\
+               src/,\
+               pom.xml
+bin.includes = .,\
+               lib/,\
+               META-INF/,\
+               build.properties,\
+source.. = src/main/java/,\
+           src/main/resources/
+output.. = target/classes/     
+jars.compile.order = .          


Property changes on: labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader
___________________________________________________________________
Name: svn:ignore
   + .externalToolBuilders
.settings
target


Added: labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.classpath
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.classpath	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.classpath	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,18 @@
+<classpath>
+  <classpathentry kind="src" path="META-INF" excluding="**/*.java"/>
+  <classpathentry kind="src" path="lib" including="*.jar" excluding="**/*.java"/>
+  <classpathentry kind="src" path="src/main/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/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.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/org/jmock/jmock/2.5.1/jmock-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jmock/jmock-legacy/2.5.1/jmock-legacy-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/4.6/junit-4.6.jar"/>
+  <classpathentry kind="var" path="M2_REPO/net/sf/jxls/jxls-reader/0.9.6/jxls-reader-0.9.6.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/objenesis/objenesis/1.0/objenesis-1.0.jar"/>
+</classpath>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.project
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.project	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/.project	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,29 @@
+<projectDescription>
+  <name>org.drools.osgi.wrapper.jxls-reader</name>
+  <comment>A rule production system</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.ManifestBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.SchemaBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+      <arguments>
+        <dictionary>
+          <key>LaunchConfigHandle</key>
+          <value>&lt;project&gt;/.externalToolBuilders/Maven_Ant_Builder.launch</value>
+        </dictionary>
+      </arguments>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.pde.PluginNature</nature>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/META-INF/MANIFEST.MF	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: JXLS Reader
+Bundle-SymbolicName: org.drools.osgi.wrapper.jxls-reader
+Bundle-Version: 0.9.8
+Bundle-Vendor: JBoss
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ClassPath: lib/commons-jexl.jar,
+ .
+Export-Package: 
+ net.sf.jxls.reader
+Require-Bundle: com.springsource.org.apache.commons.collections;bundle-version="3.2.0",
+ com.springsource.org.apache.commons.logging;bundle-version="1.1.1",
+ com.springsource.org.apache.log4j;bundle-version="1.2.15",
+ com.springsource.org.apache.poi;bundle-version="3.0.2",
+ com.springsource.org.apache.commons.beanutils;bundle-version="1.8.0",
+ com.springsource.org.apache.commons.digester;bundle-version="1.8.1"
+DynamicImport-Package: *
+

Added: labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/build.properties
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/build.properties	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/build.properties	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,14 @@
+src.includes = .,\
+               build.properties,\
+               META-INF/,\
+               src/,\
+               pom.xml,\
+               lib/
+bin.includes = .,\
+               META-INF/,\
+               build.properties,\
+               lib/
+source.. = src/main/java/,\
+           src/main/resources/
+output.. = target/classes/     
+jars.compile.order = .          

Added: labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/maven-eclipse.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/maven-eclipse.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/maven-eclipse.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,11 @@
+<project default="copy-resources">
+  <target name="init"/>
+  <target name="copy-resources" depends="init">
+    <copy todir="target/classes/META-INF" filtering="false">
+      <fileset dir="META-INF"/>
+    </copy>
+    <copy todir="target/classes/lib" filtering="false">
+      <fileset dir="lib" includes="*.jar"/>
+    </copy>
+  </target>
+</project>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/pom.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/jxls/jxls-reader/pom.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,145 @@
+<?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">
+
+  <parent>
+    <artifactId>drools</artifactId>
+    <groupId>org.drools</groupId>
+    <version>5.1.0.SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>org.drools.osgi.wrapper.jxls-reader</artifactId>
+  <version>0.9.8</version>
+  <packaging>jar</packaging>
+
+  <name>Drools :: OSGi :: Wrapper :: jxls-reader</name>
+  <build>
+    <plugins>    
+    
+            <plugin>
+              <artifactId>maven-jar-plugin</artifactId>
+              <configuration>
+                <archive>  
+                  <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+                </archive> 
+              </configuration>
+            </plugin>      
+  
+     <plugin>
+       <artifactId>maven-antrun-plugin</artifactId>
+       <inherited>false</inherited>
+       <executions>
+         <execution>
+           <id>clean lib</id>
+           <phase>clean</phase>
+           <configuration>
+             <tasks>                              
+                <delete>
+                  <fileset dir="lib" includes="**/*.jar" excludes="**/.svn" />                 
+                </delete>  
+             </tasks>
+           </configuration>
+           <goals>
+             <goal>run</goal>
+           </goals>
+         </execution>        
+       </executions>
+     </plugin>    
+    
+     <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-tran-dependencies</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>lib</outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <overWriteIfNewer>true</overWriteIfNewer>
+              <stripVersion>true</stripVersion>
+              <includeScope>runtime</includeScope> 
+              <excludeGroupIds>net.sf.jxls</excludeGroupIds>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin> 
+
+     <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack-dependency</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack-dependencies</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>target/classes</outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <overWriteIfNewer>true</overWriteIfNewer>
+              <stripVersion>true</stripVersion>
+              <includeScope>runtime</includeScope> 
+              <includeGroupIds>net.sf.jxls</includeGroupIds>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>       
+    </plugins>
+     
+              <resources>          
+                <resource>
+                  <targetPath>META-INF</targetPath>                
+                  <directory>META-INF</directory>
+                </resource>  
+                <resource>
+                  <targetPath>lib</targetPath>                
+                  <directory>lib</directory>
+                    <includes>
+                      <include>*.jar</include>
+                    </includes>                
+                </resource>                      
+              </resources>       
+  </build>
+
+  <dependencies>
+        <dependency>
+          <groupId>net.sf.jxls</groupId>
+          <artifactId>jxls-reader</artifactId>  
+               <exclusions>
+                    <exclusion>
+                        <groupId>commons-logging</groupId>
+                        <artifactId>commons-logging</artifactId>
+                    </exclusion>  
+                    <exclusion>
+                        <groupId>commons-collections</groupId>
+                        <artifactId>commons-collections</artifactId>
+                    </exclusion> 
+                    <exclusion>
+                        <groupId>commons-beanutils</groupId>
+                        <artifactId>commons-beanutils</artifactId>
+                    </exclusion>     
+                    <exclusion>
+                        <groupId>commons-digester</groupId>
+                        <artifactId>commons-digester</artifactId>
+                    </exclusion>                    
+                    <exclusion>
+                        <groupId>log4j</groupId>
+                        <artifactId>log4j</artifactId>
+                    </exclusion> 
+                    <exclusion>  
+                        <groupId>org.apache.poi</groupId>  
+                        <artifactId>poi</artifactId>  
+                    </exclusion>                     
+               </exclusions>               
+          
+        </dependency>   
+  </dependencies>
+
+</project>


Property changes on: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test
___________________________________________________________________
Name: svn:ignore
   + .settings
eclipse_config
target


Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.classpath
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.classpath	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.classpath	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,84 @@
+<classpath>
+  <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="src" path="src/main/resources" excluding="**/*.java"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="var" path="M2_REPO/javax/activation/com.springsource.javax.activation/1.1.1/com.springsource.javax.activation-1.1.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/javax/jms/com.springsource.javax.jms/1.1.0/com.springsource.javax.jms-1.1.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/javax/xml/bind/com.springsource.javax.xml.bind/2.1.7/com.springsource.javax.xml.bind-2.1.7.jar"/>
+  <classpathentry kind="var" path="M2_REPO/javax/xml/stream/com.springsource.javax.xml.stream/1.0.1/com.springsource.javax.xml.stream-1.0.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.7/antlr-2.7.7.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/antlr/antlr-runtime/3.1.3/antlr-runtime-3.1.3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/sun/msv/com.springsource.com.sun.msv.datatype/0.0.0.20041122/com.springsource.com.sun.msv.datatype-0.0.0.20041122.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/sun/xml/com.springsource.com.sun.tools.xjc/2.1.7/com.springsource.com.sun.tools.xjc-2.1.7.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/sun/xml/com.springsource.com.sun.xml.bind/2.1.7/com.springsource.com.sun.xml.bind-2.1.7.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/sun/xml/com.springsource.com.sun.xml.bind.jaxb1/2.1.7/com.springsource.com.sun.xml.bind.jaxb1-2.1.7.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/sun/xml/com.springsource.com.sun.xml.fastinfoset/1.2.2/com.springsource.com.sun.xml.fastinfoset-1.2.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/thoughtworks/xstream/com.springsource.com.thoughtworks.xstream/1.3.1/com.springsource.com.thoughtworks.xstream-1.3.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/freemarker/com.springsource.freemarker/2.3.15/com.springsource.freemarker-2.3.15.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jboss/javassist/com.springsource.javassist/3.9.0.GA/com.springsource.javassist-3.9.0.GA.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/junit/com.springsource.junit/3.8.2/com.springsource.junit-3.8.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/net/sourceforge/jexcelapi/com.springsource.jxl/2.4.2/com.springsource.jxl-2.4.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/antlr/com.springsource.org.antlr/3.1.3/com.springsource.org.antlr-3.1.3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/antlr/com.springsource.org.antlr.runtime/3.1.3/com.springsource.org.antlr.runtime-3.1.3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.beanutils/1.8.0/com.springsource.org.apache.commons.beanutils-1.8.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.collections/3.2.1/com.springsource.org.apache.commons.collections-3.2.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.digester/1.8.1/com.springsource.org.apache.commons.digester-1.8.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.io/1.4.0/com.springsource.org.apache.commons.io-1.4.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.lang/2.4.0/com.springsource.org.apache.commons.lang-2.4.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/jasper/springsource/com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/6.0.20.S2-r5956/com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-r5956.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/log4j/com.springsource.org.apache.log4j/1.2.15/com.springsource.org.apache.log4j-1.2.15.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/poi/com.springsource.org.apache.poi/3.0.2.FINAL/com.springsource.org.apache.poi-3.0.2.FINAL.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/xerces/com.springsource.org.apache.xerces/2.9.1/com.springsource.org.apache.xerces-2.9.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/xml/com.springsource.org.apache.xml.resolver/1.2.0/com.springsource.org.apache.xml.resolver-1.2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/xmlcommons/com.springsource.org.apache.xmlcommons/1.3.4/com.springsource.org.apache.xmlcommons-1.3.4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/codehaus/janino/com.springsource.org.codehaus.janino/2.5.15/com.springsource.org.codehaus.janino-2.5.15.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/dom4j/com.springsource.org.dom4j/1.6.1/com.springsource.org.dom4j-1.6.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/net/sourceforge/iso-relax/com.springsource.org.iso_relax.verifier/0.0.0.20041111/com.springsource.org.iso_relax.verifier-0.0.0.20041111.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/joda/com.springsource.org.joda.time/1.6.0/com.springsource.org.joda.time-1.6.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jvnet/staxex/com.springsource.org.jvnet.staxex/1.0.0/com.springsource.org.jvnet.staxex-1.0.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/objectweb/asm/com.springsource.org.objectweb.asm/2.2.3/com.springsource.org.objectweb.asm-2.2.3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/com/opensymphony/quartz/com.springsource.org.quartz/1.6.2/com.springsource.org.quartz-1.6.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/relaxng/com.springsource.org.relaxng.datatype/1.0.0/com.springsource.org.relaxng.datatype-1.0.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/xmlpull/com.springsource.org.xmlpull/1.1.4.c/com.springsource.org.xmlpull-1.1.4.c.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.api/1.5.10/com.springsource.slf4j.api-1.5.10.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.juli/1.5.10/com.springsource.slf4j.juli-1.5.10.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.log4j/1.5.3/com.springsource.slf4j.log4j-1.5.3.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/slf4j/com.springsource.slf4j.org.apache.commons.logging/1.5.10/com.springsource.slf4j.org.apache.commons.logging-1.5.10.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/drools/drools-api/5.1.0.SNAPSHOT/drools-api-5.1.0.SNAPSHOT.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/drools/drools-compiler/5.1.0.SNAPSHOT/drools-compiler-5.1.0.SNAPSHOT.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/drools/drools-core/5.1.0.SNAPSHOT/drools-core-5.1.0.SNAPSHOT.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/drools/drools-decisiontables/5.1.0.SNAPSHOT/drools-decisiontables-5.1.0.SNAPSHOT.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/drools/drools-templates/5.1.0.SNAPSHOT/drools-templates-5.1.0.SNAPSHOT.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/antlr/gunit/3.1.3/gunit-3.1.3.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/org/eclipse/equinox/weaving/hook/1.0.0-200905031323/hook-1.0.0-200905031323.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.1/jmock-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jmock/jmock-legacy/2.5.1/jmock-legacy-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/4.6/junit-4.6.jar"/>
+  <classpathentry kind="var" path="M2_REPO/jexcelapi/jxl/2.4.2/jxl-2.4.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/objenesis/objenesis/1.0/objenesis-1.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/equinox/org.eclipse.osgi/3.5/org.eclipse.osgi-3.5.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/equinox/org.eclipse.osgi.services/3.5/org.eclipse.osgi.services-3.5.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.aspects/3.0.0.RELEASE/org.springframework.aspects-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.context.support/3.0.0.RELEASE/org.springframework.context.support-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/osgi/org.springframework.osgi.core/1.2.1/org.springframework.osgi.core-1.2.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/osgi/org.springframework.osgi.extender/1.2.1/org.springframework.osgi.extender-1.2.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/osgi/org.springframework.osgi.extensions.annotation/1.2.1/org.springframework.osgi.extensions.annotation-1.2.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/osgi/org.springframework.osgi.io/1.2.1/org.springframework.osgi.io-1.2.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/osgi/org.springframework.osgi.test/1.2.1/org.springframework.osgi.test-1.2.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/springframework/org.springframework.test/3.0.0.RELEASE/org.springframework.test-3.0.0.RELEASE.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+</classpath>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.project
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.project	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/.project	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,20 @@
+<projectDescription>
+  <name>org.drools.osgi.test</name>
+  <comment>A rule production system</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.ManifestBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.SchemaBuilder</name>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.pde.PluginNature</nature>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/pom.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/pom.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,54 @@
+<?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">
+   <parent>
+      <artifactId>osgi-bundles</artifactId>
+      <groupId>org.drools</groupId>
+      <version>5.1.0.SNAPSHOT</version>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <groupId>org.drools</groupId>
+   <artifactId>org.drools.osgi.test</artifactId>
+   <packaging>jar</packaging>
+   <name>Spring OSGi Test</name>
+   <version>5.1.0.SNAPSHOT</version>
+   <url>http://drools.org</url>
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.5</source>
+               <target>1.5</target>
+            </configuration>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <version>2.5</version>
+            <configuration>
+               <systemPropertyVariables>
+                  <propertyName>propertyValue</propertyName>
+                  <buildDirectory>${project.build.directory}</buildDirectory>
+                  <eclipse.target.area>../plugins</eclipse.target.area>
+                  <eclipse.workspace.area>../..</eclipse.workspace.area>
+               </systemPropertyVariables>
+            </configuration>
+         </plugin>
+	      <plugin>
+	        <groupId>org.apache.maven.plugins</groupId>
+	        <artifactId>maven-eclipse-plugin</artifactId>
+	        <configuration>
+	          <excludes>              	         
+	            <exclude>org.drools:org.drools.osgi.wrapper.mvel2</exclude>
+	            <exclude>org.drools:org.drools.osgi.wrapper.milyn-smooks-javabean</exclude>
+	            <exclude>org.drools:org.drools.osgi.wrapper.jxls-reader</exclude>
+				<exclude>org.mvel:mvel2</exclude>
+	          </excludes>
+	        </configuration>
+	      </plugin>
+         
+      </plugins>
+   </build>
+</project>

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context-osgi.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context-osgi.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context-osgi.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:osgi="http://www.springframework.org/schema/osgi"
+  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+                      http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+
+  <!-- definitions using elements of the osgi namespace can be included
+       in this file. There is no requirement to keep these definitions
+       in a separate file if you do not want to. The rationale for 
+       keeping these definitions separate is to facilitate integration
+       testing of the bundle outside of an OSGi container -->
+</beans>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/META-INF/spring/bundle-context.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+  <!-- regular spring configuration file defining the beans for this
+       bundle. The configuration of OSGi definitions is kept in a separate 
+       configuration file so that this file can easily be used
+       for integration testing outside of an OSGi environment -->
+</beans>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/log4j.properties
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/log4j.properties	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/main/resources/log4j.properties	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,9 @@
+l
+og4j.rootCategory=INFO, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
++log4j.appender.stdout.layout.ConversionPattern=%t %p [%c] - %m%n
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.threshold=TRACE
+
+#log4j.logger.org.springframework.osgi=DEBUG
+#log4j.logger.org.springframework=DEBUG
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/integrationtests/SimpleOsgiTest.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/integrationtests/SimpleOsgiTest.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/integrationtests/SimpleOsgiTest.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,151 @@
+package org.drools.osgi.integrationtests;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.drools.KnowledgeBase;
+import org.drools.KnowledgeBaseConfiguration;
+import org.drools.KnowledgeBaseFactoryService;
+import org.drools.builder.KnowledgeBuilder;
+import org.drools.builder.KnowledgeBuilderConfiguration;
+import org.drools.builder.KnowledgeBuilderFactoryService;
+import org.drools.builder.ResourceType;
+import org.test.decisiontable.Dummy;
+import org.drools.io.ResourceFactoryService;
+import org.drools.osgi.test.AbstractDroolsSpringDMTest;
+import org.drools.runtime.StatefulKnowledgeSession;
+import org.drools.util.ServiceRegistry;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.Constants;
+import org.osgi.framework.ServiceReference;
+import org.springframework.osgi.util.OsgiStringUtils;
+import org.test.Cheese;
+import org.test.Person;
+
+public class SimpleOsgiTest extends AbstractDroolsSpringDMTest {
+
+    public void testOsgiPlatformStarts() throws Exception {
+        System.out.println( bundleContext.getProperty( Constants.FRAMEWORK_VENDOR ) );
+        System.out.println( bundleContext.getProperty( Constants.FRAMEWORK_VERSION ) );
+        System.out.println( bundleContext.getProperty( Constants.FRAMEWORK_EXECUTIONENVIRONMENT ) );
+    }
+
+    public void testOsgiEnvironment() throws Exception {
+        Bundle[] bundles = bundleContext.getBundles();
+        System.out.println( "bundles: " );
+        for ( int i = 0; i < bundles.length; i++ ) {
+            System.out.print( OsgiStringUtils.nullSafeName( bundles[i] ) );
+            System.out.print( ", " );
+        }
+        System.out.println();
+    }
+
+    public void testCompiler() {
+        ServiceReference serviceRef = bundleContext.getServiceReference( ServiceRegistry.class.getName() );
+        ServiceRegistry registry = (ServiceRegistry) bundleContext.getService( serviceRef );
+
+        KnowledgeBuilderFactoryService knowledgeBuilderFactoryService = registry.get( KnowledgeBuilderFactoryService.class );
+        KnowledgeBaseFactoryService knowledgeBaseFactoryService = registry.get( KnowledgeBaseFactoryService.class );
+        ResourceFactoryService resourceFactoryService = registry.get( ResourceFactoryService.class );
+
+        String str = "";
+        str += "package org.test\n";
+        str += "import org.test.Person\n";
+        str += "global java.util.List list\n";
+        str += "rule rule1\n";
+        str += "when\n";
+        str += "    $p : Person( age > 30 )\n";
+        str += "then\n";
+        str += "    list.add($p);\n";
+        str += "end\n";
+
+        KnowledgeBuilderConfiguration kbConf = knowledgeBuilderFactoryService.newKnowledgeBuilderConfiguration( null,
+                                                                                                                getClass().getClassLoader() );
+
+        KnowledgeBuilder kbuilder = knowledgeBuilderFactoryService.newKnowledgeBuilder( kbConf );
+        ResourceFactoryService resource = resourceFactoryService;
+        kbuilder.add( resource.newByteArrayResource( str.getBytes() ),
+                      ResourceType.DRL );
+
+        if ( kbuilder.hasErrors() ) {
+            System.out.println( kbuilder.getErrors() );
+            throw new RuntimeException( kbuilder.getErrors().toString() );
+        }
+
+        KnowledgeBaseConfiguration kbaseConf = knowledgeBaseFactoryService.newKnowledgeBaseConfiguration( null,
+                                                                                                          getClass().getClassLoader() );
+
+        KnowledgeBase kbase = knowledgeBaseFactoryService.newKnowledgeBase( kbaseConf );
+        kbase.addKnowledgePackages( kbuilder.getKnowledgePackages() );
+        StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
+        List list = new ArrayList();
+        ksession.setGlobal( "list",
+                            list );
+
+        ksession.insert( new Person( "name",
+                                     34 ) );
+        ksession.fireAllRules();
+        ksession.dispose();
+
+        assertEquals( 1,
+                      list.size() );
+        assertEquals( new Person( "name",
+                                  34 ),
+                      list.get( 0 ) );
+
+    }
+
+    public void testDecisionTable() {
+        ServiceReference serviceRef = bundleContext.getServiceReference( ServiceRegistry.class.getName() );
+        ServiceRegistry registry = (ServiceRegistry) bundleContext.getService( serviceRef );
+
+        KnowledgeBuilderFactoryService knowledgeBuilderFactoryService = registry.get( KnowledgeBuilderFactoryService.class );
+        KnowledgeBaseFactoryService knowledgeBaseFactoryService = registry.get( KnowledgeBaseFactoryService.class );
+        ResourceFactoryService resourceFactoryService = registry.get( ResourceFactoryService.class );
+
+        KnowledgeBaseConfiguration kbaseConf = knowledgeBaseFactoryService.newKnowledgeBaseConfiguration( null,
+                                                                                                          getClass().getClassLoader() );
+
+        System.out.println( "test dtables started" );
+
+        KnowledgeBuilderConfiguration kbConf = knowledgeBuilderFactoryService.newKnowledgeBuilderConfiguration( null,
+                                                                                                                getClass().getClassLoader() );
+        KnowledgeBuilder kbuilder = knowledgeBuilderFactoryService.newKnowledgeBuilder( kbConf );
+        kbuilder.add( resourceFactoryService.newClassPathResource( "changeset1Test.xml",
+                                                                   Dummy.class ),
+                      ResourceType.CHANGE_SET );
+
+        kbaseConf = knowledgeBaseFactoryService.newKnowledgeBaseConfiguration( null,
+                                                                               getClass().getClassLoader() );
+        KnowledgeBase kbase = knowledgeBaseFactoryService.newKnowledgeBase( kbaseConf );
+        kbase.addKnowledgePackages( kbuilder.getKnowledgePackages() );
+
+        StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
+        List list = new ArrayList();
+        ksession.setGlobal( "list",
+                            list );
+
+        ksession.insert( new Cheese( "cheddar",
+                                     42 ) );
+        ksession.insert( new Person( "michael",
+                                     "stilton",
+                                     25 ) );
+
+        ksession.fireAllRules();
+        ksession.dispose();
+
+        assertEquals( 3,
+                      list.size() );
+
+        assertEquals( "Young man cheddar",
+                      list.get( 0 ) );
+
+        assertEquals( "rule1",
+                      list.get( 1 ) );
+        assertEquals( "rule2",
+                      list.get( 2 ) );
+
+        System.out.println( "test dtables ended" );
+    }
+
+}
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/AbstractDroolsSpringDMTest.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/AbstractDroolsSpringDMTest.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/AbstractDroolsSpringDMTest.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,91 @@
+package org.drools.osgi.test;
+
+import org.drools.osgi.test.utils.EclipseWorkspaceArtifactLocator;
+import org.springframework.core.io.InputStreamResource;
+import org.springframework.core.io.Resource;
+import org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests;
+import org.springframework.osgi.test.platform.OsgiPlatform;
+import org.springframework.osgi.test.provisioning.ArtifactLocator;
+import org.springframework.util.Assert;
+import org.springframework.util.StringUtils;
+
+/**
+ * Abstract Base Class for JUnit Tests in a OSGI Environment
+ * 
+ * @author Frederic Conrotte
+ * @author Jan Blanckenhorn
+ */
+
+public abstract class AbstractDroolsSpringDMTest extends AbstractConfigurableBundleCreatorTests {
+    private static final String TEST_FRAMEWORK_BUNDLES_CONF_FILE = "/boot-bundles.properties";
+    private ArtifactLocator     m_MavenArtifactLocator, m_EclipseArtifactLocator;
+    
+    protected void onSetUp() throws Exception
+    {
+
+    }
+    
+
+    @Override
+    /*
+     * define OSGI/Equinox Properties which are set while starting up OSGI
+     */
+    protected OsgiPlatform createPlatform() {
+        System.setProperty( "osgi.console",
+                            "9000" );
+        System.setProperty( "osgi.framework.extensions",
+                            "osgi.framework.extensions" );
+        return super.createPlatform();
+    }
+
+    @Override
+    protected Resource getTestingFrameworkBundlesConfiguration() {
+        return new InputStreamResource( AbstractDroolsSpringDMTest.class.getResourceAsStream( TEST_FRAMEWORK_BUNDLES_CONF_FILE ) );
+    }
+
+    /**
+     * Use Eclipse artifact locator as default, falls back on Maven artifact
+     * locator in artifact is not found.
+     */
+    protected Resource locateBundle(String bundleId) {
+        Assert.hasText( bundleId,
+                        "bundleId should not be empty" );
+
+        Resource result = null;
+
+        // parse the String
+        String[] artifactId = StringUtils.commaDelimitedListToStringArray( bundleId );
+
+        Assert.isTrue( artifactId.length >= 3,
+                       "the CSV string " + bundleId + " contains too few values" );
+        // TODO: add a smarter mechanism which can handle 1 or 2 values CSVs
+        for ( int i = 0; i < artifactId.length; i++ ) {
+            artifactId[i] = StringUtils.trimWhitespace( artifactId[i] );
+        }
+
+        if ( m_EclipseArtifactLocator == null ) m_EclipseArtifactLocator = new EclipseWorkspaceArtifactLocator();
+
+        result = (artifactId.length == 3 ? m_EclipseArtifactLocator.locateArtifact( artifactId[0],
+                                                                                    artifactId[1],
+                                                                                    artifactId[2] ) : m_EclipseArtifactLocator.locateArtifact( artifactId[0],
+                                                                                                                                               artifactId[1],
+                                                                                                                                               artifactId[2],
+                                                                                                                                               artifactId[3] ));
+
+        if ( result == null ) {
+            if ( m_MavenArtifactLocator == null ) m_MavenArtifactLocator = getLocator();
+
+            result = (artifactId.length == 3 ? m_MavenArtifactLocator.locateArtifact( artifactId[0],
+                                                                                      artifactId[1],
+                                                                                      artifactId[2] ) : m_MavenArtifactLocator.locateArtifact( artifactId[0],
+                                                                                                                                               artifactId[1],
+                                                                                                                                               artifactId[2],
+                                                                                                                                               artifactId[3] ));
+        }
+
+        if ( result == null ) throw new IllegalStateException( bundleId + " not found" );
+
+        return result;
+    }
+
+}

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseArtifactFinder.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseArtifactFinder.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseArtifactFinder.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,332 @@
+package org.drools.osgi.test.utils;
+import java.io.File;
+import java.io.FileFilter;
+import java.io.FileInputStream;
+import java.io.FilenameFilter;
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Properties;
+import java.util.Set;
+import java.util.jar.Attributes;
+import java.util.jar.JarFile;
+import java.util.jar.Manifest;
+
+import org.apache.log4j.Logger;
+import org.osgi.framework.Constants;
+import org.springframework.core.io.FileSystemResource;
+import org.springframework.core.io.Resource;
+
+/**
+ * Find a packaged and unpackaged artifact from Eclipse Workspace and Eclipse Target areas.
+ * Does not use groupId to resolve bundles.
+ * 
+ * @author Frederic Conrotte
+ */
+public class EclipseArtifactFinder {
+
+    private static final Logger log = Logger.getLogger(EclipseArtifactFinder.class);
+    
+    private static final String s_PROP_WORKSPACE_AREA = "eclipse.workspace.area";
+    private static final String s_PROP_TARGET_AREA = "eclipse.target.area";
+
+    private Set<Plugin> m_WorkspacePlugins = new HashSet<Plugin>();
+    private Set<Plugin> m_TargetPlugins = new HashSet<Plugin>();
+
+    private static final String FILE_SCHEME = "file:///";
+    private static final String REFERENCE_PROTOCOL = "reference";
+    
+    private final FileFilter m_DirectoryFilter = new FileFilter() {
+        public boolean accept(File file) {
+            return file.isDirectory();
+        }
+    };
+
+    private final FileFilter m_JARFileFilter = new FileFilter() {
+        public boolean accept(File file) {
+            String fileExtension = getExtension(file.getName());
+            return file.isFile() && "jar".equals(fileExtension);
+        }
+
+        private String getExtension(String fileName) {
+            String ext;
+
+            int dotPlace = fileName.lastIndexOf('.');
+
+            if (dotPlace >= 0)
+               ext = fileName.substring( dotPlace + 1 );
+            else
+               ext = "";
+            
+            return ext;
+        }
+    };
+
+    private final FileFilter m_ManifestDirectoryFilter = new FileFilter() {
+        public boolean accept(File file) {
+            return file.isDirectory() && "META-INF".equalsIgnoreCase(file.getName());
+        }
+    };
+
+    private FilenameFilter m_ManifestFilter = new FilenameFilter(){
+
+        public boolean accept(File file, String aName) {
+            return "MANIFEST.MF".equals(aName);
+        }
+    };
+
+    /**
+     * Quick model for an Eclipse plugin 
+     */
+    private class Plugin
+    {
+        private String m_BundleSymbolicName, m_BundleVersion;
+        private Resource m_Path;
+        private boolean m_IsExploded;
+
+        public Plugin(String aBundleSymbolicName, String aVersion, Resource aPath, boolean isExploded) 
+        {
+            m_BundleSymbolicName = aBundleSymbolicName;
+            m_BundleVersion = aVersion;
+            m_Path = aPath;
+            m_IsExploded = isExploded;
+        }
+        
+        public boolean isExploded() {
+            return m_IsExploded;
+        }
+
+        public boolean match(String artifactId, String version)
+        {
+            return m_BundleSymbolicName.equals(artifactId) && m_BundleVersion.startsWith(version);
+        }
+
+        public String getBundleSymbolicName() {
+            return m_BundleSymbolicName;
+        }
+
+        public void setBundleSymbolicName(String aBundleSymbolicName) {
+            m_BundleSymbolicName = aBundleSymbolicName;
+        }
+
+        public String getBundleVersion() {
+            return m_BundleVersion;
+        }
+
+        public void setBundleVersion(String aBundleVersion) {
+            m_BundleVersion = aBundleVersion;
+        }
+
+        public Resource getPath() {
+            return m_Path;
+        }
+
+        public void setPath(Resource aPath) {
+            m_Path = aPath;
+        }
+        
+        @Override
+        public boolean equals(Object aOther) {
+            if (aOther instanceof Plugin == false)
+                return false;
+
+            if (this == aOther)
+                return true;
+
+            Plugin rhs = (Plugin) aOther;
+            
+            return m_BundleSymbolicName.equals(rhs.getBundleSymbolicName()) && m_BundleVersion.equals(rhs.getBundleVersion()) && m_Path.equals(rhs.getPath());
+        }
+        
+        @Override
+        public int hashCode() {
+            return m_BundleSymbolicName.hashCode() + m_BundleVersion.hashCode() + m_Path.hashCode();
+        }
+        
+        @Override
+        public String toString() {
+            return m_BundleSymbolicName + " " + m_BundleVersion;
+        }
+    }
+    
+    public Resource findArtifact(String aArtifactId, String aVersion) throws IOException {
+        
+        if (m_WorkspacePlugins.isEmpty()) {
+
+            File folder = getEclipseWorkspace();
+            if (folder != null)
+                importPluginFromFolder(folder, m_WorkspacePlugins);
+        }
+
+        if (m_TargetPlugins.isEmpty()) {
+
+            File[] folders = getEclipseTarget();
+            
+            for (File folder : folders)
+                importPluginFromFolder(folder, m_TargetPlugins);
+
+        }
+
+        for (Plugin plugin : m_WorkspacePlugins) {
+            if (plugin.match(aArtifactId, aVersion))
+            {
+                if (plugin.isExploded())
+                    return getExplodedPluginResource(plugin);
+                else
+                    return getJARPluginResource(plugin);
+            }
+        }
+
+        for (Plugin plugin : m_TargetPlugins) {
+            if (plugin.match(aArtifactId, aVersion))
+            {
+                if (plugin.isExploded())
+                    return getExplodedPluginResource(plugin);
+                else
+                    return getJARPluginResource(plugin);
+            }
+        }
+
+        return null;
+    }
+
+    private void importPluginFromFolder(File folder, Set<Plugin> plugins) throws IOException {
+        
+        log.info("Importing plugins from folder " + folder.getAbsolutePath());
+        
+        Set<Resource> eclipseProjects = new HashSet<Resource>();
+        
+        // Scan plugins exploded as unpacked JAR directories
+        for (File projectFolder : folder.listFiles(m_DirectoryFilter))
+            eclipseProjects.add(new FileSystemResource(projectFolder));
+
+        for (Resource resource : eclipseProjects) {
+            Manifest man = getManifestFromProject(resource);
+            if (man != null)
+                addPlugin(plugins, resource, man, true);
+        }
+
+        Set<Resource> packagedBundles = new HashSet<Resource>();
+
+        // Scan plugins provided as JAR files
+        for (File jarFile : folder.listFiles(m_JARFileFilter))
+            packagedBundles.add(new FileSystemResource(jarFile));
+
+        for (Resource resource : packagedBundles) {
+            Manifest man = getManifestFromJAR(resource);
+            if (man != null)
+                addPlugin(plugins, resource, man, false);
+        }
+    }
+
+    private void addPlugin(Set<Plugin> plugins, Resource resource, Manifest man, boolean isExploded) {
+        // read the manifest
+        Attributes attrs = man.getMainAttributes();
+        String symbolicName = attrs.getValue(Constants.BUNDLE_SYMBOLICNAME);
+        
+        if (symbolicName != null)
+        {
+            symbolicName = symbolicName.replace("singleton:=true", "");
+            symbolicName = symbolicName.trim().replace(";", "");
+            
+            String version = attrs.getValue(Constants.BUNDLE_VERSION);
+            
+            if (symbolicName != null && version != null)
+                plugins.add(new Plugin(symbolicName, version, resource, isExploded));
+        }
+    }
+
+    private Resource getJARPluginResource(Plugin aPlugin) throws IOException {
+        return new FileSystemResource(aPlugin.getPath().getFile());
+    }
+
+    private Resource getExplodedPluginResource(Plugin plugin) throws IOException {
+        
+            URL url = new URL(REFERENCE_PROTOCOL, null, FILE_SCHEME + plugin.getPath().getFile().getCanonicalPath() + File.separator + "target" + File.separator + "classes");
+            
+            return new UnpackedOSGiBundleResource(url);
+    }
+
+    /**
+     * Return an Eclipse project's Manifest
+     * @param aResource an Eclipse project resource path
+     * @return The project Manifest, null if none exist
+     * @throws IOException 
+     */
+    private Manifest getManifestFromProject(Resource aResource) throws IOException {
+        
+        try {
+            for (File manifestFolder : aResource.getFile().listFiles(m_ManifestDirectoryFilter)) {
+                for (File manifestFile : manifestFolder.listFiles(m_ManifestFilter))
+                    return new Manifest(new FileInputStream(manifestFile));
+            }
+        } catch (IOException aEx) {
+            log.error("Problem reading MANIFEST.MF from resource" + aResource.getFilename());
+            throw aEx;
+        }
+        
+        return null;
+    }
+
+    /**
+     * Return an Eclipse bundle's JAR Manifest
+     * @param aResource an Eclipse JAR path
+     * @return The JAR Manifest
+     * @throws IOException 
+     */
+    private Manifest getManifestFromJAR(Resource aResource) throws IOException {
+            JarFile jar = new JarFile(aResource.getFile());
+            return jar.getManifest();
+    }
+
+    private File getEclipseWorkspace() {
+        
+        String workspaceAreaProp = System.getProperty(s_PROP_WORKSPACE_AREA, "../..");
+        
+        System.out.println( "workspace area: " + workspaceAreaProp );
+        
+        if (workspaceAreaProp != null)
+            return new File(workspaceAreaProp);
+        else
+            return null;
+        
+    }
+
+    private File[] getEclipseTarget() {
+        
+        List<File> result = new ArrayList<File>();
+        
+        Properties props = System.getProperties();
+
+        for (Iterator<Object> iterator = props.keySet().iterator(); iterator.hasNext();) {
+            String prop = (String) iterator.next();
+            if (prop.startsWith(s_PROP_TARGET_AREA))
+            {
+                System.out.println( "target area: " + System.getProperty(prop) );
+                File f = new File(System.getProperty(prop));
+                if ( !f.isDirectory() ) {
+                    throw new IllegalStateException(s_PROP_TARGET_AREA + " not set.");
+                }                
+                result.add(f);
+            }
+        }
+        
+        if (result.isEmpty()) {
+            File f = new File( "../plugins" );
+            if ( !f.isDirectory() ) {
+                throw new IllegalStateException(s_PROP_TARGET_AREA + " not set.");
+            }
+            result.add( f );
+        }
+        
+        if (result.size() == 0)
+            throw new IllegalStateException(s_PROP_TARGET_AREA + " not set.");
+        else
+            return result.toArray(new File[]{});
+        
+    }
+    
+}

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseWorkspaceArtifactLocator.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseWorkspaceArtifactLocator.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/EclipseWorkspaceArtifactLocator.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,73 @@
+package org.drools.osgi.test.utils;
+import java.io.IOException;
+
+import org.apache.log4j.Logger;
+import org.springframework.core.io.Resource;
+import org.springframework.osgi.test.provisioning.ArtifactLocator;
+
+/**
+ * Locator for artifacts found in the local Eclipse plugins workspace and
+ * target. Does <strong>not</strong> use Eclipse PDE, it rather
+ * uses the Eclipse patterns and conventions to identify the artifacts.
+ * 
+ * It gives priority to workspace bundle over target bundles.
+ * 
+ * @author Frederic Conrotte
+ * 
+ */
+public class EclipseWorkspaceArtifactLocator implements ArtifactLocator {
+
+    private static final Logger log = Logger
+            .getLogger(EclipseWorkspaceArtifactLocator.class);
+    
+    private EclipseArtifactFinder m_ArtifactFinder = new EclipseArtifactFinder();
+
+    /**
+     * Find an artifact in the list of bundles from current Eclipse Workspace.
+     * 
+     * @param groupId
+     *            - not used
+     * @param artifactId
+     *            - the artifact id of the bundle (required)
+     * @param version
+     *            - the version of the bundle (can be null)
+     * @return the String representing the URL location of this bundle
+     */
+    public Resource locateArtifact(String groupId, String artifactId,
+            String version) {
+        return locateArtifact(groupId, artifactId, version,
+                DEFAULT_ARTIFACT_TYPE);
+    }
+
+    public Resource locateArtifact(String groupId, String artifactId,
+            String version, String type) {
+        return localEclipseWorkspaceArtifact(artifactId, version);
+    }
+
+    /**
+     * Locate an artifact in an Eclipse Workspace
+     * 
+     * @param artifactId
+     *            - the artifact id of the bundle (required)
+     * @param version
+     *            - the version of the bundle (can be null)
+     * @return Resource corresponding to the located Eclipse bundle
+     */
+    private Resource localEclipseWorkspaceArtifact(String aArtifactId,
+            String aVersion) {
+        try {
+            Resource res = m_ArtifactFinder.findArtifact(aArtifactId, aVersion);
+            if (res != null && log.isDebugEnabled()) {
+                log.debug("[" + aArtifactId + "|" + aVersion + "] resolved to "
+                        + res.getDescription() + " as a Eclipse artifact");
+            }
+            return res;
+        } catch (IOException ioEx) {
+            throw (RuntimeException) new IllegalStateException("Artifact "
+                    + aArtifactId + "-" + aVersion + " could not be found")
+                    .initCause(ioEx);
+        }
+
+    }
+
+}

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/UnpackedOSGiBundleResource.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/UnpackedOSGiBundleResource.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/drools/osgi/test/utils/UnpackedOSGiBundleResource.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,88 @@
+package org.drools.osgi.test.utils;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.net.URISyntaxException;
+import java.net.URL;
+
+import org.springframework.core.io.UrlResource;
+
+public class UnpackedOSGiBundleResource extends UrlResource {
+
+    public UnpackedOSGiBundleResource(URL aUrl) {
+        super( aUrl );             
+        // copy META-INF and build.properties
+        File file = new File( aUrl.getPath().substring( "file:///".length() ));
+
+        File targetMetaInfDir = new File( file,
+                                          "META-INF" );
+        targetMetaInfDir.mkdir();
+        File targetMetaInf = new File( targetMetaInfDir,
+                                       "MANIFEST.MF" );
+
+        File sourceMetaInfDir = new File( new File( new File( file.getParent() ).getParent() ),
+                                          "META-INF" );
+        File sourceMetaInf = new File( sourceMetaInfDir,
+                                       "MANIFEST.MF" );
+
+        copyfile( sourceMetaInf,
+                  targetMetaInf );
+        
+        File sourceBuildProperties = new File (new File( file.getParent() ).getParent(), "build.properties" );
+        File targetBuildProperties = new File (file, "build.properties" );
+        
+        copyfile( sourceBuildProperties,
+                  targetBuildProperties );        
+    }
+
+    @Override
+    public InputStream getInputStream() throws IOException {
+        return super.getURL().openStream();
+    }
+
+    private void copyfile(File f1,
+                          File f2) {
+        InputStream in = null;
+        OutputStream out = null;
+        try {            
+             in = new FileInputStream( f1 );
+
+            //For Overwrite the file.
+            out = new FileOutputStream( f2 );
+
+            byte[] buf = new byte[1024];
+            int len;
+            while ( (len = in.read( buf )) > 0 ) {
+                out.write( buf,
+                           0,
+                           len );
+            }
+
+        } catch ( FileNotFoundException ex ) {
+            throw new RuntimeException("Unable to copy file from '" + f1.getAbsolutePath() + " to " + f2.getAbsolutePath(), ex );
+        } catch ( IOException e ) {
+            throw new RuntimeException("Unable to copy file from '" + f1.getAbsolutePath() + " to " + f2.getAbsolutePath(), e );
+        } finally {
+            if ( in != null ) {
+                try {
+                    in.close();
+                } catch ( IOException e ) {
+                    throw new RuntimeException("Unable to close Input stream", e );
+                } finally {
+                    if ( out != null ) {
+                        try {
+                            out.close();
+                        } catch ( IOException e ) {
+                            throw new RuntimeException("Unable to close Input stream", e );
+                        }
+                    }                    
+                }
+            }
+        }
+    }
+}

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Cheese.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Cheese.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Cheese.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,45 @@
+package org.test;
+
+/*
+ * Copyright 2005 JBoss Inc
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class Cheese {
+    private String type;
+    private int    price;
+
+    public Cheese() {
+    	
+    }
+    public Cheese(final String type,
+                  final int price) {
+        super();
+        this.type = type;
+        this.price = price;
+    }
+
+    public int getPrice() {
+        return this.price;
+    }
+
+    public String getType() {
+        return this.type;
+    }
+
+    public void setPrice(final int price) {
+        this.price = price;
+    }
+
+}
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Person.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Person.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/Person.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,137 @@
+package org.test;
+
+/*
+ * Copyright 2005 JBoss Inc
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class Person {
+    private String  name;
+    private String  likes;
+    private int     age;
+
+    private char    sex;
+
+    private boolean alive;
+
+    private String  status;
+
+    public Person() {
+
+    }
+
+    public Person(final String name) {
+        this( name,
+              "",
+              0 );
+    }
+
+    public Person(final String name,
+                  final int age) {
+        this( name,
+              "",
+              age );
+    }
+
+    public Person(final String name,
+                  final String likes) {
+        this( name,
+              likes,
+              0 );
+    }
+
+    public Person(final String name,
+                  final String likes,
+                  final int age) {
+        this.name = name;
+        this.likes = likes;
+        this.age = age;
+    }
+
+    public String getStatus() {
+        return this.status;
+    }
+
+    public void setStatus(final String status) {
+        this.status = status;
+    }
+
+    public String getLikes() {
+        return this.likes;
+    }
+
+    public String getName() {
+        return this.name;
+    }
+
+    public int getAge() {
+        return this.age;
+    }
+
+    public boolean isAlive() {
+        return this.alive;
+    }
+
+    public void setAlive(final boolean alive) {
+        this.alive = alive;
+    }
+
+    public char getSex() {
+        return this.sex;
+    }
+
+    public void setSex(final char sex) {
+        this.sex = sex;
+    }
+
+    public String toString() {
+        return "[Person name='" + this.name + "']";
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + age;
+        result = prime * result + (alive ? 1231 : 1237);
+        result = prime * result + ((likes == null) ? 0 : likes.hashCode());
+        result = prime * result + ((name == null) ? 0 : name.hashCode());
+        result = prime * result + sex;
+        result = prime * result + ((status == null) ? 0 : status.hashCode());
+        return result;
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if ( this == obj ) return true;
+        if ( obj == null ) return false;
+        if ( getClass() != obj.getClass() ) return false;
+        Person other = (Person) obj;
+        if ( age != other.age ) return false;
+        if ( alive != other.alive ) return false;
+        if ( likes == null ) {
+            if ( other.likes != null ) return false;
+        } else if ( !likes.equals( other.likes ) ) return false;
+        if ( name == null ) {
+            if ( other.name != null ) return false;
+        } else if ( !name.equals( other.name ) ) return false;
+        if ( sex != other.sex ) return false;
+        if ( status == null ) {
+            if ( other.status != null ) return false;
+        } else if ( !status.equals( other.status ) ) return false;
+        return true;
+    }
+    
+    
+}
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/decisiontable/Dummy.java
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/decisiontable/Dummy.java	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/java/org/test/decisiontable/Dummy.java	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,5 @@
+package org.test.decisiontable;
+
+public class Dummy {
+
+}

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/boot-bundles.properties
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/boot-bundles.properties	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/boot-bundles.properties	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,141 @@
+#
+# Properties file indicating the boot (or mandatory) bundles that are loaded
+# by the testing framework.
+#
+
+#
+# format: <groupId,artifactId,version>=+/-15
+# - the optional value is used to install/remove bundles if running on JDK >= 1.5
+# - see Spring org.springframework.core.JdkVersion for jdk major version codes.
+
+# elements that have to be ignored should star with
+# ignore
+
+# Note: inner placeholders are not supported. 
+
+#
+# common properties
+#
+
+
+# versioning
+ignore.drools.version=5.1.0.SNAPSHOT
+
+ignore.junit.version=3.8.2
+
+ignore.spring.version=3.0.0.RELEASE
+ignore.spring.osgi.version=1.2.1
+ignore.asm.version=2.2.3
+
+# groupIds
+ignore.spring.groupId=org.springframework
+ignore.spring.osgi.groupId=org.springframework.osgi
+
+#
+# actual libraries
+#
+
+# dependencies
+
+# Equinox Aspect bundles have to be started first
+org.aspectj,com.springsource.org.aspectj.runtime,1.6.8.RELEASE
+org.aspectj,com.springsource.org.aspectj.weaver,1.6.8.RELEASE
+org.eclipse.equinox.weaving,aspectj,1.0.0-200905031323
+org.eclipse.equinox.weaving,hook,1.0.0-200905031323
+
+# junit
+org.junit,com.springsource.junit,${ignore.junit.version}=
+
+
+
+#xerces
+
+
+
+#commons
+#org.apache.commons,com.springsource.org.apache.commons.lang,2.4.0
+org.apache.commons,com.springsource.org.apache.commons.collections,3.2.1
+org.apache.commons,com.springsource.org.apache.commons.beanutils,1.8.0
+org.apache.commons,com.springsource.org.apache.commons.digester,1.8.1
+net.sourceforge.jexcelapi,com.springsource.jxl,2.4.2
+
+#logging
+org.slf4j,com.springsource.slf4j.api,1.5.10
+org.slf4j,com.springsource.slf4j.log4j,1.5.3
+org.apache.log4j,com.springsource.org.apache.log4j,1.2.15
+org.apache.commons,com.springsource.org.apache.commons.logging,1.1.1
+
+#javax
+#javax.activation,com.springsource.javax.activation,1.1.1
+#javax.servlet,com.springsource.javax.servlet,2.5.0
+#javax.mail,com.springsource.javax.mail,1.4.0
+
+
+# misc
+org.antlr,com.springsource.org.antlr.runtime,3.1.3
+org.mvel,org.mvel2,2.0.16
+net.sf.jxls,org.drools.osgi.wrapper.jxls-reader,0.9.8
+org.apache.poi,com.springsource.org.apache.poi,3.0.2.FINAL
+
+# compilers
+org.apache.jasper.springsource,com.springsource.org.apache.jasper.org.eclipse.jdt.springsource,6.0.20.S2-r5956
+org.codehaus.janino,com.springsource.org.codehaus.janino,2.5.15
+
+# xstream
+javax.xml.stream,com.springsource.javax.xml.stream,1.0.1
+org.xmlpull,com.springsource.org.xmlpull,1.1.4.c
+com.thoughtworks.xstream,com.springsource.com.thoughtworks.xstream,1.3.1
+
+# xerces
+org.apache.xmlcommons,com.springsource.org.apache.xmlcommons,1.3.4
+org.apache.xml,com.springsource.org.apache.xml.resolver,1.2.0
+org.apache.xerces,com.springsource.org.apache.xerces,2.9.1
+
+# aop alliance
+org.aopalliance,com.springsource.org.aopalliance,1.0.0=
+# asm
+org.objectweb.asm,com.springsource.org.objectweb.asm,${ignore.asm.version}=
+org.springframework,org.springframework.asm,${ignore.spring.version}=
+
+
+# spring libs
+${ignore.spring.groupId},org.springframework.aop,${ignore.spring.version}=
+#${ignore.spring.groupId},org.springframework.aspects,${ignore.spring.version}=
+${ignore.spring.groupId},org.springframework.beans,${ignore.spring.version}=
+${ignore.spring.groupId},org.springframework.context,${ignore.spring.version}=
+${ignore.spring.groupId},org.springframework.context.support,${ignore.spring.version}=
+${ignore.spring.groupId},org.springframework.core,${ignore.spring.version}=
+${ignore.spring.groupId},org.springframework.expression,${ignore.spring.version}=
+#${ignore.spring.groupId},org.springframework.jdbc,${ignore.spring.version}=
+#${ignore.spring.groupId},org.springframework.orm,${ignore.spring.version}=
+${ignore.spring.groupId},org.springframework.test,${ignore.spring.version}=
+#${ignore.spring.groupId},org.springframework.transaction,${ignore.spring.version}=
+#${ignore.spring.groupId},org.springframework.web,${ignore.spring.version}=
+
+#Security
+#org.springframework.security,org.springframework.security,2.0.0.A=
+#org.springframework.security,org.springframework.security.annotation,2.0.0.A=
+#org.samba.jcifs,com.springsource.jcifs,1.2.15
+#org.apache.commons,com.springsource.org.apache.commons.codec,1.3.0
+
+# spring osgi libs
+${ignore.spring.osgi.groupId},org.springframework.osgi.io,${ignore.spring.osgi.version}=
+${ignore.spring.osgi.groupId},org.springframework.osgi.core,${ignore.spring.osgi.version}=
+#${ignore.spring.osgi.groupId},org.springframework.osgi.extensions.annotation,${ignore.spring.osgi.version}=+15
+${ignore.spring.osgi.groupId},org.springframework.osgi.extender,${ignore.spring.osgi.version}=
+${ignore.spring.osgi.groupId},org.springframework.osgi.test,${ignore.spring.osgi.version}=
+
+#equinox
+#org.eclipse.equinox,org.eclipse.equinox.http,1.0.200
+#org.eclipse.equinox,org.eclipse.equinox.cm,1.0.0
+
+#osgi
+org.eclipse.equinox,org.eclipse.osgi.services,3.5
+
+
+org.drools,org.drools.api,${ignore.drools.version}
+org.drools,org.drools.core,${ignore.drools.version}
+org.drools,org.drools.compiler,${ignore.drools.version}
+org.drools,org.drools.templates,${ignore.drools.version}
+org.drools,org.drools.decisiontables,${ignore.drools.version}
+

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/log4j.properties
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/log4j.properties	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/log4j.properties	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,8 @@
+log4j.rootCategory=INFO, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout.ConversionPattern=%t %p [%c] - %m%n
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.threshold=TRACE
+
+#log4j.logger.org.springframework.osgi=DEBUG
+#log4j.logger.org.springframework=DEBUG
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/IntegrationExampleTest.xls
===================================================================
(Binary files differ)


Property changes on: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/IntegrationExampleTest.xls
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.drl
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.drl	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.drl	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,10 @@
+package org.drools.test
+
+global java.util.List list;
+
+rule "rule1"
+	salience 10
+when
+then
+    list.add( "rule1" );
+end
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset1Test.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,11 @@
+<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='classpath:org/test/decisiontable/changeset1Test.drl' type='DRL' />
+	    <resource source='classpath:org/test/decisiontable/IntegrationExampleTest.xls' type="DTABLE">
+	        <decisiontable-conf input-type="XLS" worksheet-name="Tables_2" />
+	    </resource>
+	    <resource source='classpath:org/test/decisiontable/changeset2Test.drl' type='DRL' />
+    </add>
+</change-set>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset2Test.drl
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset2Test.drl	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.drools.osgi.test/src/test/resources/org/test/decisiontable/changeset2Test.drl	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,10 @@
+package org.drools.test
+
+global java.util.List list;
+
+rule "rule2"
+	salience 5
+when
+then
+    list.add( "rule2" );
+end
\ No newline at end of file


Property changes on: labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean
___________________________________________________________________
Name: svn:ignore
   + .externalToolBuilders
.settings
target


Added: labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.classpath
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.classpath	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.classpath	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,20 @@
+<classpath>
+  <classpathentry kind="src" path="META-INF" excluding="**/*.java"/>
+  <classpathentry kind="src" path="lib" including="*.jar" excluding="**/*.java"/>
+  <classpathentry kind="src" path="src/main/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/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.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/org/jmock/jmock/2.5.1/jmock-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jmock/jmock-legacy/2.5.1/jmock-legacy-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/4.6/junit-4.6.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/objenesis/objenesis/1.0/objenesis-1.0.jar"/>
+</classpath>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.project
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.project	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/.project	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,29 @@
+<projectDescription>
+  <name>org.drools.osgi.wrapper.milyn-smooks-javabean</name>
+  <comment>A rule production system</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.ManifestBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.SchemaBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+      <arguments>
+        <dictionary>
+          <key>LaunchConfigHandle</key>
+          <value>&lt;project&gt;/.externalToolBuilders/Maven_Ant_Builder.launch</value>
+        </dictionary>
+      </arguments>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.pde.PluginNature</nature>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/META-INF/MANIFEST.MF	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,64 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Smooks
+Bundle-SymbolicName: org.drools.osgi.wrapper.milyn-smooks-javabean
+Bundle-Version: 1.2
+Bundle-Vendor: JBoss
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ClassPath: .
+Require-Bundle: com.springsource.org.apache.log4j;bundle-version="1.2.15",
+ com.springsource.org.apache.commons.lang;bundle-version="2.4.0",
+ com.springsource.org.apache.commons.logging;bundle-version="1.1.1",
+ com.springsource.org.apache.xmlcommons;bundle-version="1.3.4",
+ com.springsource.com.thoughtworks.xstream;bundle-version="1.3.1",
+ com.springsource.freemarker;bundle-version="2.3.15",
+ com.springsource.javassist;bundle-version="3.9.0",
+ org.drools.osgi.wrapper.mvel2="2.0.12"
+Export-Package: org.milyn,
+ org.milyn.annotation,
+ org.milyn.assertion,
+ org.milyn.cdr,
+ org.milyn.cdr.annotation,
+ org.milyn.cdr.extension,
+ org.milyn.classpath,
+ org.milyn.config,
+ org.milyn.container,
+ org.milyn.container.plugin,
+ org.milyn.container.standalone,
+ org.milyn.db,
+ org.milyn.delivery,
+ org.milyn.delivery.annotation,
+ org.milyn.delivery.dom,
+ org.milyn.delivery.dom.serialize,
+ org.milyn.delivery.java,
+ org.milyn.delivery.ordering,
+ org.milyn.delivery.sax,
+ org.milyn.event,
+ org.milyn.event.report,
+ org.milyn.event.report.annotation,
+ org.milyn.event.report.model,
+ org.milyn.event.types,
+ org.milyn.expression,
+ org.milyn.io,
+ org.milyn.javabean,
+ org.milyn.javabean.context,
+ org.milyn.javabean.decoders,
+ org.milyn.javabean.expression,
+ org.milyn.javabean.ext,
+ org.milyn.javabean.gen,
+ org.milyn.javabean.gen.model,
+ org.milyn.javabean.lifecycle,
+ org.milyn.javabean.pojogen,
+ org.milyn.javabean.repository,
+ org.milyn.net,
+ org.milyn.payload,
+ org.milyn.profile,
+ org.milyn.reflect,
+ org.milyn.resource,
+ org.milyn.servlet,
+ org.milyn.useragent,
+ org.milyn.useragent.request,
+ org.milyn.util,
+ org.milyn.xml
+DynamicImport-Package: *
+

Added: labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/build.properties
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/build.properties	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/build.properties	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,14 @@
+src.includes = .,\
+               build.properties,\
+               META-INF/,\
+               src/,\
+               pom.xml,\
+               lib/
+bin.includes = .,\
+               META-INF/,\
+               build.properties,\
+               lib/
+source.. = src/main/java/,\
+           src/main/resources/
+output.. = target/classes/     
+jars.compile.order = .          

Added: labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/maven-eclipse.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/maven-eclipse.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/maven-eclipse.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,11 @@
+<project default="copy-resources">
+  <target name="init"/>
+  <target name="copy-resources" depends="init">
+    <copy todir="target/classes/META-INF" filtering="false">
+      <fileset dir="META-INF"/>
+    </copy>
+    <copy todir="target/classes/lib" filtering="false">
+      <fileset dir="lib" includes="*.jar"/>
+    </copy>
+  </target>
+</project>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/pom.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.milyn/milyn-smooks-javabean/pom.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,112 @@
+<?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">
+
+  <parent>
+    <artifactId>drools</artifactId>
+    <groupId>org.drools</groupId>
+    <version>5.1.0.SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>org.drools.osgi.wrapper.milyn-smooks-javabean</artifactId>
+  <version>1.2</version>
+  <packaging>jar</packaging>
+
+  <name>Drools :: OSGi :: Wrapper :: milyn-smooks-javabean</name>
+  <build>
+    <plugins>  
+
+            <plugin>
+              <artifactId>maven-jar-plugin</artifactId>
+              <configuration>
+                <archive>  
+                  <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+                </archive> 
+              </configuration>
+            </plugin>    
+      
+     <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack-dependencies</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack-dependencies</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>target/classes</outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <overWriteIfNewer>true</overWriteIfNewer>
+              <stripVersion>true</stripVersion>
+              <includeScope>runtime</includeScope> 
+              <includeGroupIds>org.milyn</includeGroupIds>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>   
+    </plugins>
+     
+              <resources>          
+                <resource>
+                  <targetPath>META-INF</targetPath>                
+                  <directory>META-INF</directory>
+                </resource>  
+                <resource>
+                  <targetPath>lib</targetPath>                
+                  <directory>lib</directory>
+                    <includes>
+                      <include>*.jar</include>
+                    </includes>                
+                </resource>                      
+              </resources>       
+  </build>
+
+  <dependencies>
+            <dependency>
+              <groupId>org.milyn</groupId>
+              <artifactId>milyn-smooks-javabean</artifactId>    
+               <exclusions>
+                    <exclusion>
+                        <groupId>log4j</groupId>
+                        <artifactId>log4j</artifactId>
+                    </exclusion>                
+                    <exclusion>
+                        <groupId>commons-logging</groupId>
+                        <artifactId>commons-logging</artifactId>
+                    </exclusion>  
+                    <exclusion>
+                        <groupId>commons-lang</groupId>
+                        <artifactId>commons-lang</artifactId>
+                    </exclusion> 
+                    <exclusion>
+                        <groupId>com.thoughtworks.xstream</groupId>
+                        <artifactId>xstream</artifactId>
+                    </exclusion>     
+                    <exclusion>
+                        <groupId>org.freemarker</groupId>
+                        <artifactId>freemarker</artifactId>
+                    </exclusion>                    
+                    <exclusion>  
+                        <groupId>javassist</groupId>  
+                        <artifactId>javassist</artifactId>  
+                    </exclusion>   
+                    <exclusion>
+                        <groupId>xml-apis</groupId>
+                        <artifactId>xml-apis</artifactId>
+                    </exclusion>                    
+                    <exclusion>  
+                        <groupId>xerces</groupId>  
+                        <artifactId>xercesImpl</artifactId>  
+                    </exclusion>  
+                    <exclusion>  
+                        <groupId>org.mvel</groupId>  
+                        <artifactId>mvel2</artifactId>  
+                    </exclusion>                    
+               </exclusions>   
+        </dependency>               
+  </dependencies>
+
+</project>


Property changes on: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2
___________________________________________________________________
Name: svn:ignore
   + target


Added: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.classpath
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.classpath	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.classpath	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,16 @@
+<classpath>
+  <classpathentry kind="src" path="." including="build.properties" excluding="**/*.java"/>
+  <classpathentry kind="src" path="src/main/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/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.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/org/jmock/jmock/2.5.1/jmock-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jmock/jmock-legacy/2.5.1/jmock-legacy-2.5.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/4.6/junit-4.6.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/mvel/mvel2/2.0.16/mvel2-2.0.16.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/objenesis/objenesis/1.0/objenesis-1.0.jar"/>
+</classpath>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.project
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.project	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.project	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,29 @@
+<projectDescription>
+  <name>org.drools.osgi.wrapper.mvel2</name>
+  <comment>A rule production system</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.ManifestBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.pde.SchemaBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+      <arguments>
+        <dictionary>
+          <key>LaunchConfigHandle</key>
+          <value>&lt;project&gt;/.externalToolBuilders/Maven_Ant_Builder.launch</value>
+        </dictionary>
+      </arguments>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.pde.PluginNature</nature>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/.settings/org.eclipse.jdt.core.prefs	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,5 @@
+#Fri Feb 12 01:02:07 GMT 2010
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/META-INF/MANIFEST.MF	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,76 @@
+Manifest-Version: 1.0
+Export-Package: org.mvel2;uses:="org.mvel2.util,org.mvel2.conversion,o
+ rg.mvel2.integration.impl,org.mvel2.optimizers.impl.refl.nodes,org.mv
+ el2.integration,org.mvel2.compiler,org.mvel2.ast,org.mvel2.debug";ver
+ sion="2.0.16",org.mvel2.asm;version="2.0.16",org.mvel2.asm.signature;
+ version="2.0.16",org.mvel2.asm.util;uses:="org.mvel2.asm,org.mvel2.as
+ m.signature";version="2.0.16",org.mvel2.ast;uses:="org.mvel2.integrat
+ ion,org.mvel2.optimizers,org.mvel2,org.mvel2.debug,org.mvel2.compiler
+ ,org.mvel2.util,org.mvel2.math,org.mvel2.integration.impl";version="2
+ .0.16",org.mvel2.compiler;uses:="org.mvel2.integration,org.mvel2,org.
+ mvel2.ast,org.mvel2.util,org.mvel2.optimizers,org.mvel2.integration.i
+ mpl,org.mvel2.optimizers.impl.refl.nodes";version="2.0.16",org.mvel2.
+ conversion;uses:="org.mvel2,org.mvel2.util,org.mvel2.compiler";versio
+ n="2.0.16",org.mvel2.debug;uses:="org.mvel2.integration,org.mvel2.uti
+ l,org.mvel2.ast,org.mvel2.compiler,org.mvel2";version="2.0.16",org.mv
+ el2.integration;uses:="org.mvel2.ast";version="2.0.16",org.mvel2.inte
+ gration.impl;uses:="org.mvel2.integration,org.mvel2,org.mvel2.ast,org
+ .mvel2.util";version="2.0.16",org.mvel2.math;uses:="org.mvel2,org.mve
+ l2.debug,org.mvel2.util";version="2.0.16",org.mvel2.optimizers;uses:=
+ "org.mvel2,org.mvel2.util,org.mvel2.compiler,org.mvel2.integration,or
+ g.mvel2.optimizers.dynamic,org.mvel2.optimizers.impl.asm,org.mvel2.op
+ timizers.impl.refl";version="2.0.16",org.mvel2.optimizers.dynamic;use
+ s:="org.mvel2.compiler,org.mvel2.util,sun.misc,org.mvel2.integration,
+ org.mvel2.optimizers,org.mvel2,org.mvel2.optimizers.impl.asm";version
+ ="2.0.16",org.mvel2.optimizers.impl.asm;uses:="org.mvel2.integration,
+ org.mvel2.optimizers.impl.refl.nodes,org.mvel2.util,org.mvel2.asm,org
+ .mvel2.optimizers,org.mvel2,org.mvel2.compiler,org.mvel2.ast";version
+ ="2.0.16",org.mvel2.optimizers.impl.refl;uses:="org.mvel2.optimizers.
+ impl.refl.nodes,org.mvel2.integration,org.mvel2.util,org.mvel2.optimi
+ zers.impl.refl.collection,org.mvel2.optimizers,org.mvel2,org.mvel2.co
+ mpiler,org.mvel2.ast";version="2.0.16",org.mvel2.optimizers.impl.refl
+ .collection;uses:="org.mvel2.integration,org.mvel2.compiler,org.mvel2
+ ,org.mvel2.util";version="2.0.16",org.mvel2.optimizers.impl.refl.node
+ s;uses:="org.mvel2.integration,org.mvel2.compiler,org.mvel2,org.mvel2
+ .util,org.mvel2.ast,org.mvel2.optimizers";version="2.0.16",org.mvel2.
+ sh;uses:="org.mvel2,org.mvel2.templates,org.mvel2.integration.impl,or
+ g.mvel2.integration,org.mvel2.util,org.mvel2.sh.command.basic,org.mve
+ l2.sh.command.file";version="2.0.16",org.mvel2.sh.command.basic;uses:
+ ="org.mvel2.sh,org.mvel2.sh.text,org.mvel2.util,org.mvel2";version="2
+ .0.16",org.mvel2.sh.command.file;uses:="org.mvel2.sh";version="2.0.16
+ ",org.mvel2.sh.text;uses:="org.mvel2.util";version="2.0.16",org.mvel2
+ .templates;uses:="org.mvel2.templates.res,org.mvel2.templates.util,or
+ g.mvel2,org.mvel2.util,org.mvel2.integration.impl,org.mvel2.integrati
+ on,org.mvel2.templates.util.io";version="2.0.16",org.mvel2.templates.
+ res;uses:="org.mvel2.templates,org.mvel2.integration,org.mvel2.templa
+ tes.util,org.mvel2,org.mvel2.util,org.mvel2.integration.impl";version
+ ="2.0.16",org.mvel2.templates.util;uses:="org.mvel2.templates.res,org
+ .mvel2.templates,org.mvel2.util";version="2.0.16",org.mvel2.templates
+ .util.io;uses:="org.mvel2.templates.util,org.mvel2.util";version="2.0
+ .16",org.mvel2.util;uses:="org.mvel2.ast,org.mvel2.integration,org.mv
+ el2,org.mvel2.compiler,org.mvel2.integration.impl,org.mvel2.math,sun.
+ misc";version="2.0.16"
+Bundle-Version: 2.0.16
+Tool: Bnd-0.0.357
+Bundle-Name: mvel2
+Bnd-LastModified: 1265663885274
+Created-By: 1.6.0_18 (Sun Microsystems Inc.)
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: org.mvel2
+Import-Package: org.mvel2;version="2.0",org.mvel2.asm;version="2.0",or
+ g.mvel2.asm.signature;version="2.0",org.mvel2.asm.util;version="2.0",
+ org.mvel2.ast;version="2.0",org.mvel2.compiler;version="2.0",org.mvel
+ 2.conversion;version="2.0",org.mvel2.debug;version="2.0",org.mvel2.in
+ tegration;version="2.0",org.mvel2.integration.impl;version="2.0",org.
+ mvel2.math;version="2.0",org.mvel2.optimizers;version="2.0",org.mvel2
+ .optimizers.dynamic;version="2.0",org.mvel2.optimizers.impl.asm;versi
+ on="2.0",org.mvel2.optimizers.impl.refl;version="2.0",org.mvel2.optim
+ izers.impl.refl.collection;version="2.0",org.mvel2.optimizers.impl.re
+ fl.nodes;version="2.0",org.mvel2.sh;version="2.0",org.mvel2.sh.comman
+ d.basic;version="2.0",org.mvel2.sh.command.file;version="2.0",org.mve
+ l2.sh.text;version="2.0",org.mvel2.templates;version="2.0",org.mvel2.
+ templates.res;version="2.0",org.mvel2.templates.util;version="2.0",or
+ g.mvel2.templates.util.io;version="2.0",org.mvel2.util;version="2.0",
+ sun.misc;resolution:=optional
+Originally-Created-By: 1.6.0_18 (Sun Microsystems Inc.)
+

Added: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/build.properties
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/build.properties	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/build.properties	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,12 @@
+src.includes = .,\
+               build.properties,\
+               META-INF/,\
+               src/,\
+               pom.xml
+bin.includes = .,\
+               META-INF/,\
+               build.properties,\
+source.. = src/main/java/,\
+           src/main/resources/
+output.. = target/classes/     
+jars.compile.order = .          

Added: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/maven-eclipse.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/maven-eclipse.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/maven-eclipse.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,8 @@
+<project default="copy-resources">
+  <target name="init"/>
+  <target name="copy-resources" depends="init">
+    <copy todir="target/classes/META-INF" filtering="false">
+      <fileset dir="META-INF"/>
+    </copy>
+  </target>
+</project>
\ No newline at end of file

Added: labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/pom.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/org.mvel/mvel2/pom.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,75 @@
+<?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">
+
+  <parent>
+    <artifactId>drools</artifactId>
+    <groupId>org.drools</groupId>
+    <version>5.1.0.SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.drools</groupId>
+  <artifactId>org.drools.osgi.wrapper.mvel2</artifactId>
+  <version>2.0.16</version>
+  <packaging>jar</packaging>
+
+  <name>Drools :: OSGi :: Wrapper :: MVEL2</name>
+  <build>
+    <plugins> 
+
+            <plugin>
+              <artifactId>maven-jar-plugin</artifactId>
+              <configuration>
+                <archive>  
+                  <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+                </archive> 
+              </configuration>
+            </plugin>         
+    
+     <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-dependencies</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack-dependencies</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>target/classes</outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <overWriteIfNewer>true</overWriteIfNewer>
+              <stripVersion>true</stripVersion>
+              <includeScope>runtime</includeScope>    
+              <includeGroupIds>org.mvel</includeGroupIds>    
+              <excludes>META-INF/MANIFEST.MF</excludes> 			  
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>   
+    </plugins>
+     
+              <resources>          
+                <!--resource>
+                  <targetPath>META-INF</targetPath>                
+                  <directory>META-INF</directory>
+                </resource-->  
+                <resource>
+                    <directory>.</directory>
+                    <includes>
+                        <include>build.properties</include>                
+                    </includes>                        
+                </resource>                
+              </resources>       
+  </build>
+
+  <dependencies>
+        <dependency>
+          <groupId>org.mvel</groupId>
+          <artifactId>mvel2</artifactId>                         
+        </dependency>   
+  </dependencies>
+
+</project>

Added: labs/jbossrules/trunk/osgi-bundles/pom.xml
===================================================================
--- labs/jbossrules/trunk/osgi-bundles/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/osgi-bundles/pom.xml	2010-02-12 19:55:12 UTC (rev 31644)
@@ -0,0 +1,449 @@
+<?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">
+   <parent>
+      <artifactId>drools</artifactId>
+      <groupId>org.drools</groupId>
+      <version>5.1.0.SNAPSHOT</version>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>osgi-bundles</artifactId>
+   <packaging>pom</packaging>
+   <name>Drools :: OSGi bundles</name>
+   <!--repositories>
+    <repository>  
+      <id>com.springsource.repository.bundles.release</id>  
+      <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> 
+      <url>http://repository.springsource.com/maven/bundles/release</url> 
+    </repository>
+    <repository>
+      <id>com.springsource.repository.bundles.external</id>
+      <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>  
+      <url>http://repository.springsource.com/maven/bundles/external</url> 
+    </repository>   
+  </repositories-->
+  	<properties>
+		<slf4j.version>1.5.10</slf4j.version>
+		<spring.maven.artifact.version>3.0.0.RELEASE</spring.maven.artifact.version>
+		<spring.osgi.version>1.2.1</spring.osgi.version>
+		<equinox.ver>3.5</equinox.ver>		
+	</properties>
+	
+   <modules>
+      <module>jxls/jxls-reader</module>
+      <module>org.milyn/milyn-smooks-javabean</module>
+      <module>org.mvel/mvel2</module>
+	  <module>org.drools.osgi.test</module>
+   </modules>
+   <build>
+      <plugins>
+         <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <inherited>false</inherited>
+            <executions>
+               <execution>
+                  <id>clean plugins</id>
+                  <phase>clean</phase>
+                  <configuration>
+                     <tasks>
+                        <delete>
+                           <fileset dir="plugins" includes="**/*.jar" excludes="**/.svn" />
+                        </delete>
+                     </tasks>
+                  </configuration>
+                  <goals>
+                     <goal>run</goal>
+                  </goals>
+               </execution>
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+	        <inherited>false</inherited>
+            <executions>
+               <execution>
+                  <id>copy-dependencies</id>
+                  <phase>generate-resources</phase>
+                  <goals>
+                     <goal>copy-dependencies</goal>
+                  </goals>				   
+                  <configuration>
+                     <outputDirectory>plugins</outputDirectory>
+                     <overWriteReleases>true</overWriteReleases>
+                     <overWriteSnapshots>true</overWriteSnapshots>
+                     <overWriteIfNewer>true</overWriteIfNewer>
+                     <stripVersion>false</stripVersion>
+                     <includeScope>runtime</includeScope>
+                     <excludeTransitive>true</excludeTransitive>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
+      </plugins>
+   </build>
+   <dependencies>
+      <!-- wrapped -->
+      <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>drools-api</artifactId>
+      </dependency>	
+      <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>drools-core</artifactId>
+      </dependency>	
+	  <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>drools-compiler</artifactId>
+      </dependency>	   
+	  <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>drools-templates</artifactId>
+      </dependency>	 
+	  <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>drools-decisiontables</artifactId>
+      </dependency>	    
+      <!-- wrapped -->
+      <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>org.drools.osgi.wrapper.jxls-reader</artifactId>
+         <version>0.9.8</version>
+         <exclusions>
+            <exclusion>
+               <groupId>net.sf.jxls</groupId>
+               <artifactId>jxls-reader</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>org.drools.osgi.wrapper.milyn-smooks-javabean</artifactId>
+         <version>1.2</version>
+         <exclusions>
+            <exclusion>
+               <groupId>org.milyn</groupId>
+               <artifactId>milyn-smooks-javabean</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+	  
+      <dependency>
+         <groupId>org.drools</groupId>
+         <artifactId>org.drools.osgi.wrapper.mvel2</artifactId>
+         <version>2.0.16</version>
+         <exclusions>
+            <exclusion>
+               <groupId>org.mvel</groupId>
+               <artifactId>mvel2</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>	  
+	  
+	  
+	  <!-- spring -->
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>org.springframework.beans</artifactId>
+			<version>${spring.maven.artifact.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>org.springframework.core</artifactId>
+			<version>${spring.maven.artifact.version}</version>      
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>org.springframework.aop</artifactId>
+			<version>${spring.maven.artifact.version}</version>       
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>org.springframework.aspects</artifactId>
+			<version>${spring.maven.artifact.version}</version>       
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>org.springframework.context</artifactId>
+			<version>${spring.maven.artifact.version}</version>			
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>org.springframework.context.support</artifactId>
+			<version>${spring.maven.artifact.version}</version>			
+		</dependency>	
+       <dependency> 
+          <groupId>org.springframework</groupId>  
+          <artifactId>org.springframework.expression</artifactId>  
+          <version>3.0.0.RELEASE</version> 
+       </dependency>		  
+	  
+	  
+      <dependency>
+         <groupId>net.sourceforge.jexcelapi</groupId>
+         <artifactId>com.springsource.jxl</artifactId>
+         <version>2.4.2</version>
+      </dependency>
+      <dependency>
+         <groupId>com.thoughtworks.xstream</groupId>
+         <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
+         <version>1.3.1</version>
+      </dependency>
+      <!--dependency>
+         <groupId>org.mvel</groupId>
+         <artifactId>mvel2</artifactId>
+         <version>${mvel.dep.version}</version>
+      </dependency-->
+      <dependency>
+         <groupId>org.joda</groupId>
+         <artifactId>com.springsource.org.joda.time</artifactId>
+         <version>1.6.0</version>
+      </dependency>
+      <dependency>
+         <groupId>org.antlr</groupId>
+         <artifactId>com.springsource.org.antlr.runtime</artifactId>
+         <version>3.1.3</version>
+         <exclusions>
+            <exclusion>
+               <groupId>org.antlr</groupId>
+               <artifactId>org.antlr.stringtemplate</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+         <groupId>org.antlr</groupId>
+         <artifactId>com.springsource.org.antlr</artifactId>
+         <version>3.1.3</version>
+         <exclusions>
+            <exclusion>
+               <groupId>org.antlr</groupId>
+               <artifactId>com.springsource.org.antlr.stringtemplate</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.apache.maven</groupId>
+               <artifactId>maven-project</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <!--dependency>
+         <groupId>org.antlr</groupId>
+         <artifactId>gunit</artifactId>
+         <version>3.1.3</version>
+      </dependency-->
+      <dependency>
+         <groupId>org.apache.jasper.springsource</groupId>
+         <artifactId>com.springsource.org.apache.jasper.org.eclipse.jdt.springsource</artifactId>
+         <version>6.0.20.S2-r5956</version>
+      </dependency>
+      <dependency>
+         <groupId>org.codehaus.janino</groupId>
+         <artifactId>com.springsource.org.codehaus.janino</artifactId>
+         <version>2.5.15</version>
+      </dependency>
+	  
+	  <!-- XML -->
+      <dependency>
+         <groupId>javax.xml.stream</groupId>
+         <artifactId>com.springsource.javax.xml.stream</artifactId>
+         <version>1.0.1</version>
+      </dependency>
+      <dependency>  
+	     <groupId>org.apache.xml</groupId>  
+		 <artifactId>com.springsource.org.apache.xml.resolver</artifactId>  
+		 <version>1.2.0</version> 
+      </dependency>	  
+      <dependency>
+         <groupId>org.apache.xerces</groupId>
+         <artifactId>com.springsource.org.apache.xerces</artifactId>
+         <version>2.9.1</version>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.xmlcommons</groupId>
+         <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
+         <version>1.3.4</version>
+      </dependency>
+      <dependency>
+         <groupId>com.sun.xml</groupId>
+         <artifactId>com.springsource.com.sun.xml.bind</artifactId>
+         <version>2.1.7</version>
+      </dependency>
+      <dependency>
+         <groupId>com.sun.xml</groupId>
+         <artifactId>com.springsource.com.sun.tools.xjc</artifactId>
+         <version>2.1.7</version>
+      </dependency>	 	  
+	  
+	  <!-- Logging -->
+		<!--dependency>
+		  <groupId>org.slf4j</groupId>
+		  <artifactId>com.springsource.slf4j.org.apache.commons.logging</artifactId>
+		  <version>${slf4j.version}</version>
+		  <scope>provided</scope>
+		</dependency-->	  
+      <dependency>
+         <groupId>org.slf4j</groupId>
+         <artifactId>com.springsource.slf4j.api</artifactId>
+         <version>1.5.10</version>
+      </dependency>
+      <dependency>
+         <groupId>org.slf4j</groupId>
+         <artifactId>com.springsource.slf4j.log4j</artifactId>
+         <version>1.5.3</version>
+      </dependency>
+      <!--dependency>
+         <groupId>org.slf4j</groupId>
+         <artifactId>com.springsource.slf4j.juli</artifactId>
+         <version>1.5.10</version>
+      </dependency-->
+      <dependency>
+         <groupId>org.apache.log4j</groupId>
+         <artifactId>com.springsource.org.apache.log4j</artifactId>
+         <version>1.2.15</version>
+      </dependency>
+	  
+	  <!-- Apache Commons -->
+      <dependency>
+         <groupId>org.apache.commons</groupId>
+         <artifactId>com.springsource.org.apache.commons.lang</artifactId>
+         <version>2.4.0</version>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.commons</groupId>
+         <artifactId>com.springsource.org.apache.commons.io</artifactId>
+         <version>1.4.0</version>
+      </dependency>	  	  
+      <dependency>
+         <groupId>org.apache.commons</groupId>
+         <artifactId>com.springsource.org.apache.commons.digester</artifactId>
+         <version>1.8.1</version>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.commons</groupId>
+         <artifactId>com.springsource.org.apache.commons.beanutils</artifactId>
+         <version>1.8.0</version>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.commons</groupId>
+         <artifactId>com.springsource.org.apache.commons.collections</artifactId>
+         <version>3.2.1</version>
+      </dependency>
+	  
+	  <!-- Misc -->
+      <dependency>
+         <groupId>com.opensymphony.quartz</groupId>
+         <artifactId>com.springsource.org.quartz</artifactId>
+         <version>1.6.2</version>
+      </dependency>	  
+      <dependency>
+         <groupId>org.apache.poi</groupId>
+         <artifactId>com.springsource.org.apache.poi</artifactId>
+         <version>3.0.2.FINAL</version>
+      </dependency>
+      <dependency>
+         <groupId>javax.jms</groupId>
+         <artifactId>com.springsource.javax.jms</artifactId>
+         <version>1.1.0</version>
+      </dependency> 
+      <dependency>
+         <groupId>org.freemarker</groupId>
+         <artifactId>com.springsource.freemarker</artifactId>
+         <version>2.3.15</version>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.javassist</groupId>
+         <artifactId>com.springsource.javassist</artifactId>
+         <version>3.9.0.GA</version>
+      </dependency>
+      <dependency>
+         <groupId>javax.activation</groupId>
+         <artifactId>com.springsource.javax.activation</artifactId>
+         <version>1.1.1</version>
+      </dependency>
+		<dependency>
+			<groupId>org.aopalliance</groupId>
+			<artifactId>com.springsource.org.aopalliance</artifactId>
+			<version>1.0.0</version>
+			<scope>provided</scope>
+		</dependency>		     		
+		<dependency>
+           <groupId>org.aspectj</groupId>  
+           <artifactId>com.springsource.org.aspectj.runtime</artifactId>  
+           <version>1.6.8.RELEASE</version> 
+		</dependency>	
+		<dependency>
+           <groupId>org.aspectj</groupId>  
+           <artifactId>com.springsource.org.aspectj.weaver</artifactId>  
+           <version>1.6.8.RELEASE</version> 
+		</dependency>		
+		<dependency>
+			<groupId>org.eclipse.equinox.weaving</groupId>
+			<artifactId>aspectj</artifactId>
+			<version>1.0.0-200905031323</version>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.equinox.weaving</groupId>
+			<artifactId>hook</artifactId>
+			<version>1.0.0-200905031323</version>
+		</dependency>	  
+	  
+	  <!-- Test Scoped -->
+		<!-- Equinox OSGi platform -->
+		<dependency>
+	       <groupId>org.eclipse.equinox</groupId>
+		   <artifactId>org.eclipse.osgi</artifactId>
+		   <version>${equinox.ver}</version>
+		   <type>jar</type>
+		   <scope>test</scope>
+		</dependency>
+		
+		<dependency>
+           <groupId>org.eclipse.equinox</groupId>
+           <artifactId>org.eclipse.osgi.services</artifactId>
+           <version>${equinox.ver}</version>
+		   <type>jar</type>
+		   <scope>test</scope>
+		</dependency>		  
+		<dependency>
+		  <groupId>org.junit</groupId>
+		  <artifactId>com.springsource.junit</artifactId>
+		  <version>3.8.2</version>
+		  <scope>test</scope>
+		</dependency>
+	    
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>org.springframework.test</artifactId>
+			<version>${spring.maven.artifact.version}</version>
+			<scope>test</scope>
+		</dependency>
+		
+		<dependency>
+            <groupId>org.springframework.osgi</groupId>  
+            <artifactId>org.springframework.osgi.test</artifactId> 
+			<version>${spring.osgi.version}</version>
+			<scope>test</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>org.springframework.osgi</groupId>
+			<artifactId>org.springframework.osgi.extensions.annotation</artifactId>
+			<version>${spring.osgi.version}</version>
+			<scope>test</scope>
+		</dependency>		
+		
+		<dependency>
+		    <groupId>org.springframework.osgi</groupId>
+		    <artifactId>org.springframework.osgi.extender</artifactId>
+		    <version>${spring.osgi.version}</version>
+		    <scope>test</scope>
+		</dependency>
+		
+       <dependency>  
+          <groupId>org.objectweb.asm</groupId>  
+          <artifactId>com.springsource.org.objectweb.asm</artifactId>  
+          <version>2.2.3</version> 
+		  <scope>test</scope>
+       </dependency> 		
+		
+   </dependencies>
+</project>



More information about the jboss-svn-commits mailing list