[jboss-svn-commits] JBL Code SVN: r11868 - in labs/jbossesb/trunk/product/tools: esbwizard and 29 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue May 15 16:48:56 EDT 2007


Author: tcunning
Date: 2007-05-15 16:48:56 -0400 (Tue, 15 May 2007)
New Revision: 11868

Added:
   labs/jbossesb/trunk/product/tools/esbwizard/
   labs/jbossesb/trunk/product/tools/esbwizard/.classpath
   labs/jbossesb/trunk/product/tools/esbwizard/.packaging
   labs/jbossesb/trunk/product/tools/esbwizard/.project
   labs/jbossesb/trunk/product/tools/esbwizard/.settings/
   labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.ltk.core.refactoring.prefs
   labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.pde.core.prefs
   labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.hibernate.eclipse.console.prefs
   labs/jbossesb/trunk/product/tools/esbwizard/META-INF/
   labs/jbossesb/trunk/product/tools/esbwizard/META-INF/MANIFEST.MF
   labs/jbossesb/trunk/product/tools/esbwizard/build.properties
   labs/jbossesb/trunk/product/tools/esbwizard/icons/
   labs/jbossesb/trunk/product/tools/esbwizard/icons/sample.gif
   labs/jbossesb/trunk/product/tools/esbwizard/lib/
   labs/jbossesb/trunk/product/tools/esbwizard/lib/commons-io-1.2.jar
   labs/jbossesb/trunk/product/tools/esbwizard/plugin.xml
   labs/jbossesb/trunk/product/tools/esbwizard/src/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBNewWizard.java
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBProjectCreator.java
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/esb/eclipse/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/esb/eclipse/template/
   labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/esb/eclipse/template/Activator.java
   labs/jbossesb/trunk/product/tools/esbwizard/template.jar
   labs/jbossesb/trunk/product/tools/esbwizard/template/
   labs/jbossesb/trunk/product/tools/esbwizard/template/build.properties
   labs/jbossesb/trunk/product/tools/esbwizard/template/build.xml
   labs/jbossesb/trunk/product/tools/esbwizard/template/deployment.xml
   labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service-scoped.xml
   labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service.xml
   labs/jbossesb/trunk/product/tools/esbwizard/template/jboss-esb.xml
   labs/jbossesb/trunk/product/tools/esbwizard/template/jbossesb-properties.xml
   labs/jbossesb/trunk/product/tools/esbwizard/template/jndi.properties
   labs/jbossesb/trunk/product/tools/esbwizard/template/juddi.properties
   labs/jbossesb/trunk/product/tools/esbwizard/template/lib/
   labs/jbossesb/trunk/product/tools/esbwizard/template/lib/ext/
   labs/jbossesb/trunk/product/tools/esbwizard/template/lib/ext/jboss-messaging-client.jar
   labs/jbossesb/trunk/product/tools/esbwizard/template/lib/ext/jbossall-client.jar
   labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-listeners.jar
   labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-rosetta.jar
   labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-services.jar
   labs/jbossesb/trunk/product/tools/esbwizard/template/log4j.xml
   labs/jbossesb/trunk/product/tools/esbwizard/template/readme.txt
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java
   labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/tools/updatesite/
   labs/jbossesb/trunk/product/tools/updatesite/build.xml
   labs/jbossesb/trunk/product/tools/updatesite/features/
   labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0.jar
   labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0/
   labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0/feature.xml
   labs/jbossesb/trunk/product/tools/updatesite/plugins/
   labs/jbossesb/trunk/product/tools/updatesite/plugins/org.jboss.soa.esb.eclipse.template_1.0.0.jar
   labs/jbossesb/trunk/product/tools/updatesite/site.xml
Log:
bug:JBESB-374
Commit ESB eclipse template plugin and update site.


Added: labs/jbossesb/trunk/product/tools/esbwizard/.classpath
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/.classpath	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/.classpath	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="lib" path="lib/commons-io-1.2.jar"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Added: labs/jbossesb/trunk/product/tools/esbwizard/.packaging
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/.packaging	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/.packaging	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configurations/>

Added: labs/jbossesb/trunk/product/tools/esbwizard/.project
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/.project	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/.project	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>esbwizard</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: labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.ltk.core.refactoring.prefs
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.ltk.core.refactoring.prefs	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.ltk.core.refactoring.prefs	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,3 @@
+#Wed May 09 15:01:42 EDT 2007
+eclipse.preferences.version=1
+org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false

Added: labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.pde.core.prefs
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.pde.core.prefs	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.eclipse.pde.core.prefs	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,3 @@
+#Wed May 09 16:11:38 EDT 2007
+eclipse.preferences.version=1
+selfhosting.binExcludes=/esbwizard/bin

Added: labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.hibernate.eclipse.console.prefs
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.hibernate.eclipse.console.prefs	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/.settings/org.hibernate.eclipse.console.prefs	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,4 @@
+#Wed May 09 15:01:41 EDT 2007
+default.configuration=
+eclipse.preferences.version=1
+hibernate3.enabled=false

