[jboss-svn-commits] JBL Code SVN: r30977 - in labs/jbossrules/trunk/drools-container: drools-osgi and 9 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Jan 7 22:24:55 EST 2010


Author: mark.proctor at jboss.com
Date: 2010-01-07 22:24:54 -0500 (Thu, 07 Jan 2010)
New Revision: 30977

Added:
   labs/jbossrules/trunk/drools-container/drools-osgi/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.classpath
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.project
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/META-INF/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/META-INF/MANIFEST.MF
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/build.properties
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/lib/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/plugin.xml
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/pom.xml
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/processExtension.exsd
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/runtimeRecognizer.exsd
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/java/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/java/org/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/java/org/blah/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/java/org/blah/TestMe.java
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/resources/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/test/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/test/java/
   labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/test/resources/
   labs/jbossrules/trunk/drools-container/drools-osgi/pom.xml
Log:
JBRULES-2351 OSGi Ready
-Committing initial maven module to produce the host plugin


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


Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.classpath
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.classpath	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.classpath	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/main/java"/>
+	<classpathentry kind="src" path="src/main/resources"/>
+	<classpathentry kind="src" path="src/test/java"/>
+	<classpathentry kind="src" path="src/test/resources"/>
+	<classpathentry exported="true" kind="lib" path="lib/activation.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/antlr-runtime.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-beanutils.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-collections.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-digester.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-jexl.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-lang.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-logging.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/drools-bpmn2.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/drools-compiler.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/drools-core.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/drools-decisiontables.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/drools-templates.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/freemarker.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/jaxb-api.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/jaxb-impl.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/jaxb-xjc.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/jms.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/joda-time.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/jxl.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/jxls-reader.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/log4j.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/milyn-commons.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/milyn-smooks-core.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/milyn-smooks-javabean.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/mvel.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/mvel2.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/poi.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/quartz.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/stax-api.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/xpp3_min.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/xpp3.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/xstream.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/drools-api.jar"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.project
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.project	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/.project	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.drools.osgi</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/META-INF/MANIFEST.MF	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,83 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Drools Runtime Plug-in
+Bundle-SymbolicName: org.drools.osgi;singleton:=true
+Bundle-Version: 5.1.0.SNAPSHOT
+Bundle-Activator: org.drools.Activator
+Bundle-Vendor: JBoss, a division of Red Hat
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.jdt.core,
+ org.eclipse.osgi;bundle-version="3.5.1",
+ drools-api;bundle-version="5.1.0"
+Eclipse-BuddyPolicy: registered
+Bundle-ClassPath: .,
+ lib/drools-api.jar,
+ lib/activation.jar,
+ lib/antlr-runtime.jar,
+ lib/commons-beanutils.jar,
+ lib/commons-collections.jar,
+ lib/commons-digester.jar,
+ lib/commons-jexl.jar,
+ lib/commons-lang.jar,
+ lib/commons-logging.jar,
+ lib/drools-bpmn2.jar,
+ lib/drools-compiler.jar,
+ lib/drools-core.jar,
+ lib/drools-decisiontables.jar,
+ lib/drools-templates.jar,
+ lib/freemarker.jar,
+ lib/jaxb-api.jar,
+ lib/jaxb-impl.jar,
+ lib/jaxb-xjc.jar,
+ lib/jms.jar,
+ lib/joda-time.jar,
+ lib/jxl.jar,
+ lib/jxls-reader.jar,
+ lib/log4j.jar,
+ lib/milyn-commons.jar,
+ lib/milyn-smooks-core.jar,
+ lib/milyn-smooks-javabean.jar,
+ lib/mvel.jar,
+ lib/mvel2.jar,
+ lib/poi.jar,
+ lib/quartz.jar,
+ lib/stax-api.jar,
+ lib/xpp3_min.jar,
+ lib/xpp3.jar,
+ lib/xstream.jar
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Import-Package: org.osgi.framework
+Export-Package: org.drools,
+ org.drools.agent,
+ org.drools.builder,
+ org.drools.builder.conf,
+ org.drools.builder.help,
+ org.drools.command,
+ org.drools.command.impl,
+ org.drools.conf,
+ org.drools.definition,
+ org.drools.definition.process,
+ org.drools.definition.rule,
+ org.drools.definition.type,
+ org.drools.event,
+ org.drools.event.io,
+ org.drools.event.knowledgebase,
+ org.drools.event.process,
+ org.drools.event.rule,
+ org.drools.io,
+ org.drools.logger,
+ org.drools.management,
+ org.drools.marshalling,
+ org.drools.persistence.jpa,
+ org.drools.runtime,
+ org.drools.runtime.conf,
+ org.drools.runtime.help,
+ org.drools.runtime.pipeline,
+ org.drools.runtime.process,
+ org.drools.runtime.rule,
+ org.drools.task.service,
+ org.drools.time,
+ org.drools.util,
+ org.drools.vsm
+
+

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/build.properties
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/build.properties	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/build.properties	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,46 @@
+bin.includes = .,\
+               src/main/resources/META-INF/,\
+               plugin.xml,\
+               lib/,\
+               lib/drools-api.jar,\
+               lib/activation.jar,\
+               lib/antlr-runtime.jar,\
+               lib/commons-beanutils.jar,\
+               lib/commons-collections.jar,\
+               lib/commons-digester.jar,\
+               lib/commons-jexl.jar,\
+               lib/commons-lang.jar,\
+               lib/commons-logging.jar,\
+               lib/drools-bpmn2.jar,\
+               lib/drools-compiler.jar,\
+               lib/drools-core.jar,\
+               lib/drools-decisiontables.jar,\
+               lib/drools-templates.jar,\
+               lib/freemarker.jar,\
+               lib/jaxb-api.jar,\
+               lib/jaxb-impl.jar,\
+               lib/jaxb-xjc.jar,\
+               lib/jms.jar,\
+               lib/joda-time.jar,\
+               lib/jxl.jar,\
+               lib/jxls-reader.jar,\
+               lib/log4j.jar,\
+               lib/milyn-commons.jar,\
+               lib/milyn-smooks-core.jar,\
+               lib/milyn-smooks-javabean.jar,\
+               lib/mvel.jar,\
+               lib/mvel2.jar,\
+               lib/poi.jar,\
+               lib/quartz.jar,\
+               lib/stax-api.jar,\
+               lib/xpp3_min.jar,\
+               lib/xpp3.jar,\
+               lib/xstream.jar
+src.includes = src/main/resources/META-INF/,\
+               plugin.xml,\
+               lib/,\
+               .project,\
+               .classpath
+jars.compile.order = .
+source.. = src/main/java/,\
+           src/main/resources/

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/plugin.xml
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/plugin.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/plugin.xml	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+
+
+
+
+
+
+
+
+
+   
+   
+
+
+
+
+   <!-- Extensions for the interactive debugger -->
+
+
+
+   
+
+
+
+   <!-- not used anymore
+   <extension
+         point="org.eclipse.debug.core.sourcePathComputers">
+      <sourcePathComputer
+         class="org.drools.eclipse.launching.DroolsSourcePathComputerDelegate"
+         id="org.drools.eclipse.launching.DroolsSourcePathComputerDelegate">
+      </sourcePathComputer>
+   </extension> -->
+
+
+   <!-- not working if using multipage editor -->
+
+   <!-- not working if using multipage editor -->
+
+
+
+   
+
+
+   <extension-point id="processExtension" name="Process Extension" schema="schema/processExtension.exsd"/>
+   <extension-point id="runtimeRecognizer" name="Drools Runtime Recognizer" schema="schema/runtimeRecognizer.exsd"/>
+
+   
+   <!-- RuleBuilder Extensions -->
+
+
+   
+   <!-- tabbed properties
+   <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
+      <propertyContributor
+            contributorId="org.drools.eclipse.flow.ruleflow.editor.RuleFlowModelEditor"
+            labelProvider="org.drools.eclipse.flow.common.view.property.ProcessLabelProvider"
+            typeMapper="org.drools.eclipse.flow.common.view.property.ProcessTypeMapper">
+         <propertyCategory category="org.drools.eclipse.flow.general"/>
+      </propertyContributor>
+   </extension>
+   
+   <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
+      <propertyTabs contributorId="org.drools.eclipse.flow.ruleflow.editor.RuleFlowModelEditor">
+         <propertyTab 
+            category="org.drools.eclipse.flow.general"   
+            id="org.drools.eclipse.flow.general"
+            label="General"/>
+      </propertyTabs>
+   </extension>
+   
+   <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
+      <propertySections contributorId="org.drools.eclipse.flow.ruleflow.editor.RuleFlowModelEditor">
+         <propertySection
+               class="org.drools.eclipse.flow.ruleflow.view.property.ElementNameSection"
+               id="org.drools.eclipse.flow.ruleflow.view.property.ElementNameSection"
+               tab="org.drools.eclipse.flow.general">
+            <input type="org.drools.eclipse.flow.common.editor.core.ElementWrapper"/>
+         </propertySection>
+         <propertySection
+               class="org.drools.eclipse.flow.ruleflow.view.property.ProcessNameSection"
+               id="org.drools.eclipse.flow.ruleflow.view.property.ProcessNameSection"
+               tab="org.drools.eclipse.flow.general">
+            <input type="org.drools.eclipse.flow.common.editor.core.ProcessWrapper"/>
+         </propertySection>
+      </propertySections>
+   </extension> --> 
+   
+</plugin>

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/pom.xml	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,128 @@
+<?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-osgi</artifactId>
+    <groupId>org.drools</groupId>
+    <version>5.1.0.SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>org.drools.osgi</artifactId>
+  <packaging>jar</packaging>
+
+  <name>Drools :: Container :: OSGi :: Plugin</name>
+  <build>
+    <plugins>    
+    
+     <!--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-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>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin-->  
+
+    </plugins>
+    
+   <resources>
+     <resource>
+         <directory>META-INF</directory>      
+     </resource>
+     <resource>
+         <directory>lib</directory>       
+     </resource>     
+   </resources>
+    
+  </build>
+
+  <dependencies>
+
+    <!-- this should include core and compiler -->
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-decisiontables</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.eclipse.jdt</groupId>
+          <artifactId>core</artifactId>
+        </exclusion>
+
+        <exclusion>
+          <groupId>janino</groupId>
+          <artifactId>janino</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-bpmn2</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.eclipse.jdt</groupId>
+          <artifactId>core</artifactId>
+        </exclusion>
+
+        <exclusion>
+          <groupId>janino</groupId>
+          <artifactId>janino</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-bpmn2</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.eclipse.jdt</groupId>
+          <artifactId>core</artifactId>
+        </exclusion>
+
+        <exclusion>
+          <groupId>janino</groupId>
+          <artifactId>janino</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>     
+    
+
+    
+</dependencies>
+
+</project>

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/processExtension.exsd
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/processExtension.exsd	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/processExtension.exsd	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,102 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.drools.eclipse">
+<annotation>
+      <appInfo>
+         <meta.schema plugin="org.drools.eclipse" id="processwrapperbuilder" name="ProcessWrapper Builder"/>
+      </appInfo>
+      <documentation>
+         [Enter description of this extension point.]
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <complexType>
+         <sequence>
+            <element ref="processExtension"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appInfo>
+                  <meta.attribute translatable="true"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="processExtension">
+      <complexType>
+         <attribute name="className" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="since"/>
+      </appInfo>
+      <documentation>
+         [Enter the first release in which this extension point appears.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         
+      </documentation>
+   </annotation>
+
+</schema>

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/runtimeRecognizer.exsd
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/runtimeRecognizer.exsd	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/schema/runtimeRecognizer.exsd	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,102 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.drools.eclipse" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+      <appinfo>
+         <meta.schema plugin="org.drools.eclipse" id="runtimeRecognizer" name="Drools Runtime Recognizer"/>
+      </appinfo>
+      <documentation>
+         [Enter description of this extension point.]
+      </documentation>
+   </annotation>
+
+   <element name="extension">
+      <annotation>
+         <appinfo>
+            <meta.element />
+         </appinfo>
+      </annotation>
+      <complexType>
+         <choice>
+            <element ref="recognizer"/>
+         </choice>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appinfo>
+                  <meta.attribute translatable="true"/>
+               </appinfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="recognizer">
+      <complexType>
+         <attribute name="class" type="string">
+            <annotation>
+               <documentation>
+                  
+               </documentation>
+               <appinfo>
+                  <meta.attribute kind="java" basedOn=":org.drools.eclipse.util.DroolsRuntimeRecognizer"/>
+               </appinfo>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appinfo>
+         <meta.section type="since"/>
+      </appinfo>
+      <documentation>
+         [Enter the first release in which this extension point appears.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appinfo>
+         <meta.section type="examples"/>
+      </appinfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appinfo>
+         <meta.section type="apiinfo"/>
+      </appinfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appinfo>
+         <meta.section type="implementation"/>
+      </appinfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension point.]
+      </documentation>
+   </annotation>
+
+
+</schema>

Added: labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/java/org/blah/TestMe.java
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/java/org/blah/TestMe.java	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/org.drools.osgi/src/main/java/org/blah/TestMe.java	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,5 @@
+package org.blah;
+
+public class TestMe {
+
+}

Added: labs/jbossrules/trunk/drools-container/drools-osgi/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-container/drools-osgi/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-container/drools-osgi/pom.xml	2010-01-08 03:24:54 UTC (rev 30977)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>drools-container</artifactId>
+    <groupId>org.drools</groupId>
+    <version>5.1.0.SNAPSHOT</version>
+  </parent>
+
+  <artifactId>drools-osgi</artifactId>
+  <packaging>pom</packaging>
+  <name>Drools :: Container :: OSGi</name>
+  
+  <modules>
+      <module>org.drools.osgi</module>
+  </modules>
+  
+</project>



More information about the jboss-svn-commits mailing list