[jbosstools-issues] [JBoss JIRA] (JBIDE-13328) as.core plugin should understand the idea of ESB 4.x instead of needing to explicitly list versions like 4.8, 4, 9, 4.10, 4.11, 4.12

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Jan 7 04:07:08 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-13328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743707#comment-12743707 ] 

Rob Stryker commented on JBIDE-13328:
-------------------------------------

rep-posting from my email to keep it logged:

I realize this is probably out of date, but I finally tested the new-ish wtp extension point, and it does work for something like esb.  The upstream bugzilla mentioned (right before xmas) that they support .* wildcards.   So, the following would work fine if placed into the esb plugin.xml:

   <extension
         point="org.eclipse.wst.server.core.runtimeModuleType">
      <runtimeModuleType
            id="some.garbage1"
            runtimeTypes="org.jboss.ide.eclipse.as.runtime.60">
         <moduleType
               types="jst.jboss.esb"
               versions="4.*">
         </moduleType>
      </runtimeModuleType>
   </extension>

You would need to modify the runtimeTypes to be a comma-separated list of which runtime types you want to support all 4.* versions of esb.

Again, I tested it, and this works fine, even if astools already "supports" 4.11, 4.12. They will not conflict.  If anyone wants to push this into any stream, I'd be glad to help. Just need to know what and where and when.

Obviously I won't be removing anything from astools until I know 100% that everything's working in esb (or any other such runtimes). But let me know if anyone wants to move on this .* wildcard notation. 
                
> as.core plugin should understand the idea of ESB 4.x instead of needing to explicitly list versions like 4.8,4,9,4.10,4.11,4.12
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13328
>                 URL: https://issues.jboss.org/browse/JBIDE-13328
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 4.1.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Rob Stryker
>
> The following JIRAs showcase how ass-backwards the implementation of ESB detection/support in as.core's plugin.xml is:
> JBIDE-13209
> JBDS-2365
> JBDS-2394
> JBDS-1889
> JBDS-2431
> Would it be possible to have the various servers simply support 4.x instead of needing to keep updating as.core's plugin.xml every time a new version of ESB 4.x comes out? (4.11 is currently not supported properly, and 4.12 is forthcoming. Can we make this better in JBDS 7, then maybe backport that magic to JBDS 5 and 6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list