Hi,
We are in the process of migrating from RAD and we have noticed a small difference between RAD and MEB in the packaging of the EAR file in one of our project.
In RAD the required libraries are copied in lib folder of the EAR, but with MEB it is copied twice in root folder and lib folder of the EAR file.
We have tried all possible combinations of deployment of the EAR but we always get the required libraries copied in two places (root and lib).
The workspace was not created from scratch but migrated using “Enhance RAD Project…”
Our workspace has 3 projets:
-RPMEAR (references RPMSrv and RPMWeb)
|__lib/
antlr-2.7.6.jar,....
-RPMSrv (classpath includes RPMEAR/lib/*.jar)
-RPMWeb (references RPMSrv and classpath includes RPMEAR/lib/*.jar)
|_WebContent
|_META-INF
|_MANIFEST.MF (contains references to RPMSrv.jar and jars in RPMEAR/lib)
To test the packaging of the EAR file, I use export Java EE->EAR file(MyEclipse) then I unzip the EAR file. It is the same structure of the EAR file that is deployed in Websphere.
Because the EAR file is bigger (two times the required libraries) the deployment takes more time.
We can put required libraries in RPMWeb/WebContent/WEB-INF/lib but RPMSrv needs them also.
We also experienced creating a test Java EE project from scratch (not migrated) and it works as expected, required libraries are copied only once in lib folder.
Thank you.