[jboss-user] [JBoss Tools] - Re: Jboss EE 6 EAR archetype, problem with EAR/lib
Snjezana Peco
do-not-reply at jboss.com
Tue Jan 8 12:10:50 EST 2013
Snjezana Peco [https://community.jboss.org/people/snjeza] created the discussion
"Re: Jboss EE 6 EAR archetype, problem with EAR/lib"
To view the discussion, visit: https://community.jboss.org/message/789340#789340
--------------------------------------------------------------
Try to add the EAR Libraries classpath container to your ejb and war projects (right-click the project, select Build Path>Configure Build Path..., select the Libraries tab, click the Add Library button and add EAR Libraries).
You will get the following line in project's .classpath:
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
I suppose m2e-wtp would have to add this container automatically to the projects included in an EAR.
This is a WTP container that sets EAR dependencies to an EAR module.
WTP sets this container when adding some WTP module to an EAR.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/789340#789340]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130108/a5baa922/attachment.html
More information about the jboss-user
mailing list