Permalink
Browse files

added a new example from FuseByExample for using drools and camel tog…

…ether; about to try auto-generate an archetype from it (wish me luck! :)
  • Loading branch information...
1 parent 80dfbeb commit 3446541b7d957c3140afb3bc7d04cd027244f48b @jstrachan jstrachan committed Oct 5, 2012
View
@@ -1,6 +1,7 @@
target
.idea
*.iml
+*.im
*.ipr
*.iws
overlays
@@ -0,0 +1,73 @@
+pom.xml<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+ Copyright (C) FuseSource, Inc.
+ http://fusesource.com
+
+ 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.
+ -->
+
+<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>
+ <groupId>org.fusesource.archetypes</groupId>
+ <artifactId>archetypes</artifactId>
+ <version>99-master-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>archetype-generator</artifactId>
+
+ <name>${project.artifactId}</name>
+ <description>FuseSource :: Archetype Generator</description>
+
+ <prerequisites>
+ <maven>2.0.9</maven>
+ </prerequisites>
+
+ <properties>
+ </properties>
+
+ <dependencies>
+
+
+ <!-- testing -->
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <mainClass>org.fusesource.tooling.archetype.generator.Main</mainClass>
+ <classpathScope>test</classpathScope>
+ <systemProperties>
+ <systemProperty>
+ <key>basedir</key>
+ <value>${basedir}</value>
+ </systemProperty>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) FuseSource, Inc.
+ http://fusesource.com
+
+ 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.
+ -->
+
+<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/xsd/maven-4.0.0.xsd">
+ <parent>
+ <groupId>org.fusesource</groupId>
+ <artifactId>tooling</artifactId>
+ <version>99-master-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.fusesource.archetypes</groupId>
+ <artifactId>archetypes</artifactId>
+ <packaging>pom</packaging>
+ <name>FuseSource :: Tooling :: Archetypes</name>
+
+ <modules>
+ <module>examples</module>
+<!--
+ <module>archetype-generator</module>
+-->
+ </modules>
+
+
+</project>
@@ -19,9 +19,9 @@
<drools:ksession id="ksession1" type="stateless" name="ksession1" kbase="kbase1" node="node1"/>
- <bean id="droolsHelper" class="com.redhat.example.drools.DroolsCommandHelper"/>
+ <bean id="droolsHelper" class="org.fusesource.example.drools.DroolsCommandHelper"/>
- <bean id="personHelper" class="com.redhat.example.drools.PersonHelper"/>
+ <bean id="personHelper" class="org.fusesource.example.drools.PersonHelper"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
View
@@ -32,6 +32,7 @@
<name>FuseSource :: Tooling</name>
<modules>
+ <module>archetypes</module>
<module>tooling-fabric-all</module>
<module>tooling-jclouds-all</module>
<module>camel-tooling-util</module>

0 comments on commit 3446541

Please sign in to comment.