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 - fix-dependencies breaks needed project dependencies
Summary: fix-dependencies breaks needed project dependencies
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-02 07:38 UTC by Jiri Rechtacek
Modified: 2010-04-23 21:28 UTC (History)
1 user (show)

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 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?