You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/09/25 14:02:39 UTC
svn commit: r449662 - in /incubator/servicemix/site/main:
creating-a-standard-jbi-component.html guides.html
notes-on-creating-jbi-component-using-maven2.html tutorials.html
Author: chirino
Date: Mon Sep 25 05:02:37 2006
New Revision: 449662
URL: http://svn.apache.org/viewvc?view=rev&rev=449662
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/main/creating-a-standard-jbi-component.html
incubator/servicemix/site/main/guides.html
incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html
incubator/servicemix/site/main/tutorials.html
Modified: incubator/servicemix/site/main/creating-a-standard-jbi-component.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/creating-a-standard-jbi-component.html?view=diff&rev=449662&r1=449661&r2=449662
==============================================================================
--- incubator/servicemix/site/main/creating-a-standard-jbi-component.html (original)
+++ incubator/servicemix/site/main/creating-a-standard-jbi-component.html Mon Sep 25 05:02:37 2006
@@ -119,16 +119,17 @@
<H2><A name="CreatingaStandardJBIComponent-Usingthemaven2archetype"></A>Using the maven2 archetype</H2>
-<P>Run the following command:</P>
+<P>Run the following command (remove the trailing backshlashes and make it one line):</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-service-engine \
- -DarchetypeVersion=1.0-incubating-SNAPSHOT \
+ -DarchetypeVersion=3.0-incubating \
-DgroupId=org.apache.servicemix.xslt \
-DartifactId=servicemix-xslt</PRE>
</DIV></DIV>
-<P>The first three parameters identify the maven 2 archetype to use, while the last two parameters are used for the generated maven 2 project.</P>
+<P>The first three parameters identify the maven 2 archetype to use, while the last two parameters are used for the generated maven 2 project. The version information "3.0-incubating" may have to be changed; just look at any of ServiceMix' <EM>pom.xml</EM> for the version you are using.</P>
+
<P>This will create the following files:</P>
<DIV class="code"><DIV class="codeContent">
@@ -224,9 +225,35 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Aug 01, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=5293&originalId=9489">view change</A>)
-
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A> on Sep 25, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=5293&originalId=13801">view change</A>)
+ <SPAN id="show" class="inline-control-link"><A href="" onclick="showComment(); return false;">show comment</A></SPAN>
+ <SPAN id="hide" class="inline-control-link" style="display:none;"><A href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
+ <DIV id="versionComment" class="noteMacro" style="display:none; padding: 5px;">
+ <B>Comment:</B>
+ updated command + extended information<BR>
+ <SPAN class="smalltext"><A href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=5293">View page history</A></SPAN>
+ </DIV>
+
+ <SCRIPT>
+ var show = document.getElementById('show');
+ var hide = document.getElementById('hide');
+ var versionComment = document.getElementById('versionComment');
+
+ function showComment(){
+ show.style.display = 'none';
+ hide.style.display = 'inline';
+ versionComment.style.display = 'block';
+ }
+
+ function hideComment(){
+ show.style.display = 'inline';
+ hide.style.display = 'none';
+ versionComment.style.display = 'none';
+ }
+
+ </SCRIPT>
+
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=5293">edit page</A>)
</DIV>
Modified: incubator/servicemix/site/main/guides.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/guides.html?view=diff&rev=449662&r1=449661&r2=449662
==============================================================================
--- incubator/servicemix/site/main/guides.html (original)
+++ incubator/servicemix/site/main/guides.html Mon Sep 25 05:02:37 2006
@@ -126,28 +126,28 @@
<a href="javascript:hideChildren()">Hide Children</a></span>
</div>
<div class="greybox" id="children" style="display: none;">
- <a href="http://goopen.org/confluence/display/SM/Getting+Started+Guide" title="Getting Started Guide">Getting Started Guide</a>
+ <a href="http://goopen.org/confluence/display/SM/Clustering" title="Clustering">Clustering</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/NMR+Flows" title="NMR Flows">NMR Flows</a>
+ <a href="http://goopen.org/confluence/display/SM/Management" title="Management">Management</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/Transactions" title="Transactions">Transactions</a>
+ <a href="http://goopen.org/confluence/display/SM/Load+Balancing" title="Load Balancing">Load Balancing</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/servicemix- common" title="servicemix- common">servicemix- common</a>
+ <a href="http://goopen.org/confluence/display/SM/Configuration" title="Configuration">Configuration</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/Configuration" title="Configuration">Configuration</a>
+ <a href="http://goopen.org/confluence/display/SM/servicemix- common" title="servicemix- common">servicemix- common</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/Load+Balancing" title="Load Balancing">Load Balancing</a>
+ <a href="http://goopen.org/confluence/display/SM/NMR+Flows" title="NMR Flows">NMR Flows</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/Management" title="Management">Management</a>
+ <a href="http://goopen.org/confluence/display/SM/Getting+Started+Guide" title="Getting Started Guide">Getting Started Guide</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/Clustering" title="Clustering">Clustering</a>
+ <a href="http://goopen.org/confluence/display/SM/Transactions" title="Transactions">Transactions</a>
<span class="smalltext">(ServiceMix)</span>
<br>
</div>
Modified: incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html?view=diff&rev=449662&r1=449661&r2=449662
==============================================================================
--- incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html (original)
+++ incubator/servicemix/site/main/notes-on-creating-jbi-component-using-maven2.html Mon Sep 25 05:02:37 2006
@@ -124,24 +124,26 @@
<P><FONT color="#cc3300">Check if you have maven2 installed, if not then please install it.</FONT> <SPAN class="nobr"><A href="http://maven.apache.org/download.html#Installation" title="Visit page outside Confluence" rel="nofollow">http://maven.apache.org/download.html#Installation<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
-<P><B>1)</B> To create a JBI component as you might have guessed by now - run the mvn command: (needless to say you should create a new directory where you want all your stuff to be generated )</P>
+<P><B>1)</B> To create a JBI component as you might have guessed by now - run the mvn command: (needless to say you should create a new directory where you want all your stuff to be generated and you have to remove the trailing backshlashes and make it one line)</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">mvn archetype:create \
- -DarchetypeGroupId=org.apache.servicemix.tooling \
- -DarchetypeArtifactId=servicemix-service-engine \
- -DarchetypeVersion=1.0-incubating-SNAPSHOT \
- -DgroupId=org.apache.servicemix.<SPAN class="code-keyword">package</SPAN> \
- -DartifactId=servicemix-<SPAN class="code-keyword">package</SPAN></PRE>
+ -DarchetypeGroupId=org.apache.servicemix.tooling \
+ -DarchetypeArtifactId=servicemix-service-engine \
+ -DarchetypeVersion=3.0-incubating \
+ -DgroupId=org.apache.servicemix.<SPAN class="code-keyword">package</SPAN> \
+ -DartifactId=servicemix-<SPAN class="code-keyword">package</SPAN></PRE>
</DIV></DIV>
<P>Well, notice the text in blue in the above mvn command. This is meant to be the package info. So if you are creating a component which maybe does some xslt transformation then you would end up with something like:</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">mvn archetype:create \
- -DarchetypeGroupId=org.apache.servicemix.tooling \
- -DarchetypeArtifactId=servicemix-service-engine \
- -DarchetypeVersion=1.0-incubating-SNAPSHOT \
- -DgroupId=org.apache.servicemix.xslt \
- -DartifactId=servicemix-xslt</PRE>
+ -DarchetypeGroupId=org.apache.servicemix.tooling \
+ -DarchetypeArtifactId=servicemix-service-engine \
+ -DarchetypeVersion=1.0-incubating-SNAPSHOT \
+ -DgroupId=org.apache.servicemix.xslt \
+ -DartifactId=servicemix-xslt</PRE>
</DIV></DIV>
+<P>The version information "3.0-incubating" may have to be changed; just look at any of ServiceMix' <EM>pom.xml</EM> for the version you are using.</P>
+
<P><B> 2)</B> After you have successfully run the above command this is what you would end up with </P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">servicemix-xslt\
@@ -167,7 +169,7 @@
xslt\
MySpringComponentTest.java
resources\
- spring.xml </PRE>
+ spring.xml</PRE>
</DIV></DIV>
<P> <BR>
Now you might be wondering why all the classes have the word "My" prefixed to them. Don't worry these are just driven from the template, you just need to rename them to whatever you want to. Just make sure you change the corresponding resource files, change "My" to whatever prefix that you used for the classes.</P>
@@ -188,9 +190,35 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=soumadeep">Soumadeep Sen</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=soumadeep">Soumadeep Sen</A> on Aug 06, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=9560&originalId=9579">view change</A>)
-
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A> on Sep 25, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=9560&originalId=13802">view change</A>)
+ <SPAN id="show" class="inline-control-link"><A href="" onclick="showComment(); return false;">show comment</A></SPAN>
+ <SPAN id="hide" class="inline-control-link" style="display:none;"><A href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
+ <DIV id="versionComment" class="noteMacro" style="display:none; padding: 5px;">
+ <B>Comment:</B>
+ updated command + extended information<BR>
+ <SPAN class="smalltext"><A href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=9560">View page history</A></SPAN>
+ </DIV>
+
+ <SCRIPT>
+ var show = document.getElementById('show');
+ var hide = document.getElementById('hide');
+ var versionComment = document.getElementById('versionComment');
+
+ function showComment(){
+ show.style.display = 'none';
+ hide.style.display = 'inline';
+ versionComment.style.display = 'block';
+ }
+
+ function hideComment(){
+ show.style.display = 'inline';
+ hide.style.display = 'none';
+ versionComment.style.display = 'none';
+ }
+
+ </SCRIPT>
+
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=9560">edit page</A>)
</DIV>
Modified: incubator/servicemix/site/main/tutorials.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/tutorials.html?view=diff&rev=449662&r1=449661&r2=449662
==============================================================================
--- incubator/servicemix/site/main/tutorials.html (original)
+++ incubator/servicemix/site/main/tutorials.html Mon Sep 25 05:02:37 2006
@@ -126,16 +126,16 @@
<a href="javascript:hideChildren()">Hide Children</a></span>
</div>
<div class="greybox" id="children" style="display: none;">
- <a href="http://goopen.org/confluence/display/SM/Creating+a+protocol+bridge" title="Creating a protocol bridge">Creating a protocol bridge</a>
+ <a href="http://goopen.org/confluence/display/SM/Spring+Client+Toolkit" title="Spring Client Toolkit">Spring Client Toolkit</a>
<span class="smalltext">(ServiceMix)</span>
<br>
<a href="http://goopen.org/confluence/display/SM/Deploying+Lightweight+Components+Tutorial" title="Deploying Lightweight Components Tutorial">Deploying Lightweight Components Tutorial</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/Creating+a+Standard+JBI+Component" title="Creating a Standard JBI Component">Creating a Standard JBI Component</a>
+ <a href="http://goopen.org/confluence/display/SM/Creating+a+protocol+bridge" title="Creating a protocol bridge">Creating a protocol bridge</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/Spring+Client+Toolkit" title="Spring Client Toolkit">Spring Client Toolkit</a>
+ <a href="http://goopen.org/confluence/display/SM/Creating+a+Standard+JBI+Component" title="Creating a Standard JBI Component">Creating a Standard JBI Component</a>
<span class="smalltext">(ServiceMix)</span>
<br>
</div>