Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem building EJB jar file using Eclipse

666932Dec 4 2008 — edited Dec 8 2008
Hi,

Here's my file sturcture.

ejb\x\y\z\test\
ejb\x\y\z\test1\

'ejb' is the root directory.

The java source files under 'test' have a package name x.y.z.test.
The java source files under 'test1' have a package name x.y.z.test1.

I want to build a EJB jar file for 'test' and 'test1' separately. In eclipse when I create an EJB project, I specify the root folder as the source in the java build path settings. So the project explorer in Eclipse shows both the packages since they are under the same root folder. When I try to do 'Export - EJB Jar File', it includes both the 'test' and 'test1' in the .jar. Is there a way to build them separately ?

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2009
Added on Dec 4 2008
4 comments
3,958 views