Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Including Java project output in EJB JAR file
Including Java project output in EJB JAR file [message #1797901] Thu, 08 November 2018 09:48
Eclipse UserFriend
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

Previous Topic:How to install updated server adapters
Next Topic: Jars for running dynamic web app
Goto Forum:
  


Current Time: Sat Dec 07 00:10:19 GMT 2019

Powered by FUDForum. Page generated in 0.01441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top