[jbosstools-commits] JBoss Tools SVN: r17688 - in trunk/bpel/plugins: org.jboss.tools.bpel.cheatsheet and 15 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Sep 22 04:10:46 EDT 2009


Author: Grid.Qian
Date: 2009-09-22 04:10:46 -0400 (Tue, 22 Sep 2009)
New Revision: 17688

Added:
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.classpath
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.project
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.settings/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.settings/org.eclipse.jdt.core.prefs
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/META-INF/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/META-INF/MANIFEST.MF
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/jboss/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/jboss/tools/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/jboss/tools/bpel/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/jboss/tools/bpel/cheatsheet/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/jboss/tools/bpel/cheatsheet/Activator.class
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/cheatsheets/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/cheatsheets/bpel.xml
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/plugin.xml
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/tools/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/tools/bpel/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/tools/bpel/cheatsheet/
   trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/tools/bpel/cheatsheet/Activator.java
Log:
add cheatsheet for bpel

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.classpath
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.classpath	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.classpath	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.project
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.project	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.project	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.jboss.tools.bpel.cheatsheet</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: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/.settings/org.eclipse.jdt.core.prefs	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,8 @@
+#Thu Sep 17 15:54:11 CST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/META-INF/MANIFEST.MF
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/META-INF/MANIFEST.MF	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/META-INF/MANIFEST.MF	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Cheatsheet
+Bundle-SymbolicName: org.jboss.tools.bpel.cheatsheet;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.bpel.cheatsheet.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.ui.cheatsheets
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/jboss/tools/bpel/cheatsheet/Activator.class
===================================================================
(Binary files differ)


