Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » build an Enterprise Application Project
build an Enterprise Application Project [message #336509] Thu, 18 June 2009 10:37 Go to next message
fabmar is currently offline fabmarFriend
Messages: 2
Registered: July 2009
Junior Member
Hello there

can anybody tell me how can I solve this problem?

case description:
1. my ear project consists of EJB-classes stored in 4 EJB-projects.
2. the application needs many other libraries. Some of them are external
and some other are part of the application and implemented in the
corresponding project.
3. when I generate the ear file and deploy it to the server, I see that
each of the EJB-projects contains his own jar file, all other projects
(library) of my application don't.

question
How can I configure eclipse to generated jar files in all dependent
projects?
Re: build an Enterprise Application Project [message #336547 is a reply to message #336509] Mon, 22 June 2009 10:46 Go to previous messageGo to next message
fabmar is currently offline fabmarFriend
Messages: 2
Registered: July 2009
Junior Member
Sorry, what's wrong with this question? why anybody is giving me an hint?
Re: build an Enterprise Application Project [message #336548 is a reply to message #336509] Mon, 22 June 2009 11:12 Go to previous message
David Goodenough is currently offline David GoodenoughFriend
Messages: 157
Registered: July 2009
Senior Member
fabmar wrote:

> Hello there
>
> can anybody tell me how can I solve this problem?
>
> case description:
> 1. my ear project consists of EJB-classes stored in 4 EJB-projects.
> 2. the application needs many other libraries. Some of them are external
> and some other are part of the application and implemented in the
> corresponding project.
> 3. when I generate the ear file and deploy it to the server, I see that
> each of the EJB-projects contains his own jar file, all other projects
> (library) of my application don't.
>
> question
> How can I configure eclipse to generated jar files in all dependent
> projects?

It is one of Eclipse's little failings that you can not easily generate
jars or whatever per project, only per workspace. By which I mean that
it remembers the jar you are producing per workspace not per project, you
can always override it.

So the way I do it is to use either Ant or Maven to do the final build.
That way you can have it done the way you want it.

David
Previous Topic:Hibernate. class loader problem with Oracle 10.2
Next Topic:Reloading OS environment
Goto Forum:
  


Current Time: Fri Apr 26 20:10:17 GMT 2024

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

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

Back to the top