How to add a project to a existing EAR in eclipse?
How can I add a new java project to a ex开发者_JAVA技巧isting EAR in eclipse?
I used project references
, but it's not working.
In Eclipse 4.4 Luna, right click on the ear > properties > Deployment Assembly. Click Add and select the project you would like to add.
I discovered!
In EAR > right-click > properties > Java EE Module Dependences
In EAR > right-click > properties > Project References
Select the project
精彩评论