NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Re: NetBeans 7.0.1 does not bundle dependent jars into deployed EJB jar

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Rob Ratcliff
Posted via mailing list.





PostPosted: Mon Sep 12, 2011 3:21 am    Post subject: Re: NetBeans 7.0.1 does not bundle dependent jars into deployed EJB jar Reply with quote

Looks like one work around is to make the EJB part of an enterprise application project. That's a regression since the 6.9 version,
but making it part of an ear isn't so bad in the short term.

BTW, for those of you who attempt to create a JEE project for GF 2.1.1 in NetBeans 7.0.1, you'll have to deinstall the JEE-related
plug-ins and then use the module manage to download and install them again for it to work.


On 09/10/2011 04:57 PM, Robert Ratcliff wrote:
Quote:
Hi,


Prior to NetBeans 7, I was able to specify the dependent NetBeans projects and jar files for a given EJB and NetBeans would bundle those jar files automatically with the EJB's jar. It doesn't appear that this works any more. Only the classes for the EJB are in the jar now. The "package" checkboxes are checked for all the dependent jars, but they are not bundled.

I'm using GF 2.1.1 BTW.


Has anybody else seen this new bug? Have you found a work-around?


Thanks,



Rob


Back to top
jyeary



Joined: 21 Oct 2008
Posts: 609
Location: Simpsonville, SC

PostPosted: Mon Sep 12, 2011 12:04 pm    Post subject: Re: NetBeans 7.0.1 does not bundle dependent jars into deployed EJB jar Reply with quote

Thanks for posting your solution.

John

On Sun, Sep 11, 2011 at 10:31 PM, Rob Ratcliff <address-removed ([email]address-removed[/email])> wrote:
Quote:
Looks like one work around is to make the EJB part of an enterprise application project.
Back to top
emiddio-frontier
Posted via mailing list.





PostPosted: Mon Sep 12, 2011 2:49 pm    Post subject: Re: NetBeans 7.0.1 does not bundle dependent jars into deployed EJB jar Reply with quote

you should see the following -- i think related.

http://netbeans.org/bugzilla/show_bug.cgi?id=199864

http://netbeans.org/bugzilla/show_bug.cgi?id=195385

gary
----- Original Message -----
From: "Rob Ratcliff" <address-removed>
To: <address-removed>
Sent: Sunday, September 11, 2011 7:31 PM
Subject: [nbj2ee] Re: NetBeans 7.0.1 does not bundle dependent jars into
deployed EJB jar


Looks like one work around is to make the EJB part of an enterprise
application project. That's a regression since the 6.9 version,
but making it part of an ear isn't so bad in the short term.

BTW, for those of you who attempt to create a JEE project for GF 2.1.1 in
NetBeans 7.0.1, you'll have to deinstall the JEE-related
plug-ins and then use the module manage to download and install them again
for it to work.


On 09/10/2011 04:57 PM, Robert Ratcliff wrote:
Quote:
Hi,


Prior to NetBeans 7, I was able to specify the dependent NetBeans projects
and jar files for a given EJB and NetBeans would bundle those jar files
automatically with the EJB's jar. It doesn't appear that this works any
more. Only the classes for the EJB are in the jar now. The "package"
checkboxes are checked for all the dependent jars, but they are not
bundled.

I'm using GF 2.1.1 BTW.


Has anybody else seen this new bug? Have you found a work-around?


Thanks,



Rob


Back to top
Rob Ratcliff
Posted via mailing list.





PostPosted: Tue Sep 13, 2011 4:08 pm    Post subject: Re: NetBeans 7.0.1 does not bundle dependent jars into deployed EJB jar Reply with quote

Thanks,

There is also this bug:

http://netbeans.org/bugzilla/show_bug.cgi?id=200621

I'm also having classpath problems on Linux for my JEE/EJB GF 2.1.1 project where it can't find the classes in the javaee.jar. The
server is configured correctly and the glassfish library shows up in the library list for the project, but the build fails when it
can't find the EJB-related classes. Anybody have similar problems?

Rob


On 09/12/2011 08:59 AM, emiddio-frontier wrote:
Quote:
http://netbeans.org/bugzilla/show_bug.cgi?id=199864

http://netbeans.org/bugzilla/show_bug.cgi?id=195385
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo