[jbosstools-dev] WTP Facet wizards and adding ESB 4.10

Brian Fitzpatrick bfitzpat at redhat.com
Wed Sep 28 13:10:01 EDT 2011


Hi all...

I'm in the process of finishing up some work to add ESB 4.10 to the list of supported runtimes for the ESB Project wizard and have run into some fun issues with the faceted wizard framework of WTP. I'm guessing it's user error on my part, but I'm hoping someone can help me figure out what I'm doing wrong.

In org.jboss.tools.esb.project.core, I did the following in the plugin.xml:

* Added a new project-facet entry to the org.eclipse.wst.common.project.facet.core.facets extension point

* Added 4.10 to the lists of supported facet versions for jst.jboss.esb in the org.eclipse.wst.common.project.facet.core.runtimes extension point

* Added 4.10 to the list of supported module type versions for jst.jboss.esb in the org.eclipse.wst.server.core.moduleFactories extension point

* And added a new ESB runtime resolver for 4.10

That's all I had to do for 4.9 and life was good. I suspect that 4.10 has issues because it's being interpreted as "4.1" and not "4.10" as a valid double value. 

So I have two problems:

1) The "JBoss ESB version" box on the first page of the New ESB Project Wizard obviously isn't sorting correctly (i.e. 4.10 comes before 4.2, not after 4.9). 

2) When I select 4.10 as the "JBoss ESB version", even on a SOA-P 5.2 ER4 server that has the correct ESB version, the Configuration drop-down goes to "<custom>" instead of "Default Configuration for JBoss SOA-P ER4 Runtime" which should probably be defaulting to ESB 4.10 (where does the default configuration come from?).

What am I missing here? Any and all help would be greatly appreciated. As I said, I'm guessing it's user error but don't know what to look at next. I've poked through the code for a few hours and am not any closer to figuring it out.

Thanks in advance
--Fitz
_______________________________
Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, SOA-P
JBoss by Red Hat



More information about the jbosstools-dev mailing list