Added: labs/jbossesb/trunk/product/tools/esbwizard/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/META-INF/MANIFEST.MF	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,23 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Esbwizard Plug-in
+Bundle-SymbolicName: org.jboss.soa.esb.eclipse.template; singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.soa.esb.eclipse.template.Activator
+Bundle-Vendor: JBoss
+Bundle-Localization: plugin
+Bundle-ClassPath: template.jar,lib/commons-io-1.2.jar
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui.ide,
+ org.eclipse.jdt.core,
+ org.eclipse.jdt.launching
+Eclipse-LazyStart: true
+Export-Package: META-INF,
+ org.apache.commons.io,
+ org.apache.commons.io.filefilter,
+ org.apache.commons.io.input,
+ org.apache.commons.io.output,
+ org.jboss.soa.eclipse.wizards,
+ org.jboss.soa.esb.eclipse.template

Added: labs/jbossesb/trunk/product/tools/esbwizard/build.properties
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/build.properties	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/build.properties	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,10 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+               META-INF/,\
+               .,\
+               icons/,\
+               template/,\
+               lib/,\
+               template.jar
+jars.compile.order = .

Added: labs/jbossesb/trunk/product/tools/esbwizard/icons/sample.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/icons/sample.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/esbwizard/lib/commons-io-1.2.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/lib/commons-io-1.2.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/esbwizard/plugin.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/plugin.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/plugin.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+   <extension
+         point="org.eclipse.ui.newWizards">
+      <category
+            name="JBoss ESB"
+            id="org.jboss.soa.esb.eclipse.template">
+      </category>
+      <wizard
+            name="ESB Package"
+            icon="icons/sample.gif"
+            category="org.jboss.soa.esb.eclipse.template"
+			project="true"
+            class="org.jboss.soa.eclipse.wizards.ESBNewWizard"
+            id="org.jboss.soa.eclipse.wizards.ESBNewWizard">
+			<description>
+            A wizard that creates a new jBPM Project
+         	</description>
+      </wizard>
+   </extension>
+</plugin>

