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 181422

Summary: fix-dependencies breaks needed project dependencies
Product: apisupport Reporter: Jiri Rechtacek <jrechtacek>
Component: HarnessAssignee: Jesse Glick <jglick>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: jtulach
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jiri Rechtacek 2010-03-02 07:38:10 UTC
If I call fix-dependencies on CustomerDBAccessLibrary project, it removes some dependencies which are needed for compile this project.
To reproduce:
1) Netbeans dev build (i.e.core-main)
2) ant -f apisupport.crudsample/crud-sample-application/CustomerDBAccessLibrary/build.xml fix-dependencies
=> ant -f apisupport.crudsample/crud-sample-application/CustomerDBAccessLibrary/build.xml reports
[verifyclasslinkage] Warning: org.netbeans.modules.customerdb.JavaDBSupport cannot access org.openide.execution.NbProcessDescriptor
[verifyclasslinkage] Warning: org.netbeans.modules.customerdb.JavaDBSupport cannot access org.openide.util.Exceptions
Comment 1 Jaroslav Tulach 2010-03-09 07:32:23 UTC
If you don't want to evaluate, send it back to me.
Comment 2 Jesse Glick 2010-04-23 21:28:47 UTC
I started off with just

ant -f apisupport.crudsample/crud-sample-application/CustomerDBAccessLibrary/build.xml

but it does not compile in this form:

apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/demo/Customer.java:44: package javax.persistence does not exist
import javax.persistence.Basic;
                        ^
[...44 more errors...]

Is there something else I should do to reproduce? And what dependencies does it remove exactly?