Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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 User
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: Sat Oct 25 03:44:40 GMT 2014

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

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