Added: labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBNewWizard.java
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBNewWizard.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBNewWizard.java	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,219 @@
+package org.jboss.soa.eclipse.wizards;
+
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.wizard.Wizard;
+import org.eclipse.ui.INewWizard;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchPart;
+import org.eclipse.ui.IWorkbenchPartReference;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.jface.resource.ImageDescriptor;
+
+import java.io.IOException;
+import java.lang.reflect.InvocationTargetException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
+
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
+import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;
+import org.eclipse.ui.part.ISetSelectionTarget;
+
+/**
+ * This is a new wizard which creates a very simple ESB project.    The
+ * wizard copies over the requisite files, sets the classpath, and refreshes.
+ * Using the default WizardNewProjectCreationPage for now because all
+ * that is needed to start is a project name.     If we want to customize
+ * the class names or the package names we're going to have to extend that a bit.
+ */
+public class ESBNewWizard extends Wizard implements INewWizard {
+	private WizardNewProjectCreationPage m_page;
+	private IProject m_project;
+	private IWorkbench m_workbench;
+	
+	/**
+	 * Constructor for ESBNewWizard.
+	 */
+	public ESBNewWizard() {
+		super();
+		setNeedsProgressMonitor(true);
+	}
+	
+	/**
+	 * Adding the default new project wizard page to the wizard.
+	 */	
+	public void addPages() {
+		super.addPages();
+		setWindowTitle("New ESB Package Project");
+		m_page = new WizardNewProjectCreationPage("WizardNewProjectCreationPage");
+		m_page.setTitle("ESB Package Project");
+		m_page.setDescription("Create a new ESB package project");
+		m_page.setImageDescriptor(ImageDescriptor.createFromFile(getClass(),
+				"/icons/sample.gif"));
+		addPage(m_page);
+	}
+
+	/**
+	 * Create the project, start and complete the monitor progress.
+	 */
+	private void createProject(IProgressMonitor monitor) throws InterruptedException, CoreException, IOException
+	{
+		if (monitor == null) {
+			monitor= new NullProgressMonitor();
+		}
+		try {		
+			String strName = m_page.getProjectName();
+			monitor.beginTask("Creating "+ strName + " Forrest Project", 3);
+	
+			IProject project= m_page.getProjectHandle();
+			IPath locationPath= m_page.getLocationPath();
+			
+			// create the project
+			IProjectDescription desc= project.getWorkspace().newProjectDescription(project.getName());
+			if (!m_page.useDefaults()) {
+				desc.setLocation(locationPath);
+			}
+
+			ESBProjectCreator esbpc = new ESBProjectCreator();
+			esbpc.createJavaProject(m_page, project, m_workbench, monitor);
+		} finally {
+			monitor.done();
+		}
+	}
+	
+	/**
+	 * performFinish is called when the user hits the "Finish" button.
+	 */
+	public boolean performFinish() {
+		m_project = m_page.getProjectHandle();
+		WorkspaceModifyOperation op = new WorkspaceModifyOperation() {
+			protected void execute(IProgressMonitor monitor)
+					throws CoreException, InterruptedException {
+				try {
+					createProject(monitor);
+				} catch (IOException e) {
+					e.printStackTrace();
+				} finally {
+					monitor.done();
+				}
+			}
+		};
+		try {
+			getContainer().run(false, true, op);
+		} catch (InvocationTargetException e) {
+			e.printStackTrace();
+		} catch (InterruptedException e) {
+			e.printStackTrace();
+		}
+		selectAndReveal(m_project, m_workbench.getActiveWorkbenchWindow());
+		return true;
+	}
+	
+	/**
+	 * Refresh the workbench.
+	 * @param resource resource
+	 * @param window window
+	 */
+    private void selectAndReveal(IResource resource,
+	           IWorkbenchWindow window) {
+		if (!inputValid(resource, window)) return;   
+		Iterator<IWorkbenchPart> itr = getParts(window.getActivePage()).iterator();
+		while (itr.hasNext()) {
+		    selectAndRevealTarget(
+					window, 
+					new StructuredSelection(resource), 
+					getTarget(itr.next()));
+		}
+	}
+	
+	/**
+	 * Return a target from a IWorkbenchPart.
+	 * @param part workbench part
+	 * @return target
+	 */
+    private ISetSelectionTarget getTarget(IWorkbenchPart part) {
+        ISetSelectionTarget target = null;
+        if (part instanceof ISetSelectionTarget) {
+            target = (ISetSelectionTarget)part;
+        }
+        else {
+            target = (ISetSelectionTarget)part.getAdapter(ISetSelectionTarget.class);
+        }
+		return target;		
+	}
+    
+    /**
+     * Check whether the window / resource combination is valid.
+     * @param resource
+     * @param window
+     * @return
+     */
+	private boolean inputValid(IResource resource, IWorkbenchWindow window) {
+		if (window == null || resource == null) return false;
+		else if (window.getActivePage() == null) return false;
+		else return true;
+	}
+
+	/**
+	 * Call select reveal.
+	 * @param window window
+	 * @param selection selection
+	 * @param target target
+	 */private void selectAndRevealTarget(IWorkbenchWindow window, final ISelection selection, ISetSelectionTarget target) {
+		if (target == null) return;
+		final ISetSelectionTarget finalTarget = target;
+		window.getShell().getDisplay().asyncExec(new Runnable() {
+		    public void run() {
+		        finalTarget.selectReveal(selection);
+		    }
+		});
+	}
+    
+	 /**
+	  * Return a list of parts to iterate over.
+	  * @param page
+	  * @return list of parts
+	  */
+	private List<IWorkbenchPart> getParts(IWorkbenchPage page) {
+		ArrayList<IWorkbenchPart> result = new ArrayList<IWorkbenchPart>();
+		addParts(result, page.getViewReferences());
+		addParts(result, page.getEditorReferences());
+		return result;
+	}
+	
+	/**
+	 * Copy all of the workbench part references into the list.
+	 * @param parts list of parts
+	 * @param refs workbench part references
+	 */
+	private void addParts(ArrayList<IWorkbenchPart> parts, IWorkbenchPartReference[] refs) {
+		for (int i = 0; i < refs.length; i++) {
+           IWorkbenchPart part = refs[i].getPart(false);
+           if (part != null) {
+               parts.add(part);
+           }
+	    }		
+	}
+	
+	/**
+	 * We will accept the selection in the workbench to see if
+	 * we can initialize from it.
+	 * @see IWorkbenchWizard#init(IWorkbench, IStructuredSelection)
+	 */
+	public void init(IWorkbench workbench, IStructuredSelection selection) {
+		this.m_workbench = workbench;
+		this.m_project = null;
+		setNeedsProgressMonitor(true);
+	}
+}
\ No newline at end of file

