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.
Install the javacard modules (continuous builds here: http://deadlock.netbeans.org/hudson/job/javacard/ ). Start IDE with ergonomics enabled, clean build. Go to Tools > Plugins. You do not get a list of available platform types to install, even though java card modules are installed and enabled - you just get a file chooser that lets you locate a JDK (the default behavior if there is only one PlatformInstall in the IDE). Not sure if there is some ergonomics magic I need to do, or if something is just broken. Either Tools > Java Platforms should enable some features before it tries to lookup things, or something else is broken, but the Java Card PlatformInstall is not available. Disabling ergonomics cluster fixes the problem.
Re. "Go to Tools > Plugins.... you just get a file chooser that lets you locate a JDK" - this is some non-sense. There is no JDK in Tools -> Plugins. But you may mean Tools -> Platforms. The Tools -> Platforms dialog is not considered an important entry point. E.g. until JavaCard is fully enabled, the functionality cannot be there. But... But you are saying the modules are enabled. Then it can be some problem with listeners or order of delivered events while the JavaCard modules are being enabled. If so, there is nothing FoD could do - Tomáš will need to improve the listening. Waiting for Tomáš to do more analysis.
Yes, I meant Tools > Java Platforms. The Java Card modules are enabled. But what I get is a file chooser that enables me to locate a J2SE platform. In other words, Java Card is triggering some partial enablement of the Java cluster. We already had this problem once for 6.7 and it was fixed; now it is back. How many times will we do this?
Sorry Jardo, but the Java Platform do not cache GeneralPlatformInstall instances it asks every time again. But it's NB 4.0 code using FolderInstance (I remember there were some problems FolderInstance vs ergonomics even in Libraries and I had to rewrite it to Lookups.forPath). I will need to run it under debugger to verify. If this is the problem I will get rid of the FolderInstance.
Seems to be working now - ?
Not yet. It's a FolderInstance race, sometimes works fine sometimes ..... I am going to rewrite it to Lookups.forFolder when time permits (during christmas)
Fixed in jet-main 931672a49d3c
Integrated into 'main-golden', will be available in build *200912100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/931672a49d3c User: Tomas Zezula <tzezula@netbeans.org> Log: #177705:Cannot install java card platform on clean userdir