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 128297 - Dependency problem when trying to install Erlang Project
Summary: Dependency problem when trying to install Erlang Project
Status: VERIFIED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Erlang (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
: 133844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-25 11:38 UTC by Jaromir Uhrik
Modified: 2009-08-11 16:42 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (26.77 KB, image/png)
2008-02-25 11:39 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2008-02-25 11:38:14 UTC
Product Version: NetBeans IDE Dev (Build 200802250003)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)

The following dependency problem appears when trying to install Erlang Project plugin (Version: 0.16.0 Date:
2/25/08)from the update center:
---------------------------------------%<------------------------------------------------------
Missing required modules for Plugin Erlang Project:
Common Scripting Language Platform Support [module org.netbeans.modules.gsfpath.api/1 = 080225]
---------------------------------------%<------------------------------------------------------
Comment 1 Jaromir Uhrik 2008-02-25 11:39:24 UTC
Created attachment 57182 [details]
Screenshot attached...
Comment 2 rnovak 2008-02-25 15:29:40 UTC
This is a module level problem, therefore I'm re-assigning it to module owner.
Comment 3 _ dcaoyuan 2008-02-27 06:58:59 UTC
This also happens to other plugins that use gsf:
http://deadlock.netbeans.org/hudson/job/javadoc-nbms/1525/testReport/org.netbeans.nbbuild/VerifyUpdateCenter/synchronicConsistency/

It seems that modules of new gsf1 cluster are not included in the javadoc-nbm building. There is no gsf1 cluster at:
http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/


Comment 4 Torbjorn Norbye 2008-02-27 19:30:33 UTC
I have no idea how to fix this... "ant nbm" in the gsf modules does generate nbms. And the modules must be getting built
as part of the NBM build since otherwise many downstream modules would fail to compile. So somehow the modules aren't
showing up on auto update? I'm not sure what part of the build is involved in that...
Comment 5 _ dcaoyuan 2008-02-27 19:53:01 UTC
A quick look at:
http://deadlock.netbeans.org/hudson/job/javadoc-nbms/1525/consoleText

The echo output for gfs is:
build-one-cluster-check:
Cluster nb.cluster.gsf is :${nb.cluster.gsf-is-built}:

Which should be:
build-one-cluster-check:
Cluster nb.cluster.gsf is :true:

Maybe it was caused by gsf cluster is not listed in nbbuild/build.properties:
# moduleconfig for nbms in Daily Alpha Update Centre
    config.fixedmodules.daily-alpha-nbms=
    config.modules.daily-alpha-nbms=\
......

Comment 6 Jesse Glick 2008-02-27 19:54:36 UTC
Probably they are getting built as deps, but not NBMs.

nbbuild/build.properties#config.modules.daily-alpha-nbms lacks any mention of gsf, which is probably the problem.

(You can see the commands being run in nbbuild/hudson/javadoc-nbms.)
Comment 7 Torbjorn Norbye 2008-02-27 20:06:10 UTC
Thanks Jesse - I updated it in changeset b7fdcd3efb36 - let's see if that fixes it.
Comment 8 Torbjorn Norbye 2008-03-27 19:36:05 UTC
I'm assuming this is fixed now, reopen if you still see problems
Comment 9 Jaromir Uhrik 2008-04-01 07:59:33 UTC
Product Version: NetBeans IDE Dev (Build 200804010004)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.2 running on i386; MacRoman; en_US (nb)

Reopening. This issue is still valid. I got the following dependency problem when tried to install Erlang Project plugin:
-----------------------------------------------%<------------------------------------------------
Missing required modules for Plugin Erlang Project:
Common Scripting Language Platform Support [module org.netbeans.modules.gsfpath.api/1 = 080331] 
-----------------------------------------------%<------------------------------------------------
Comment 10 Jaromir Uhrik 2008-05-19 13:03:03 UTC
[still reproducible in trunk builds of 2008/05/19]
This issue is very annoying when users try to install all available plugins from update center. In such case it seems
like Plugin Manager is not able to install anything which is just because only one plugin cannot satisfy its
dependencies. I am voting for removal of this plugin from update center until it is fixed.
Comment 11 _ dcaoyuan 2008-05-19 13:23:55 UTC
This only happens when user try to install these plugins from "Last Development Build" Update center on **NetBeans 6.1**. Since current GSF modules under 
developing trunk are not compatible with NetBeans 6.1, all modules from "Last Development Build" update center that are dependents on GSF modules are not 
compatible with NetBeans 6.1, not only Erlang modules.

I don't think it's an issue, installing "Last Development Build" modules for NetBeans official released version is not recommended.

Comment 12 Jaromir Uhrik 2008-05-19 15:26:20 UTC
I am not using 6.1 build but latest trunk right now (as I noticed in my previous comment). Please do the following steps
to reproduce in trunk build:
-install netbeans daily build from trunk
-try to install Erlang Project
-->following message appears in the installer and it is possible only to cancel installation:
---------------------------------------%<------------------------------------------------------
Missing required dependency for Plugin Erlang Project:
Common Scripting Language Platform Support [module org.netbeans.modules.gsfpath.api/1 = 080519]
---------------------------------------%<------------------------------------------------------
Comment 13 _ dcaoyuan 2008-05-19 16:37:35 UTC
Sorry, my fault, I have disable all erlang related modules.

Will fix dependency issue in the near future
Comment 14 Torbjorn Norbye 2008-09-08 20:03:28 UTC
Caoyuan said "Will fix dependency issue in the near future" so reassigning this issue to him. (The issue may be obsolete
- sorry for letting it languish - it was in the "contrib" category rather than the usual bug categories I monitor. I
happened to run a query to see bugs assigned to me when I rediscovered this one.)
Comment 15 _ dcaoyuan 2009-03-08 03:04:30 UTC
Fixed after migrated to CSL.
Comment 16 _ dcaoyuan 2009-03-08 03:05:44 UTC
*** Issue 133844 has been marked as a duplicate of this issue. ***
Comment 17 Jaromir Uhrik 2009-08-11 16:42:04 UTC
Marking as Verified. Such a plugin doesn't exist in the following build:

Product Version: NetBeans IDE Dev (Build 200908110201)
Java: 1.5.0_19; Java HotSpot(TM) Client VM 1.5.0_19-137
System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)