Hi Denny,
Looks good - put the patch in jira ;)
/max
----- "Denny Xu" <dxu(a)redhat.com> wrote:
> Hi Rob
>
> I have created a new module type for esb project, I need jboss
> server
> adapter to support the new project type, so I made some changes in
> your org.jboss.ide.eclipse.as.core plugin and create a patch , please
>
> have a look at it when you have a chance, to see if it is also ok to
> you, thanks.
>
> 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>
>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>