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.
Using a recent dev build, with NB-8.0.2 as a registered NB platform, "nb802". Summary: change NBPlatform to nb802, close properties, open properties, NBPlatform still says default Open a platfrom app module suite and many of its modules. This app behaves OK with 8.0.2. But runs into refactoring issues with dev/8.1 about openide. (The platform app builds into its own cluster, in case this might be part of the issue) Steps I took - open project properties on module suite - for NetBeansPlatform select nb802 in combo box Observe there's a ! message: Module metawb in A MetaphysicalWorkbench depends on module guava in metaphysicalworkbench but this is excluded. Fix this by checking, under Platform Modules, the box "metaphysicalworkbench" which is my app-module-suite. FYI, guava is a wrapper-module. Now there's the ! message: Module JavaFX wrapper in platform requests the token org.openide.modules.jre.JavaFX but there are no known providers. which I ignore - click OK and close the dialog - open project properties on module suite Observe The NetBeans Platform still says Default Workaround Close the IDE, manually edit the suite's platform properties metaphysical.workbench/nbproject/platform.properties and change "nbplatform.active=default" to nbplatform.active=nb802 Restart IDE and things seem to be OK so far Product Version: NetBeans IDE Dev (Build 201506200001) Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b26 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Seems to work fine in 20150707, can you please attach a platform app project you can reproduce it with?
NOTE: in the attached project , I did not include metaphysical.workbench/guava/release/modules/ext/guava-18.0.jar you can pick that up at https://code.google.com/p/guava-libraries/wiki/Release18 untar the file: tar -xf mwb.tar.bz open the app metaphysical.workbench proceed as described.
Created attachment 154705 [details] project to reproduce issue
Was able to reproduce, it's just a minor issue, happens only when you change something else inside the project properties besides the active platform. In that case the active platform is persisted sadly immediately overwritten with the previous value. Fix: http://hg.netbeans.org/core-main/rev/3689d1354795
Integrated into 'main-silver', will be available in build *201508200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3689d1354795 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #253167 - "Project Properties > NetBeans Platform" setting doesn't stick Save active platform as the last to prevent it from being overwritten.