Hi all
I commit esb project wizard plugins into svn in the esb module. it has
the following basic function :
- JBoss ESB project creation wizard
It will create default project structure, and set classpath
according the runtimes that the user selected, a default empty
jboss-esb.xml will be created.
- Project package and deployment
Users just need add the project the a jboss server adaptor
through a wtp server view or jboss view just like a Web project and
publish it, then the packaging and deployment is finished.
for now, jboss server adaptor does not support the new type, I
have created a patch add this support, if someone want to play with
before Rob add it to jboss server adaptor,
you should also check out the org.jboss.ide.eclipse.as.core
plugin from svn in as module and apply the patch
- Preference page for configuration of esb runtimes.
for now, if users select a esb runtime for a esb project, only
jars in jbossesb.esb and jbossesb.sar will be added the classpath of the
project, not sure if it's necessary to add jars of other esb component
such as "spring.esb" and "smooks.esb" to classpath project classpath.
please have a look at what the esb project wizard looks like if you
have interesting and your feedback is quite welcome.
Denny
Index:
/home/fugang/workspaces/esb/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/JstPublisher.java
===================================================================
---
/home/fugang/workspaces/esb/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/JstPublisher.java (revision
9932)
+++
/home/fugang/workspaces/esb/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/JstPublisher.java (working
copy)
@@ -200,7 +200,9 @@
root = root.append("WEB-INF").append("lib").append(name +
".jar");
else if( "jst.connector".equals(type)) {
root = root.append(name + ".rar");
- } else
+ } else if( "jst.jboss.esb".equals(type)){
+ root = root.append(name + ".esb");
+ }else
root = root.append(name + ".jar");
}
return root;
Index: /home/fugang/workspaces/esb/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- /home/fugang/workspaces/esb/org.jboss.ide.eclipse.as.core/plugin.xml (revision 9932)
+++ /home/fugang/workspaces/esb/org.jboss.ide.eclipse.as.core/plugin.xml (working copy)
@@ -148,7 +148,11 @@
versions="1.0"/>
<moduleType
types="jboss.singlefile"
- versions="1.0"/>
+ versions="1.0"/>
+ <moduleType
+ types="jst.jboss.esb"
+ versions="4.2,4.3,4.4,5.0">
+ </moduleType>
</runtimeType>
<runtimeType
vendor="%providerName"
@@ -178,6 +182,10 @@
<moduleType
types="jboss.singlefile"
versions="1.0"/>
+ <moduleType
+ types="jst.jboss.esb"
+ versions="4.2,4.3,4.4,5.0">
+ </moduleType>
</runtimeType>
<runtimeType
vendor="%providerName"
@@ -207,6 +215,10 @@
<moduleType
types="jboss.singlefile"
versions="1.0"/>
+ <moduleType
+ types="jst.jboss.esb"
+ versions="4.2,4.3,4.4,5.0">
+ </moduleType>
</runtimeType>
@@ -239,6 +251,10 @@
<moduleType
types="jboss.singlefile"
versions="1.0"/>
+ <moduleType
+ types="jst.jboss.esb"
+ versions="4.2,4.3,4.4,5.0">
+ </moduleType>
</runtimeType>
</extension>