Added: labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBProjectCreator.java
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBProjectCreator.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/eclipse/wizards/ESBProjectCreator.java	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,127 @@
+package org.jboss.soa.eclipse.wizards;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+
+import org.apache.commons.io.FileUtils;
+
+import org.eclipse.core.resources.ICommand;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jdt.launching.JavaRuntime;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;
+
+/**
+ * This object is a helper class which helps create the java project by
+ * copying in the template files, and create the classpath using the 
+ */
+public class ESBProjectCreator {
+	private static final String BUNDLE_NAME = "org.jboss.soa.esb.eclipse.template";
+	private static final String TEMPLATE_FILES_DIR = "template";
+	
+	/**
+	 * Copy all of the template files from the plugin into the new eclipse 
+	 * project.
+	 */
+	public void FindZipFile(IProject f_project) {
+		URL url = null;
+		try {
+			url = FileLocator.toFileURL(Platform.getBundle(BUNDLE_NAME).getEntry(TEMPLATE_FILES_DIR));
+			File esbFilesDir = new File(url.getFile());
+			String esbFiles[] = esbFilesDir.list();
+			for (int i = 0; i < esbFiles.length; i++) {
+				File temp = new File(esbFilesDir + File.separator + esbFiles[i]);
+				if (temp.isDirectory()) {
+					FileUtils.copyDirectoryToDirectory(temp, new File(f_project.getLocationURI()));
+				} else {
+					FileUtils.copyFileToDirectory(temp,  new File(f_project.getLocationURI()));
+				}
+			}
+		} catch (IOException ioe) {
+			ioe.printStackTrace();
+		}
+	}
+	
+	/**
+	 * 
+	 * @param f_page the WizardNewProjectCreationPage
+	 * @param f_project the IProject being created
+	 * @param f_workbench workbench
+	 * @param monitor monitor
+	 * @throws JavaModelException java model exception
+	 * @throws CoreException core exception
+	 */
+	public void createJavaProject(WizardNewProjectCreationPage f_page,
+			IProject f_project, IWorkbench f_workbench, IProgressMonitor monitor)
+			throws JavaModelException, CoreException { 			
+			monitor.beginTask("Creating ESB Package", 0);
+			IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+			IProject project = root.getProject(f_page.getProjectName());
+				
+			IProjectDescription description = ResourcesPlugin.getWorkspace().newProjectDescription(project.getName());
+				
+			if(!Platform.getLocation().equals(f_page.getLocationPath()))
+				description.setLocation(f_page.getLocationPath());
+				
+			description.setNatureIds(new String[] { JavaCore.NATURE_ID });
+			ICommand buildCommand = description.newCommand();
+			buildCommand.setBuilderName(JavaCore.BUILDER_ID);
+			description.setBuildSpec(new ICommand[] { buildCommand });
+			project.create(description, monitor);
+			project.open(monitor);
+
+			IJavaProject javaProject = JavaCore.create(project);
+				
+			IFolder srcFolder = project.getFolder("src");
+			srcFolder.create(true, true, monitor);
+
+			IFolder binFolder = project.getFolder("bin");
+			binFolder.create(true, true, monitor);
+				
+			IFolder libFolder = project.getFolder("lib");
+			libFolder.create(true, true, monitor);
+			IFolder libExtFolder = project.getFolder("lib/ext");	
+			FindZipFile(project);
+				
+			javaProject.setOutputLocation(binFolder.getFullPath(), monitor);
+			
+			IClasspathEntry[] libraryClasspath = new IClasspathEntry[] {
+					JavaCore.newLibraryEntry(libExtFolder.getFile("jbossall-client.jar").getFullPath(), null, null),
+					JavaCore.newLibraryEntry(libFolder.getFile("jbossesb-listeners.jar").getFullPath(), null, null),
+					JavaCore.newLibraryEntry(libFolder.getFile("jbossesb-rosetta.jar").getFullPath(), null, null),
+					JavaCore.newLibraryEntry(libFolder.getFile("jbossesb-services.jar").getFullPath(), null, null)
+			};
+			IClasspathEntry[] classpath = new IClasspathEntry[2 + libraryClasspath.length];
+			// Source entry must be first in classpath
+			classpath[0] = JavaCore.newSourceEntry(project.getProject().getFullPath().append(new Path("/src")));
+			// Add the JRE for the classpath
+			classpath[1] = JavaRuntime.getDefaultJREContainerEntry();
+			// Add all of the jars
+			int counter = 2;			
+			for (int i = 0; i < libraryClasspath.length; i++) {
+				classpath[counter++] = libraryClasspath[i];
+			}
+			
+			// Set the raw classpath
+			javaProject.setRawClasspath(classpath, binFolder.getFullPath(), monitor);
+				
+			project.refreshLocal(IResource.DEPTH_INFINITE, null);
+			monitor.worked(1);
+	}
+}