Property changes on: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/bin/org/jboss/tools/bpel/cheatsheet/Activator.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/cheatsheets/bpel.xml
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/cheatsheets/bpel.xml	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/cheatsheets/bpel.xml	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?> 
+<cheatsheet title="JBoss BPEL Tutorial">
+
+  <intro>
+      <description>
+      Learn how to use JBoss BPEL editor.
+      </description>
+  </intro>
+
+  <item title="Create a BPEL Project" skip="true">
+      <description>
+      If you want to deploy a bpel staff into JBoss BPEL server, the first step, you need create a BPEL project.
+Of course, if you only need to draw a BPEL process, you don&apos;t need to do the step.
+      </description>
+      <subitem
+            label="Create a BPEL project by selecting &quot;File &gt; New &gt; Project... &gt; BPEL 2.0 &gt; BPEL Project&quot; from the menu bar."
+            skip="false">
+      </subitem>
+      <subitem label="On the first page of the &quot;New BPEL Project&quot; Wizard enter a project name in the &quot;Project Name&quot;  field. Click &quot;Finish&quot; button.">
+      </subitem>
+  </item>
+   
+  <item title="Create a BPEL Process" skip="true">
+    <description>
+    After create a BPEL project,  you can create a BPEL process file in the project. 
+    </description>
+    <subitem
+          label="Create a BPEL process file  by selecting &quot;File &gt; New &gt; Others... &gt; BPEL 2.0 &gt; New BPEL Process File&quot; from the menu bar.">
+	</subitem>
+	<subitem label="On the first page of the &quot;Create a BPEL Process File&quot; Wizard enter a process name in the &quot;BPEL Process Name&quot;  field, a process&apos;s namesapce in the &quot;Namespace&quot; field, and a process&apos;s template in the &quot;Template&quot; field. Click &quot;Next&quot; button.">
+	</subitem>
+	<subitem label="On the second page of the &quot;Create a BPEL Process File&quot; Wizard select the &quot;bpel&quot; folder of the BPEL project. Click &quot;Finish&quot; button.">
+	</subitem>
+  </item>
+
+  <item title="Edit the BPEL Process file" skip="true">
+    <description>
+       For getting a useful BPEL process, you need to edit the BPEL process file by adding some BPEL elements.<br/><br/>
+From the &quot;Palette&quot; view, you can add a BPEL element to the BPEL process by dragging and dropping it.<br/><br/>
+From the &quot;Properties&quot; view, you can edit the attributes of a BPEL element.<br/><br/>
+From the &quot;Tray of the BPEL editor&quot;, you can add a Partner link, Variable, Correlation Set or Message Exchange to the BPEL process.<br/><br/>
+If the &quot;Properties&quot; view and &quot;Palette&quot; view are not opened, you can open the views by right-clicking the BPEL editor and selecting &quot;Show in Properties&quot;, &quot;Show Palette in Palette view&quot;.
+    	 
+    </description>  
+  </item>
+  
+  <item title="Edit the WSDL file" skip="true">
+  <description>
+     For getting a runnable BPEL staff, beside the BPEL process file, you need a WSDL to describe how to use the BPEL process. As default, the system has genereted a WSDL for the BPEL staff. You need to edit it to support your BPEL project. <br/><br/>
+Open the WSDL using the WSDL editor, add &quot;Service&quot; and &quot;Binding&quot; by right-clicking on the WSDL editor, and set the attributes of them in the &quot;Properties&quot; view.
+  </description>
+  </item>
+  
+  <item title="Create a bpel-deploy.xml file" skip="true">
+      <description>
+         If you want to deploy a BPEL project to JBoss BPEL Runtime, you need to create a bpel-deploy.xml file.
+      </description>
+      <subitem label="Create a bpel-deploy.xml by selecting &quot;File &gt; New &gt; Other... &gt; BPEL 2.0 &gt; Apache ODE Deployment Descriptor&quot; from the menu bar.">
+	  </subitem>
+      <subitem label="On the first page of the &quot;Apache ODE Deployment Descriptor&quot; Wizard choose the &quot;bpel&quot; folder of a bpel project in the &quot;BPEL Project&quot;  field and enter &quot;bpel-deploy.xml&quot; in the &quot;File name&quot; field. Click &quot;Finish&quot; button.">
+	  </subitem>
+      <subitem label="Double-click the bpel-deploy.xml file to open it in ODE Descriptor Deployment Editor. In the &quot;Inbound Interfaces&quot; section, click the &quot;Associated Port&quot; column and  in the dropdown box select a BPEL port that is defined in the WSDL file.The Related Service and Binding Used columns should be automatically filled in. Save the bpel-deploy.xml file.">
+	  </subitem>
+  </item>  
+  
+  <item title="Create a JBoss BPEL Server" skip="true">
+      <description>
+         Suppose you have installed the JBoss BPEL Runtime-RiftSaw into a JBoss server, you can create a server in JBoss Tools for JBoss BPEL runtime.
+      </description>  
+      <subitem label="Open the &quot;JBoss Server&quot; view by selecting &quot;Windows &gt; Show View &gt; Other... &gt; Server &gt; JBoss Server view&quot; in the menu bar.">
+	  </subitem>
+      <subitem label="Right-click the JBoss Server view and select &quot;New &gt; Server&quot; to open the New Server Wizard">
+	  </subitem>
+      <subitem label="On the first page of the &quot;New Server&quot; Wizard select &quot;JBoss AS 5.1&quot; in the &quot;Select the server type&quot; field,  input a server name in the &quot;Server name&quot;  field and select a runtime in the &quot;Server runtime environment&quot; field. Click &quot;Next&quot; button.">
+	  </subitem>
+      <subitem label="On the second page of the &quot;New Server&quot; Wizard input your JBoss AS location in the &quot;JBoss AS Location&quot; field. Click &quot;Next&quot; button.">
+	  </subitem>
+      <subitem label="On the third page of the &quot;New Server&quot; Wizard select a BPEL resource in the left column, click &quot;Add &gt;&quot; button to add the BPEL resource to the right column. Click &quot;Finish&quot; button.">
+	  </subitem>
+  </item> 
+  
+  <item title="Deploy the BPEL Process into the JBoss BPEL Server" skip="true">
+      <description>
+         If you don&apos;t add a BPEL resource into the server in the third step of &quot;Create a JBoss BPEL Server&quot;, you can right-click on the server item in the &quot;JBoss Server&quot; view and select the &quot;Add and Removes...&quot;, then you can do the step as the third step of &quot;Create a JBoss BPEL Server&quot;.
+<br/><br/>
+After these steps, you can start the server to test your BPEL staff.
+      </description>
+  </item> 
+</cheatsheet>

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/plugin.xml
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/plugin.xml	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/plugin.xml	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.5"?>
+<plugin>
+   <extension
+         point="org.eclipse.ui.cheatsheets.cheatSheetContent">
+      <category
+            id="org.jboss.tools.bpel.cheatsheet"
+            name="JBoss BPEL Tutorial">
+      </category>
+      <cheatsheet
+            category="org.jboss.tools.bpel.cheatsheet"
+            contentFile="$nl$/cheatsheets/bpel.xml"
+            id="org.jboss.tools.bpel.cheatsheet.bpel"
+            name="JBoss BPEL Tutorial">
+         <description>
+            Learn how to use JBoss BPEL editor
+         </description>
+      </cheatsheet>
+   </extension>
+
+</plugin>
\ No newline at end of file

Added: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/tools/bpel/cheatsheet/Activator.java
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/tools/bpel/cheatsheet/Activator.java	                        (rev 0)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/src/org/jboss/tools/bpel/cheatsheet/Activator.java	2009-09-22 08:10:46 UTC (rev 17688)
@@ -0,0 +1,50 @@
+package org.jboss.tools.bpel.cheatsheet;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+	// The plug-in ID
+	public static final String PLUGIN_ID = "org.jboss.tools.bpel.cheatsheet";
+
+	// The shared instance
+	private static Activator plugin;
+	
+	/**
+	 * The constructor
+	 */
+	public Activator() {
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+	 */
+	public void start(BundleContext context) throws Exception {
+		super.start(context);
+		plugin = this;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+	 */
+	public void stop(BundleContext context) throws Exception {
+		plugin = null;
+		super.stop(context);
+	}
+
+	/**
+	 * Returns the shared instance
+	 *
+	 * @return the shared instance
+	 */
+	public static Activator getDefault() {
+		return plugin;
+	}
+
+}



More information about the jbosstools-commits mailing list