Author: ksobkowiak
Date: Fri May  9 21:44:53 2014
New Revision: 1593626

URL: http://svn.apache.org/r1593626
Log:
SM-2297 Recommend users to install Activiti through the boot features in the 
Activiti guide (closes #2). Thanks to Wim Verreydt for the pull request

Modified:
    
servicemix/documentation/trunk/src/main/scala/org/apache/servicemix/documentation/Helper.scala
    
servicemix/documentation/trunk/src/main/webapp/WEB-INF/scalate/layouts/default.ssp

Modified: 
servicemix/documentation/trunk/src/main/scala/org/apache/servicemix/documentation/Helper.scala
URL: 
http://svn.apache.org/viewvc/servicemix/documentation/trunk/src/main/scala/org/apache/servicemix/documentation/Helper.scala?rev=1593626&r1=1593625&r2=1593626&view=diff
==============================================================================
--- 
servicemix/documentation/trunk/src/main/scala/org/apache/servicemix/documentation/Helper.scala
 (original)
+++ 
servicemix/documentation/trunk/src/main/scala/org/apache/servicemix/documentation/Helper.scala
 Fri May  9 21:44:53 2014
@@ -56,4 +56,9 @@ object Helper {
    */
   def jbi(uri: String) = uri.startsWith("/jbi")
 
+  /**
+   * Determine if this is a page from the Activiti guide
+   */
+  def activiti(uri: String) = uri.startsWith("/activiti")
+
 }

Modified: 
servicemix/documentation/trunk/src/main/webapp/WEB-INF/scalate/layouts/default.ssp
URL: 
http://svn.apache.org/viewvc/servicemix/documentation/trunk/src/main/webapp/WEB-INF/scalate/layouts/default.ssp?rev=1593626&r1=1593625&r2=1593626&view=diff
==============================================================================
--- 
servicemix/documentation/trunk/src/main/webapp/WEB-INF/scalate/layouts/default.ssp
 (original)
+++ 
servicemix/documentation/trunk/src/main/webapp/WEB-INF/scalate/layouts/default.ssp
 Fri May  9 21:44:53 2014
@@ -104,6 +104,12 @@ limitations under the License.
             Take a look at our <a 
href="${uri("/users-guide/getting-started/technology-selection.html")}"</a>technology
 selection guidelines</a> for more information.</p>
           </div>
           <% } %>
+          <% if (activiti(requestUri)) { %>
+                    <div class="warn">
+                      <p>Due to issue <a 
href="https://issues.apache.org/jira/browse/SM-2287";</a>SM-2287</a>, Activiti 
needs to be added in ServiceMix 5 to the boot features before usage.</p>
+                      <p>To add a boot feature, append the feature name to the 
<code>featuresBoot</code> list in the 
<code>etc/org.apache.karaf.features.cfg</code>. Afterwards, remove the data 
directory and start ServiceMix again.</p>
+                    </div>
+                    <% } %>
           <%= body %>
         </div>
       <% } %>
@@ -119,4 +125,4 @@ limitations under the License.
     </div>
   </div>
 </body>
-</html>
\ No newline at end of file
+</html>


Reply via email to