Added: labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/esb/eclipse/template/Activator.java
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/esb/eclipse/template/Activator.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/src/org/jboss/soa/esb/eclipse/template/Activator.java	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,74 @@
+package org.jboss.soa.esb.eclipse.template;
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+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.soa.esb.eclipse.template";
+	private ResourceBundle resourceBundle;
+	// The shared instance
+	private static Activator plugin;
+	
+	/**
+	 * The constructor
+	 */
+	public Activator() {
+		super();
+		plugin = this;
+		try {
+			resourceBundle = ResourceBundle.getBundle("org.cubictest.CubicTestPluginResources");
+		} catch (MissingResourceException x) {
+			resourceBundle = null;
+		}
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+	 */
+	public void start(BundleContext context) throws Exception {
+		super.start(context);
+	}
+
+	/*
+	 * (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;
+	}
+	
+	public ResourceBundle getResourceBundle() {
+		return resourceBundle;
+	}
+
+	/**
+	 * Returns an image descriptor for the image file at the given
+	 * plug-in relative path
+	 *
+	 * @param path the path
+	 * @return the image descriptor
+	 */
+	public static ImageDescriptor getImageDescriptor(String path) {
+		return imageDescriptorFromPlugin(PLUGIN_ID, path);
+	}
+}

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/build.properties
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/build.properties	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/build.properties	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,3 @@
+org.jboss.esb.server.home=/Users/tcunning/jboss-4.0.5.GA
+org.jboss.esb.server.config=messaging
+#org.jboss.esb.server.home=/usr/local/jboss-4.0.5.GA

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/build.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/build.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/build.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,106 @@
+<project name="Quickstart_helloworld" default="deploy" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+
+	<property file="build.properties"/>
+	
+	<property name="org.jboss.esb.server.deploy.dir" 
+		value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/deploy"/>
+
+	<property name="root" location="."/>
+	<property name="build.dir" value="${root}/build"/>	
+	<property name="classes" value="${build.dir}/classes" />
+
+
+	<path id="compile-classpath">
+		<fileset dir="${root}/lib" includes="*.jar"/>
+		<fileset dir="${root}/lib/ext" includes="*.jar"/>
+	</path>
+
+	<path id="exec-classpath">
+		<fileset dir="${root}/lib/ext" includes="*.jar" />	
+		<pathelement location="${classes}" />
+	</path>
+
+	<target name="clean">
+		<delete dir="${build.dir}"/>
+	</target>
+	
+	<target name="compile">
+		<mkdir dir="${build.dir}"/>
+		<mkdir dir="${classes}" />
+		<javac srcdir="${basedir}/src" destdir="${classes}">
+			<classpath refid="compile-classpath" />
+		</javac>
+        </target>
+
+	<target name="package-deployment" depends="compile">
+		<jar destfile="${build.dir}/${ant.project.name}.esb">
+			<fileset dir="${build.dir}/classes" />
+			<fileset dir="${build.dir}" includes="*.jar,*.war"/>
+			<fileset dir="${build.dir}" includes="deployment.xml"/>
+			<fileset dir="${build.dir}" includes="META-INF/**" />
+			<fileset dir="${basedir}/src" excludes="**/*.java" /> <!-- Please leave the src dir in here! -->
+			<fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
+		</jar>
+	</target>
+
+	<target name="check-properties">
+		<condition property="props-set">
+			<and>
+				<isset property="org.jboss.esb.server.config"/>
+				<isset property="org.jboss.esb.server.home"/>
+			</and>
+		</condition>
+	</target>
+
+	<target name="deploy-dir-not-set" 
+		depends="check-properties"
+		unless="props-set">
+		<echo>ERROR</echo>
+		<echo>Please set the org.jboss.esb.server.home and</echo>
+		<echo>org.jboss.esb.server.config properties in</echo>
+		<echo>build.properties.</echo>
+	</target>
+
+	<target name="deploy-esb-archive" depends="deploy-dir-not-set"
+		if="props-set">
+		<copy file="${build.dir}/${ant.project.name}.esb" overwrite="true" todir="${org.jboss.esb.server.deploy.dir}" />
+	</target>
+
+	<target name="deploy">
+		<echo>Deploying Quickstart to JBoss ESB/App Server...</echo>
+
+		<mkdir dir="${build.dir}/META-INF" />
+		<copy todir="${build.dir}/META-INF">
+			<fileset dir="${basedir}" includes="jboss-esb.xml" />
+			<fileset dir="${basedir}" includes="deployment.xml" />
+		</copy>
+
+		<antcall target="package-deployment" />
+		<antcall target="deploy-esb-archive" />
+	</target>
+	
+	<target name="runtest" depends="compile" 
+		description="sends a JMS message to queue/quickstart_helloworld_Request_gw">
+		<echo>Runs Test JMS Sender</echo>
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage" failonerror="true">
+			<arg value="Hello World"/>
+			<classpath refid="exec-classpath"/>
+		</java>
+	</target>  
+	
+	<target name="sendesb" depends="compile"
+		description="Will send an esb Message">
+		<echo>Runs Test ESB Message Sender</echo>
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage" failonerror="true">
+			<arg value="FirstServiceESB"/> <!--  service category -->
+			<arg value="SimpleListener"/>  <!--  service name -->
+			<arg value="Hello World - Straight to ESB listener - no Gateway"/> <!--  Message text -->
+			<classpath refid="exec-classpath"/>
+		</java>
+	</target>
+</project>

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/deployment.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/deployment.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,4 @@
+<jbossesb-deployment>
+  <depends>jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_esb</depends>
+  <depends>jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_gw</depends>
+</jbossesb-deployment>

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service-scoped.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service-scoped.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service-scoped.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  
+  <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
+    <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+  </loader-repository>
+  
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_esb"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+	<depends>jboss.messaging:service=PostOffice</depends>
+  </mbean>
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_gw"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+	<depends>jboss.messaging:service=PostOffice</depends>
+  </mbean>
+</server>

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/jbm-queue-service.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  
+  <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
+    <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+  </loader-repository>
+  
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_esb"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+	<depends>jboss.messaging:service=PostOffice</depends>
+  </mbean>
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_gw"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+	<depends>jboss.messaging:service=PostOffice</depends>
+  </mbean>
+</server>

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/jboss-esb.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/jboss-esb.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,50 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
+
+    <providers>
+          <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
+                        jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+                        jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
+                      
+              <jms-bus busid="quickstartGwChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_helloworld_Request_gw"
+                   />
+              </jms-bus>
+              <jms-bus busid="quickstartEsbChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_helloworld_Request_esb"
+                  />
+              </jms-bus>
+
+          </jms-provider>
+      </providers>
+      
+      <services>
+        <service 
+        	category="FirstServiceESB" 
+        	name="SimpleListener" 
+        	description="Hello World">
+            <listeners>
+                <jms-listener name="JMS-Gateway"
+                    busidref="quickstartGwChannel"
+                    maxThreads="1"
+                    is-gateway="true"
+                />
+                <jms-listener name="helloWorld"
+                              busidref="quickstartEsbChannel"
+                              maxThreads="1"
+                />
+            </listeners>
+            <actions>
+                   <action name="action1" 
+                   	class="org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction" 
+                   	process="displayMessage" 
+                   	/>      
+            </actions>
+        </service>
+      </services>
+     
+</jbossesb>

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/jbossesb-properties.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/jbossesb-properties.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  JBoss, Home of Professional Open Source
+  Copyright 2006, JBoss Inc., and others contributors as indicated 
+  by the @authors tag. All rights reserved. 
+  See the copyright.txt in the distribution for a
+  full listing of individual contributors. 
+  This copyrighted material is made available to anyone wishing to use,
+  modify, copy, or redistribute it subject to the terms and conditions
+  of the GNU Lesser General Public License, v. 2.1.
+  This program is distributed in the hope that it will be useful, but WITHOUT A 
+  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+  PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+  You should have received a copy of the GNU Lesser General Public License,
+  v.2.1 along with this distribution; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+  MA  02110-1301, USA.
+  
+  (C) 2005-2006,
+  @author JBoss Inc.
+-->
+<!-- $Id: jbossesb-unittest-properties.xml $ -->
+<!--
+  These options are described in the JBossESB manual.
+  Defaults are provided here for convenience only.
+ 
+  Please read through this file prior to using the system, and consider
+  updating the specified entries.
+-->
+<esb
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
+    <properties name="core">
+		<property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
+		<property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
+		<property name="org.jboss.soa.esb.persistence.connection.factory" 	value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
+    </properties>
+    <properties name="registry">      
+    	<property name="org.jboss.soa.esb.registry.queryManagerURI"     		
+    		value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>    		
+    	<property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"     		
+    		value="jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />
+    	<property name="org.jboss.soa.esb.registry.implementationClass" 
+    		value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
+    	<property name="org.jboss.soa.esb.registry.factoryClass" 
+    		value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
+    	<property name="org.jboss.soa.esb.registry.user" 
+    		value="jbossesb"/>
+    	<property name="org.jboss.soa.esb.registry.password" 
+    	  value="password"/>
+    	<!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
+    	<property name="org.jboss.soa.esb.scout.proxy.transportClass" 
+    		value="org.apache.ws.scout.transport.RMITransport"/>
+    </properties>
+    <properties name="transports" depends="core">
+    	<property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
+    	<property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
+    	<property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
+    	<property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
+    </properties>
+    <properties name="connection">
+    	<property name="min-pool-size" value="5"/>
+    	<property name="max-pool=size" value="10"/>
+    	<property name="blocking-timeout-millis" value="5000"/>
+    	<property name="abandoned-connection-timeout" value="10000"/>
+    	<property name="abandoned-connection-time-interval" value="30000"/>
+    </properties>
+    <properties name="dbstore">
+		<property name="org.jboss.soa.esb.persistence.db.connection.url" 	value="jdbc:hsqldb:hsql://localhost:9001/jbossesb"/>
+		<property name="org.jboss.soa.esb.persistence.db.jdbc.driver" 		value="org.hsqldb.jdbcDriver"/>
+		<property name="org.jboss.soa.esb.persistence.db.user" 			value="sa"/>
+		<property name="org.jboss.soa.esb.persistence.db.pwd" 			value=""/>		
+		<property name="org.jboss.soa.esb.persistence.db.pool.initial.size"	value="2"/>
+		<property name="org.jboss.soa.esb.persistence.db.pool.min.size"	value="2"/>
+		<property name="org.jboss.soa.esb.persistence.db.pool.max.size"	value="5"/>
+		<!--table managed by pool to test for valid connections - created by pool automatically -->
+		<property name="org.jboss.soa.esb.persistence.db.pool.test.table"	value="pooltest"/>
+		<!-- # of milliseconds to timeout waiting for a connection from pool -->
+		<property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis"	value="5000"/> 
+    </properties>
+    <properties name="messagerouting">
+    	<property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
+    </properties>
+</esb>

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/jndi.properties
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/jndi.properties	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/jndi.properties	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+java.naming.factory.url.pkgs=org.jnp.interfaces
+

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/juddi.properties
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/juddi.properties	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/juddi.properties	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,69 @@
+# jUDDI Registry Properties (used by RegistryServer)
+# see http://www.juddi.org for more information
+
+# The UDDI Operator Name
+juddi.operatorName = jUDDI.org
+
+# The i18n locale default codes
+juddi.i18n.languageCode = en
+juddi.i18n.countryCode = US
+
+# The UDDI DiscoveryURL Prefix
+juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
+
+# The UDDI Operator Contact Email Address
+juddi.operatorEmailAddress = admin at juddi.org
+
+# The maximum name size and maximum number
+# of name elements allows in several of the
+# FindXxxx and SaveXxxx UDDI functions.
+juddi.maxNameLength=255
+juddi.maxNameElementsAllowed=5
+
+# The maximum number of UDDI artifacts allowed
+# per publisher. A value of '-1' indicates any 
+# number of artifacts is valid (These values can be
+# overridden at the individual publisher level).
+juddi.maxBusinessesPerPublisher=25
+juddi.maxServicesPerBusiness=20
+juddi.maxBindingsPerService=10
+juddi.maxTModelsPerPublisher=100
+
+# jUDDI Authentication module to use
+juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
+
+# jUDDI DataStore module currently to use
+juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
+
+# use a dataSource (if set to false a direct 
+# jdbc connection will be used.
+juddi.isUseDataSource=false
+juddi.jdbcDriver=com.mysql.jdbc.Driver
+juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
+juddi.jdbcUsername=root
+juddi.jdbcPassword=admin
+# jUDDI DataSource to use
+# juddi.dataSource=java:comp/env/jdbc/MySqlDS
+
+# jUDDI UUIDGen implementation to use
+juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
+
+# jUDDI Cryptor implementation to use
+juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
+ 
+# jUDDI Validator to use
+juddi.validator=org.apache.juddi.validator.DefaultValidator
+
+# jUDDI Proxy Properties (used by RegistryProxy)
+juddi.proxy.adminURL = http://localhost:8080/juddi/admin
+juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
+juddi.proxy.publishURL = http://localhost:8080/juddi/publish
+juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
+juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
+juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
+
+# JNDI settings (used by RMITransport)
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+  

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/ext/jboss-messaging-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/ext/jboss-messaging-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/ext/jbossall-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/ext/jbossall-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-listeners.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-listeners.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-rosetta.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-rosetta.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-services.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/template/lib/jbossesb-services.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/log4j.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/log4j.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="INFO"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+      </layout>
+   </appender>
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A size based file rolling appender -->
+   <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="./listener.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+     </layout>	    
+   </appender>
+
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <category name="org.jboss">
+      <priority value="WARN"/>
+   </category>
+   <category name="org.jboss.soa.esb">
+      <priority value="ERROR"/>
+   </category>
+   <category name="org.jboss.internal.soa.esb">
+      <priority value="ERROR"/>
+   </category>
+   <category name="org.apache">
+      <priority value="ERROR"/>
+   </category>
+   <category name="quickstart">
+      <priority value="DEBUG"/>
+   </category>
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/readme.txt	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/readme.txt	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,77 @@
+Overview:
+=========
+	The purpose of the helloworld quickstart sample is to prove that the ESB is 
+	properly configured and happy.  As well as to demonstrate the needed minimal
+	files to make a basic ESB component execute.
+
+Running this quickstart:
+========================
+	Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a 
+	more detailed descripton of the different ways to run the quickstarts.
+
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
+
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+    1.  In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+    2.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    3.  Switch back to Application Server console to see the output from the ESB
+
+	'run' target description:
+	In a command prompt window, start the listeners by simply running "ant" 
+	in this directory.  You might review the build.xml file to see how it is setup. 
+	More details on the build.xml can be found later in this document.  Shutdown
+	the listener by simply using Ctrl-C in that window.
+
+	'runtest' target description:
+	In a separate command prompt window, run "ant runtest" to shoot a JMS message
+	into the listener which will then invoke the MyJMSListenerAction and display
+	it to the console.  You can modify the build.xml to change the phrase 
+	"Hello World" to something else and re-run "ant runtest".
+
+Project file descriptions:
+==========================
+
+	jbossesb.xml: 			
+	The JMS gateway and ESB configuration file. It is listening for JMS ObjectMessages or TextMessages 
+	at "queue/quickstart_helloworld_Request".  Messages received at "quickstart_helloworld_Request" are 
+	converted bossesb-properties.xml. Also needed by jUDDI and needs to be at the head of the classpath.  
+	Both juddi.properties and jbossesb-properties.xml are used when the service first boots up for 
+	self-registration based upon the service-category and service-name found in the esb-config.xml file.
+
+	jndi.properties:
+	Needed primarily for org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage that is fired by ant runtest.
+
+	log4j.xml:
+	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+	src\quickstart\MyJMSListenerAction.java:
+	The action class that is identified in the esb-config.xml file and is called whenever a message is received.  
+
+	src\quickstart\helloworld\test\SendJMSMessage.java:
+	Shoots in the string passed in via the command line or in this case the arg attribute in the ant runtest task.
+
+	src\quickstart\helloworld\test\SendEsbMessage.java:
+	Shoots in the string passed in via the command line or in this case the arg atribute in the ant sendesb task.
+	This demonstrates how to build an "ESB aware" client that can invoke an ESB service.
+
+	build.xml:
+	Targets and structure description:
+	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+		front of the list
+	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+		Usage is: ant echoCP > myclasspath.txt 
+		This generates a file called myclasspath.txt which can be reviewed in a text editor
+	*	the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
+		esb-config-gateway.xml files
+	*	the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage class and passes in an argument representing
+		the string-based message to be pused into the queue the gateway is listening on.  Note: SendJMSMessage 
+		contains a hard-coded queue name.
+
+

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.helloworld;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+public class MyJMSListenerAction extends AbstractActionLifecycle
+{
+    
+  protected ConfigTree	_config;
+	  
+  public MyJMSListenerAction(ConfigTree config) { _config = config; } 
+
+  
+  public Message displayMessage(Message message) throws Exception{
+		
+		  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");		  		  
+		  System.out.println("Body: " + new String(message.getBody().getContents()));
+		  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+		  return message; 
+        		
+	}
+    
+	
+}
\ No newline at end of file

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,64 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.soa.esb.samples.quickstart.helloworld.test;
+
+import java.net.URI;
+import java.util.UUID;
+
+import org.jboss.soa.esb.addressing.Call;
+import org.jboss.soa.esb.listeners.ListenerUtil;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+
+/**
+ * Standalone class with to send ESB messages to a 'known' [category,name].
+ * <p/> arg0 - service category
+ * <br/>arg1 - service name
+ * <br/>arg2 - Text of message to send
+ * 
+ * @author <a href="mailto:schifest at heuristica.com.ar">schifest at heuristica.com.ar</a>
+ * @since Version 4.0
+ *
+ */
+public class SendEsbMessage 
+{
+    public static void main(String args[]) throws Exception
+    {
+    	if (args.length < 3)
+    	{
+    		System.out.println("Usage SendEsbMessage <category> <name> <text to send>");
+    	}
+    	// Create a message, assign it a UID, and fill in call information
+    	Message esbMessage = MessageFactory.getInstance().getMessage();
+    	Call	call = new Call();
+    	call.setMessageID(new URI(UUID.randomUUID().toString()));
+    	esbMessage.getHeader().setCall(call);
+    	
+    	// set body contents with args[2], and send
+    	esbMessage.getBody().setContents(args[2].getBytes());
+    	
+    	ListenerUtil.tryToDeliver(esbMessage, args[0], args[1]);
+    	
+    }
+    
+}
\ No newline at end of file

