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 195931 - Make org.netbeans.modules.android.project friend of Java Common Project API
Summary: Make org.netbeans.modules.android.project friend of Java Common Project API
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 10:26 UTC by _ rkubacki
Modified: 2013-01-05 02:32 UTC (History)
2 users (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 _ rkubacki 2011-02-24 10:26:21 UTC
Or make API in org.netbeans.modules.java.api.common stable. It is hard to reuse anything from Java project support if you are not in nb.org module universe.

It would be nice to add org.netbeans.modules.android.project there.
Comment 1 Jaroslav Tulach 2011-02-26 15:15:45 UTC
As far as I remember Tomáš believes that certain parts of the module are not ready for production. The best solution in this case would be to split the module in two. Either:
1. create new module, make it stable and friend of existing one and extract there useful APIs that will delegate to the old friend API
2. create new module and move there the functionality that is not ready for production. Update all friends to depends also on the new module. Make the API left in the old module public.
Comment 2 Tomas Zezula 2011-03-07 10:32:27 UTC
Agree with Jarda
Comment 3 _ rkubacki 2011-03-20 13:59:29 UTC
Why is Jarda's comment blocking this? If you add another friend module and later realize that you need a significant change then you can bump the major version version in module name, 3rd party module(s) will be broken until they receive update and vast majority of friends can be fixed in NB.org source tree.

At least for Android stuff I am ready accept such bargain to be able to reuse the code. There are already 23 friend modules including Groovy and Scala.
Comment 4 Jesse Glick 2012-10-05 03:22:24 UTC
Workaround: https://bitbucket.org/jglick/yenta
Comment 5 Tomas Zezula 2013-01-04 13:17:00 UTC
As the stabilisation of the project APIs was not approved for NB 7.3 I will at least add the org.netbeans.modules.android.project as a friend.
Comment 6 Tomas Zezula 2013-01-04 13:22:27 UTC
Fixed jet-main e5f8d243477e
Comment 7 Quality Engineering 2013-01-05 02:32:47 UTC
Integrated into 'main-golden', will be available in build *201301050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e5f8d243477e
User: Tomas Zezula <tzezula@netbeans.org>
Log: #195931:Make org.netbeans.modules.android.project friend of Java Common Project API