This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 162337 - Adding new libraries not reflected in dependent projects
Summary: Adding new libraries not reflected in dependent projects
Status: RESOLVED DUPLICATE of bug 47507
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 18:00 UTC by sandi_ro
Modified: 2009-04-21 00:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandi_ro 2009-04-09 18:00:19 UTC
Hi

Having folowing setup: 

Project A - java class library
Project B - web application
project B depends on project A

1) compile and run the wb application all works ok.
2) add library SampleLibrary as a resource needed by project A.
3) make sure we call function FOO in SampleLibrary from a function BAR body from project A
4) deploy and run war created by project B - calling function BAR in turn calls function FOO will generate:
java.lang.NoClassDefFoundError.

Expected result : automagically include classes from SampleLibrary into the war archive.
 
Hope this helps. 
Thanks.
Comment 1 Filip Zamboj 2009-04-17 18:59:59 UTC
does this belong to you guys? 

reporter: please provide build number and jdk you use. marking as incomplete until requested information provided.
thanks a lot. 
Comment 2 sandi_ro 2009-04-17 19:38:31 UTC
Hi ,

I think jdk is not so relevant as it occurs with diferent jdk ( used jdkL 1.6.01, 1.6.10, 1.6.13 )  
netbeans is 6.5. build 200811100001. 

Hope this helps.

Thanks.
Comment 3 David Konecny 2009-04-21 00:12:20 UTC
Variation on issue 47507.

*** This issue has been marked as a duplicate of 47507 ***