Added: labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/esbwizard/template/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,86 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.helloworld.test;
+
+import java.util.Hashtable;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+public class SendJMSMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+    
+    
+    public void setupConnection() throws JMSException, NamingException
+    {
+        Hashtable properties1 = new Hashtable();
+		properties1.put(Context.INITIAL_CONTEXT_FACTORY,
+				"org.jnp.interfaces.NamingContextFactory");
+		properties1.put(Context.URL_PKG_PREFIXES,
+				"org.jboss.naming:org.jnp.interfaces");
+		properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
+		InitialContext iniCtx = new InitialContext(properties1);
+
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_Request_gw");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    	System.out.println("Connection Started");
+    }
+    
+    public void stop() throws JMSException 
+    { 
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+    
+    public void sendAMessage(String msg) throws JMSException {
+    	
+        QueueSender send = session.createSender(que);        
+        ObjectMessage tm = session.createObjectMessage(msg);
+        send.send(tm);        
+        send.close();
+    }
+       
+    
+    public static void main(String args[]) throws Exception
+    {        	    	
+    	SendJMSMessage sm = new SendJMSMessage();
+    	sm.setupConnection();
+    	sm.sendAMessage(args[0]); 
+    	sm.stop();
+    	
+    }
+    
+}

Added: labs/jbossesb/trunk/product/tools/esbwizard/template.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/esbwizard/template.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/updatesite/build.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/updatesite/build.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/updatesite/build.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,15 @@
+<project name="FeatureGenerator" default="generate" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
+	<target name="generate">
+		<jar destfile="features/org.jboss.soa.esb.template_1.0.0.jar"
+			basedir="features/org.jboss.soa.esb.template_1.0.0"
+			includes="*.xml"/>
+	</target>  
+	
+</project>
+

Added: labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0/feature.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0/feature.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0/feature.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+      id="org.jboss.soa.esb.template"
+      label="JBoss ESB Template Feature"
+      version="1.0.0"
+      provider-name="JBoss">
+
+   <description>
+      This is a plugin for a JBoss ESB project template.
+   </description>
+
+   <copyright>
+   Copyright 2007 JBoss Inc.
+   </copyright>
+
+   <license url="http://www.example.com/license">
+	This is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
+
+	This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ 
+ 	You should have received a copy of the GNU Lesser General Public License along with this software; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+   </license>
+
+   <plugin
+         id="org.jboss.soa.esb.eclipse.template"
+         download-size="0"
+         install-size="0"
+         version="1.0.0"/>
+
+</feature>

Added: labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/updatesite/features/org.jboss.soa.esb.template_1.0.0.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/updatesite/plugins/org.jboss.soa.esb.eclipse.template_1.0.0.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/tools/updatesite/plugins/org.jboss.soa.esb.eclipse.template_1.0.0.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/tools/updatesite/site.xml
===================================================================
--- labs/jbossesb/trunk/product/tools/updatesite/site.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/tools/updatesite/site.xml	2007-05-15 20:48:56 UTC (rev 11868)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+<feature id="org.jboss.soa.esb.template" version="1.0.0" url="features/org.jboss.soa.esb.template_1.0.0.jar">
+<category name="org.jboss.soa.esb.template"/>
+</feature>
+<category-def label="JBoss ESB Template 1.0" name="org.jboss.soa.esb.template"/>
+</site>




More information about the jboss-svn-commits mailing list