[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4320) ESB Projects does not respect WTP module dependency rules

Vincent Girard-Reydet (JIRA) jira-events at lists.jboss.org
Mon May 18 03:30:16 EDT 2009


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

Vincent Girard-Reydet commented on JBIDE-4320:
----------------------------------------------

I am not talking of deploying .esb modules as War's, but of deploying War's as side artifacts of a .esb module.

If you look at the "webservice_consumer" quickstart, you will find that the output ESB has the following structure : 

META-INF/
org/jboss/soa/esb/samples/quickstart/webservice_consumer1
Quickstart_webservice_consumer1.war      <----- THIS IS THE FILE OF INTEREST
jbmq-queue-service.xml

As you can see the War is packaged *inside* the .esb module, which permits to have a single unit of deployment containing the ESB actions and its dependencies.

This is what I'm trying to reproduce in Eclipse, but to do so I would need to specify that a Dynamic Web module is a dependency of the ESB module, and also specify where to map the War in the runtime structure of the ESB module. Same idea for EJB modules (package their Jar in the ESB archive).

Does this make more sense to you now ? Am I trying to do something you would not recommend ?

> ESB Projects does not respect WTP module dependency rules
> ---------------------------------------------------------
>
>                 Key: JBIDE-4320
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4320
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: esb
>    Affects Versions: 3.0.0.GA, 3.0.1.GA
>         Environment: Windows XP, Eclipse Ganymede 3.4.2 (M20090211-1700)
>            Reporter: Vincent Girard-Reydet
>
> It is not possible to include modules as dependencies of a JBossESB module. The expected behaviour is that ESB modules should behave as EAR modules.
> For example, if I want to mimick the webservice_consumer quickstart structure using WTP projects, I expect to end-up with 2 projects :
> - an ESB project
> - a Dynamic Web Module project, set as dependency of the ESB project
> I expect to have the .war archive copied at the root of the ESB archive, but:
> 1. it is not possible to configure dependencies with graphical tools (in the project properties)
> 2. Manually editing the org.eclipse.wst.common.component file to add the dependency solve nothing to the problem.
> The same applies for EJB/EJB3 projects (to mimick the helloworld_service quickstart), JPA projects and Utility projects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list