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.
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>
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.
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.
(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.
ergonomics#fffaf770e57a
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
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.