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: | Disable verification of plugins depending on build number | ||
---|---|---|---|
Product: | updatecenters | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Pluginportal | Assignee: | Jan Pirek <jpirek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jrechtacek |
Priority: | P2 | Keywords: | PLAN |
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 231766 |
Description
Jiri Kovalsky
2013-03-01 16:57:27 UTC
Honzo, can you please take a look at this? Thanks! This is a candidate for Plugin Portal 2.2. Another bug which would not happen if this is implemented. This applies for example this plugin: http://plugins.netbeans.org/plugin/45919 this is now implemented, any new plugin with such dependency in the info.xml manifest won't be allowed for verification Great, thanks Honzo. Information for plugin owners ============================= If you want to have the dependency set correctly please consult this FAQ: http://wiki.netbeans.org/DevFaqImplementationDependency The point is to NOT use build numbers but module specification versions instead. Here is an example: 1. My plugin depends on org.netbeans.modules.php.api.phpmodule so I must find out its module specification version. 2. Let's say I have NetBeans sources cloned in ~/sources/netbeans directory. 3. cd ~/sources/netbeans/php.api.phpmodule 4. cat manifest.mf Manifest-Version: 1.0 OpenIDE-Module: org.netbeans.modules.php.api.phpmodule OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/php/api/phpmodule/resources/Bundle.properties OpenIDE-Module-Specification-Version: 2.19 5. I must modify info.xml of my plugin to contain the following statement: OpenIDE-Module-Module-Dependencies="org.netbeans.modules.php.api.phpmodule > 2.19" If I use specification, I can't even compile <dependency> <groupId>org.netbeans.modules</groupId> <artifactId>org-netbeans-modules-editor-bookmarks</artifactId> <version>1.37.1</version> </dependency> If I use <version>RELEASE82</version>, I can compile, but can't be verify for plugins central : Plugin has hard dependency to other modules defined in info.xml module descriptor, therefore can't be subject of verification. For more information see issue #226906 PLEASE HELP, THANKS |