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 252809 - Generation of NetBeans 7.3 Plugin Portal Update Center catalog fails
Summary: Generation of NetBeans 7.3 Plugin Portal Update Center catalog fails
Status: REOPENED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: _ wadechandler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 14:46 UTC by Jiri Kovalsky
Modified: 2015-06-16 13:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans 7.3 Plugin Portal Update Center catalog generation log. (26.11 KB, text/x-log)
2015-06-04 14:46 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-06-04 14:46:12 UTC
Created attachment 154057 [details]
NetBeans 7.3 Plugin Portal Update Center catalog generation log.

For some reason it is not possible to generate Plugin Portal Update Center catalog for NetBeans IDE 7.3. Please see attached log file.

According to the output excerpt [1], it seems like this process does not see the updater.jar library. Strange is that PPUC 7.2 generates fine.

Can you please take a look at this Honzo? Thanks!
_________________________________________________________________________________

[1] Excerpt from PPUC 7.3 catalog generation log:
[makeupdatedesc] No updater.jar specified, cannot validate /tmp/nbms/updates.xml against DTD
[gzip] Building: /tmp/nbms/updates.xml.gz

BUILD SUCCESSFUL
Total time: 5 seconds
---------
ERROR: Catalogue file for UC was not valid - do not save it, keep original version.
Issue: Array ( [0] => No declaration for attribute OpenIDE-Module-Build-Version of element manifest [1] => $version [2] => $version )
copying licences to nbm place: cp -r /tmp/nbms/licenses /space/pluginportal-v2/public/data/nbms/
Comment 1 Jiri Kovalsky 2015-06-04 14:48:11 UTC
Honzo, can you please investigate this as soon as possible? Several days ago JRebel plugin was updated but due to this bug it's not available to NetBeans IDE 7.3 users. Thanks a lot!
Comment 2 Jiri Kovalsky 2015-06-15 09:17:51 UTC
This is not only a problem of 7.3 Update Center. Increasing priority. This must be fixed as soon as possible. For example Experimental 8.0 PPUC was last successfully generated a YEAR ago. Honzo, can you please take a look at why catalogue validation fails? This is really important.
Comment 3 Jan Pirek 2015-06-15 15:56:09 UTC
Hi Jirko,
both of the cases (7.3 and 8.0 experimental catalogues) suffer from the fact the plugin Disk Cleanup Tool [1] has invalid attribute in the Info/info.xml: OpenIDE-Module-Build-Version

That breaks DTD validation.

User has to remove it and upload plugin again and go through the verification again.

For now, I removed this plugin from verified plugins and catalog is generated ok.

This is not a PP bug, so I will close it as fixed for now. 

I think we could improve the error message and try to output the plugin's name in case of negative DTD validation so it is easier to tell which one broke the build. 

[1]http://plugins.netbeans.org/plugin/2746/disk-cleanup-tool
Comment 4 Jiri Kovalsky 2015-06-16 10:01:14 UTC
Wade, can you please remove 'OpenIDE-Module-Build-Version="080502"' attribute from your Info/info.xml's module manifest? Then please build the NBM, sign it and upload new binary. Thanks!
Comment 5 _ wadechandler 2015-06-16 13:26:04 UTC
Will do. Interesting that value is "invalid" though. It was created by the NB Maven build system. So it being invalid seems a backwards incompatible change or something else. I didn't make that by hand. Might want to look into that as surely others are using Maven for plugins. Could be that I did that so long ago it is fixed now.