Add jar to EAR in Eclipse
- by Gerard
I have several projects in an EAR in Eclipse.
These projects themselves have dependency jar's on the build path marked as "do not export, do not contribute to others".
Now in Eclipse I add jar's to the EAR via the EAR properties "Java EE Module Dependencies".
I browse to the jar (add jar) and click ok. The jar is added to the list.
When I click apply, the added jar is gone from the list, it cannot be found in other properties, it is contained in the hidden folder .settings in the file org.eclipse.wst.common.component.
This behaviour does not make much sense to me, what am I missing?