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

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Sep 22 14:06:49 EDT 2009


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

Rob Stryker commented on JBIDE-4320:
------------------------------------

Denny:

Why does JBossESBFacetInstallationDelegate have the following code? 

		IVirtualComponent c = null;
		try {
			Method createMethod = ComponentCore.class.getMethod("createComponent", IProject.class, boolean.class);
			c = (IVirtualComponent)createMethod.invoke(null, project, false);
		} catch (Exception e) {
			c = ComponentCore.createComponent(project);
		}


Why is this done via reflection? Why isn't this just:

  IVirtualComponent c = ComponentCore.createComponent(project, false) ??

> 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
>            Assignee: Denny Xu
>            Priority: Blocker
>             Fix For: 3.1.0.M4
>
>         Attachments: JBIDE-4320a.patch, JBIDE-4320b.patch
>
>
> 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