[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5720) EAR Libraries in Dynamic Web Project

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Thu Jan 21 19:01:19 EST 2010


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

Snjezana Peco commented on JBIDE-5720:
--------------------------------------

There is a bug in the Dynamic Web Project wizard which can be reproduced in the following way:

- uncheck Package explorer filter "Empty Libraries container" 
- create an EAR 5.0 project
- create a Dynamic WEB Project and add it to the EAR project

After that, every Dynamic Web Project will contain "EAR libraries" in the classpath file no mater if the project has been added to an EAR or not. You will notice the following line in the .classpath of your project:

<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>

If the project isn't added to an EAR, the classpath container won't contain any libraries.

A workaround is to remove the above mentioned line from .classpath or remove the EAR Libraries classpath container using Project Properties>Build Path.

> EAR Libraries in Dynamic Web Project
> ------------------------------------
>
>                 Key: JBIDE-5720
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5720
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: core
>         Environment: jbdevstudio-win32-3.0.0.v201001060655N-H50-CR1
>            Reporter: Burr Sutter
>         Attachments: 1_New_Dynamic_Web_Project.jpg, 2_New_Dynamic_Web_Project_Wizard.jpg, 3_Resulting_Dynamic_Web_Project.jpg, EAR_Libraries.jpg
>
>
> Creation of a New Dynamic Web Project adds "EAR Libraries" - that does not make sense because I (the user) am building a WAR and I do not want anything to do with an EAR in this case.

-- 
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