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 187207 - Publish Ruby Themes plugin on Beta 6.8/6.9 UCs
Summary: Publish Ruby Themes plugin on Beta 6.8/6.9 UCs
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Beta (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: rnovak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 14:22 UTC by Jiri Kovalsky
Modified: 2010-06-30 15:37 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 Jiri Kovalsky 2010-06-04 14:22:33 UTC
AUC request:
============
Module: Ruby Themes
AUC Type: Beta
AUC Version: 6.8/6.9
Contact: Erno Mononen (emononen)
Live date: June 15th, 2010

URL: http://netbeans.org/projects/www/lists/aumasters/archive/2010-06/message/21
Comment 1 Jiri Kovalsky 2010-06-08 06:03:45 UTC
Robert, can you please stage the Ruby Color Themes plugin on both 6.8/6.9 Beta UCs? Thanks!
Comment 2 rnovak 2010-06-08 13:32:58 UTC
Plugin NBM wasn't provided. I contacted module the owner with request to provide it.
Comment 3 rnovak 2010-06-08 14:54:48 UTC
Ruby Color Themes plugin is now staged on Beta UC for Nb 6.8 and 6.9
Comment 4 Jiri Kovalsky 2010-06-10 09:00:05 UTC
The plugin is staged correctly on both 6.8/6.9 Beta UCs. Roberte, please publish it on the live UC. Thanks!
Comment 5 rnovak 2010-06-10 15:07:25 UTC
The the plugin was pushed to the live UC for both NB 6.8 and NB 6.9
Comment 6 Jiri Kovalsky 2010-06-11 11:59:47 UTC
The 6.9 version is installable but this does not apply for 6.8 as well. It is very strange: I select the plugin for installation, click "Instal", go "Next >", confirm license and then agree to immediate restart in order the changes to take effect but after restart the plugin is still in "Available Plugins" tab and not in "Installed" one!

Erno, can you please test it as well?
Comment 7 Erno Mononen 2010-06-11 12:53:53 UTC
I'll test it with 6.8, I've tested with 6.9 and trunk and it works fine for me. It's strange as there are no changes (that I know of) in the plugin since 6.1 or 6.5.
Comment 8 Erno Mononen 2010-06-11 13:33:18 UTC
So indeed there is an issue with 6.8, after installation the IDE is looking for the module jar in the user's home dir:

INFO [org.netbeans.core.startup.NbEvents]: Warning: the module /home/erno/modules/org-netbeans-modules-ruby-themes.jar could not be found, ignoring...

..while the module stays unpacked in /home/erno/.netbeans/6.8/modules/org-netbeans-modules-ruby-themes.jar.pack.gz

AFAICT this is due to a bug in the plugin manager in 6.8, or at least I can't tell how the ruby.themes plugin would be causing this. Probably best if somebody more familiar with AU/PM took a look...  Perhaps we can enable the plugin for 6.9 only?
Comment 9 Jiri Kovalsky 2010-06-14 10:53:39 UTC
Agreed. Core team, can you please investigate this? Why is the Ruby Themes plugin being ignored on installation? Thanks!
Comment 10 Jiri Kovalsky 2010-06-14 10:54:20 UTC
Plus this is no longer TASK but an obvious DEFECT.
Comment 11 dlipin 2010-06-14 13:05:23 UTC
NBM created for 6.9 (with default settings) can't be used for 6.8 due to pack200  compression used in 6.9 by default. So you have the following options:
1) Create it using 6=.9 harness for 6.9 only
2) Create it using 6.9 harness for both 6.8 and 6.9 with turning off pack200 compression (-Duse.pack200=false if using "nbm" task or usepack200="false" when calling MakeNBM task)
3) Create it using 6.8 harness. Not sure whether this module dependencies will allow to install it in NB6.9 then.
Comment 12 Jiri Kovalsky 2010-06-14 13:09:14 UTC
I see. Erno, it's your turn now I guess, right? Thanks Dmitry!
Comment 13 Erno Mononen 2010-06-14 19:19:10 UTC
Yes, I'll need to look at how to provide the 6.8 build and where to upload it. Currently the module nbm is built as part of the nbms-javadoc build, I'm not sure now how/if I can change set -Duse.pack200=false for an individual module so that the nbm could be used for both.
Comment 14 dlipin 2010-06-14 23:03:57 UTC
Sorry, I've forgotten about yet another method. You can set use.pack200=false in module's project.properties file to disable pack200 compression for the this module.
Comment 15 Erno Mononen 2010-06-15 11:15:30 UTC
Thanks. I've set use.pack200=false in abf370be864c, let's test again when it makes to the update center (I did test that it works from a local nbm both with 6.8 and 6.9, but I guess that's not the same thing).
Comment 16 Jiri Kovalsky 2010-06-15 11:19:41 UTC
Thanks Erno! Robert, can you please stage the plugin once again to the 6.8 Beta UC? Thank you.
Comment 17 rnovak 2010-06-15 11:42:14 UTC
Is it sufficient to take the module NBM from deadlock, job nbms_and_javadoc ?
Comment 18 Quality Engineering 2010-06-16 03:30:03 UTC
Integrated into 'main-golden', will be available in build *201006160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/abf370be864c
User: Erno Mononen <emononen@netbeans.org>
Log: #187207 - Publish Ruby Themes plugin on Beta 6.8/6.9 UCs
- disabled pack200
Comment 19 Jiri Kovalsky 2010-06-23 08:39:07 UTC
Erno? I think it's question for you...
Comment 20 Erno Mononen 2010-06-23 08:51:09 UTC
Ah, didn't notice the question before. AFAICT it is sufficient to take the nbm from nbms_and_javadoc.
Comment 21 Jiri Kovalsky 2010-06-23 09:13:31 UTC
OK thanks. So it's Robert's turn again.
Comment 22 rnovak 2010-06-23 13:39:06 UTC
Updated module is now staged on Beta UC for both NB 6.8 and 6.9.
Comment 23 Jiri Kovalsky 2010-06-23 14:38:57 UTC
Correct plugin is staged on 6.9 Beta UC but I am still waiting for 6.8 Beta UC content to be refreshed. :-(
Comment 24 Jiri Kovalsky 2010-06-24 14:49:03 UTC
Great, it's finally staged correctly also on 6.8 Beta UC. I approve publishing to the live Beta UC.
Comment 25 rnovak 2010-06-30 15:21:12 UTC
Module was pushed to the live UC couple days ago.
Comment 26 Jiri Kovalsky 2010-06-30 15:33:46 UTC
Confirmed. Thanks a lot Robert!