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.
Summary: | Missing Master Filesystem modules warning webstart platform applications | ||
---|---|---|---|
Product: | apisupport | Reporter: | monezz <monezz> |
Component: | Harness | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mkleint |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
monezz
2012-09-13 08:51:27 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. 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. |