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 218266 - Missing Master Filesystem modules warning webstart platform applications
Summary: Missing Master Filesystem modules warning webstart platform applications
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 08:51 UTC by monezz
Modified: 2013-03-22 04:56 UTC (History)
1 user (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 monezz 2012-09-13 08:51:27 UTC
When running a webstart application based on RELEASE72 netbeans modules with nbm-maven-plugin 3.8, a missing modules warning popups up.
The warning always seems to be about the modules not related to the platform you try to run the application on:

Linux:
Warning - could not install some modules:
Master Filesystem @ Solaris - No module providing the capability org.openide.modules.os.Solaris could be found.
Master Filesystem @ Windows - No module providing the capability org.openide.modules.os.Windows could be found.


Report from a windows user:

If I create a new NetBeans Platform Application project, JNLP -> Build the blank application, deploy the resulting WAR file, and run it (on Windows) using javaws, the splash screen comes up, then a warning dialog box that says:


Code:
Warning - could not install some modules:
Master Filesystem @ Solaris - No module providing the capability org.openide.modules.os.Solaris could be found.
Master Filesystem @ Linux - No module providing the capability org.openide.modules.os.Linux could be found.


It seem to only affect windows, linux and solaris module and not the macosx module.

Adding all platform specific modules as runtime dependencies did not help:
        <dependency>
            <groupId>org.netbeans.modules</groupId>
            <artifactId>org-netbeans-modules-masterfs-solaris</artifactId>
            <version>RELEASE72</version>
            <scope>runtime</scope>
        </dependency>
Comment 1 Milos Kleint 2012-09-13 09:35:17 UTC
while the macosx only artifact contains an "os" attribute in the jnlp file, the solaris, windows and linux ones are missing it.

The problem is in the ant tasks the maven plugin is using, reassigning to apisupport/harness


<resources os='Mac OS X'>
    <jar href='org-netbeans-modules-masterfs-macosx/org-netbeans-modules-masterfs-macosx.jar'/>
  </resources>


a workaround is EXCLUDE the masterfs modules you don't need. Effectively you are building your jnlp for one platform only then though.
Comment 2 pjdm 2012-09-13 12:15:09 UTC
Note (from the Windows user ;-) ) that maven isn't necessary for this problem: it can be reproduced as described in the report in the first comment.
Comment 3 monezz 2012-09-16 09:19:31 UTC
(In reply to comment #1)
> a workaround is EXCLUDE the masterfs modules you don't need. Effectively you
> are building your jnlp for one platform only then though.

following files are missing the <resources os='...'> restriction.

org-netbeans-modules-masterfs-linux.jnlp
org-netbeans-modules-masterfs-macosx.jnlp
org-netbeans-modules-masterfs-windows.jnlp

As Milos suggested easiest workaround is to create fixed versions of those files and copy them to the application/target/webstart/appX folder after building the webstart artifacts.
Comment 4 Jaroslav Tulach 2012-10-30 14:54:01 UTC
ergonomics#fffaf770e57a
Comment 5 Quality Engineering 2012-11-01 02:39:51 UTC
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fffaf770e57a
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #218266: add os specific resource for Linux, Windows and Solaris
Comment 6 psilvaggio 2013-03-22 04:56:57 UTC
Yeah, is this really fixed because I am still getting it!

Linux:
Warning - could not install some modules:
Master Filesystem @ Solaris - No module providing the capability
org.openide.modules.os.Solaris could be found.
Master Filesystem @ Windows - No module providing the capability
org.openide.modules.os.Windows could be found.


These files are there:
org-netbeans-modules-masterfs-linux.jnlp
org-netbeans-modules-masterfs-macosx.jnlp
org-netbeans-modules-masterfs-solaris.jnlp
org-netbeans-modules-masterfs-windows.jnlp


However, I am still getting the error.

In 7.3 and 7.2, works in < 7.2.