1 I have 3 projects in my workspace in MyEclipse:
1. Pojo – simple java project
2. WebApp – web project
3. App – enterprise java project
WebApp depends on Pojo project.
So I added Pojo to Java Build Path of WebApp project on “Properties of WebApp/Java Build Path/Projects” tab.
Also I’ve added WebApp module to “App” enterprise application.
When I exported “App” enterprise application from MyEclipse I get ear file with following structure:
app.ear
|
|___META-INF
|___WebApp.war
|
|___WEB-INF
|
|___lib
|
|___pojo.jar
Is it possible to make MyEclipse to put pojo.jar to ear/lib not to WebApp.war/WEB-INF/lib?
PS.
Pojo java project – it is plain java project, not ejb project.