You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/03/10 15:51:01 UTC

svn commit: r635572 - in /activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources: META-INF/maven/ archetype-resources/ archetype-resources/src/main/java/ archetype-resources/src/main/resources/META-INF/services/

Author: ningjiang
Date: Mon Mar 10 07:50:58 2008
New Revision: 635572

URL: http://svn.apache.org/viewvc?rev=635572&view=rev
Log:
CAMEL-48 Changed files to use the packageName and Updated the ReadMe.txt

Modified:
    activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/META-INF/maven/archetype.xml
    activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/ReadMe.txt
    activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectComponent.java
    activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectEndpoint.java
    activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectProducer.java
    activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/resources/META-INF/services/direct

Modified: activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/META-INF/maven/archetype.xml?rev=635572&r1=635571&r2=635572&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/META-INF/maven/archetype.xml (original)
+++ activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/META-INF/maven/archetype.xml Mon Mar 10 07:50:58 2008
@@ -22,9 +22,10 @@
   <sources>
     <source>src/main/java/DirectComponent.java</source>
     <source>src/main/java/DirectEndpoint.java</source>
-    <source>src/main/java/DirectProducer.java</source>  
+    <source>src/main/java/DirectProducer.java</source>         
   </sources>
-  <resources>
+  <resources>    
+    <resource>ReadMe.txt</resource>
     <resource>src/main/resources/META-INF/services/direct</resource>
     <resource>src/main/resources/log4j.properties</resource>   
   </resources>

Modified: activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/ReadMe.txt
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/ReadMe.txt?rev=635572&r1=635571&r2=635572&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/ReadMe.txt (original)
+++ activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/ReadMe.txt Mon Mar 10 07:50:58 2008
@@ -1,6 +1,7 @@
 Camel Component Project
 ====================
-This Project show you a template
+This Project is a template of the Camel component.
+When you create the component project , you need to move the META-INF/services/direct file to META-INF/services/PACKAGE_NAME/FOO where FOO is the URI scheme for your component and any related endpoints created on the fly and PACKAGE_NAME is your component's package name which is replaced the '.' with '/'.
 
 For more help see the Apache Camel documentation
 

Modified: activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectComponent.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectComponent.java?rev=635572&r1=635571&r2=635572&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectComponent.java (original)
+++ activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectComponent.java Mon Mar 10 07:50:58 2008
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package ${groupId};
+package ${packageName};
 
 import org.apache.camel.Endpoint;
 import org.apache.camel.Exchange;

Modified: activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectEndpoint.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectEndpoint.java?rev=635572&r1=635571&r2=635572&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectEndpoint.java (original)
+++ activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectEndpoint.java Mon Mar 10 07:50:58 2008
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package ${groupId};
+package ${packageName};
 
 import java.util.List;
 import java.util.concurrent.CopyOnWriteArrayList;

Modified: activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectProducer.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectProducer.java?rev=635572&r1=635571&r2=635572&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectProducer.java (original)
+++ activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/java/DirectProducer.java Mon Mar 10 07:50:58 2008
@@ -15,7 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package ${groupId};
+package ${packageName};
 
 import org.apache.camel.AsyncCallback;
 import org.apache.camel.AsyncProcessor;

Modified: activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/resources/META-INF/services/direct
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/resources/META-INF/services/direct?rev=635572&r1=635571&r2=635572&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/resources/META-INF/services/direct (original)
+++ activemq/camel/trunk/tooling/archetypes/camel-component/src/main/resources/archetype-resources/src/main/resources/META-INF/services/direct Mon Mar 10 07:50:58 2008
@@ -15,4 +15,4 @@
 # limitations under the License.
 #
 
-class=${groupId}.DirectComponent
+class=${packageName}.DirectComponent