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.
Summary: | "Export Package" action needed on Packages in NetBeans modules | ||
---|---|---|---|
Product: | apisupport | Reporter: | Geertjan Wielenga <geertjan> |
Component: | Project | Assignee: | Martin Kozeny <mkozeny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | markiewb, mienamoo |
Priority: | P2 | Keywords: | API, PLAN |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://blogs.oracle.com/geertjan/entry/the_1000_000_question_why | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 185897, 228409 | ||
Attachments: |
apisupport ant patch
java api patch |
Description
Geertjan Wielenga
2011-08-10 13:08:49 UTC
Requires a new SPI, since the action itself would live in java.project. At the same time, it would be good to extend the API & SPI to permit listening for changes. While apisupport.ant normally recreates the logical view in response to any change to project.xml, thus refreshing the badges, maven.apisupport and maven.osgi can only inject an AQI into project lookup (and maven does not refresh the logical view in general when pom.xml has been modified). *** Bug 202096 has been marked as a duplicate of this bug. *** An "Export Package" action needed on Packages in NetBeans modules. +1 Created attachment 133418 [details]
apisupport ant patch
Created attachment 133419 [details]
java api patch
Integrated into 'main-golden', will be available in build *201304272301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/dd88e665a752 User: Martin Kozeny <mkozeny@netbeans.org> Log: #200833: "Export Package" action is now provided on Packages in NetBeans modules. When selecting set of packages where is at least one not public, then action "Export Package" is enabled, otherwise is enabled action "Unexport Package" (this is the case that all relevant packages in set are exported). Where should this action appear? I am not seeing it in build 201304272301 for Ant or Maven based module projects... (In reply to comment #9) > Where should this action appear? I am not seeing it in build 201304272301 for > Ant or Maven based module projects... maven ones are not done yet. (i'm working on it) Thanks for the info! I will wait for that before checking both again. :) There should be implementation for ant projects but for sure I am going to check it. But yes, better is to wait when both ant and maven implementations will be done. FYI: I've tried build 201304282301 and it's there for ant NBM projects. Integrated into 'main-golden', will be available in build *201305082300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/53b7b150f138 User: Milos Kleint <mkleint@netbeans.org> Log: #200833 package modification implementation for maven nbm projects, simplified api, base export action enablement/title on AccessibilityQuery result. Verified with build 201305212300 for both Ant and Maven projects. Thanks Martin and Milos! (In reply to comment #15) > Verified with build 201305212300 for both Ant and Maven projects. Thanks Martin > and Milos! @Martin/Milos: So this issue can be resolved as fixed? An entry in the Noteworthy page would also be useful. |