Including Java project output in EJB JAR file [message #1797901] |
Thu, 08 November 2018 09:48 |
Eclipse User |
|
|
|
I have the following projects in Eclipse:
Common-Data - project containing common data objects
Common-EJB - project containing common EJB objects, not itself an EJB
project (depends on Common-Data)
Project1-Data - project containing data objects for Project1 (depends on
Common-Data)
Project1-EJB - project containing EJB objects for Project1 (depends on
Common-Data, Common-EJB, and Project1-Data)
Project2-Data - project containing data objects for Project2 (depends on
Common-Data)
Project2-EJB - project containing EJB objects for Project2 (depends on
Common-Data, Common-EJB, and Project1-Data)inro.in/showbox/ inro.in/mobdro/ inro.in/tutuapp/
All dependencies are setup on the "Projects" tab of "Java Build Path".
However, the EJB JAR files that get built do not include any of the
dependencies and so cannot be deployed.
I tried using linked sources instead, but that creates synchronization
problems when a common file changes in one project and the changes aren't
detected in another, so the workspace doesn't always rebuild properly.
How can I set things up so that, when I build Project1-EJB, it includes
all the *.class files from its dependencies?
[Updated on: Fri, 09 November 2018 18:58] by Moderator Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.24301 seconds