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 #214376] Tue, 27 May 2008 17:52
Eclipse UserFriend
Originally posted by: Kevin.REMOVE.Dean.datadevelopment.com

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)

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?
Previous Topic:WTP 3.0 : Extending the JavaScript Development Toolkit
Next Topic:Source Editing question:-JSDT breakpoint support
Goto Forum:
  


Current Time: Tue Mar 19 08:17:53 GMT 2024

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

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

Back to the top