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.
Product Version = NetBeans IDE 7.0.1 (Build 201107282000) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0 Runtime = Java HotSpot(TM) Client VM 21.0-b17 I have a custom platform which includes some NetBeans modules and a stand alone project. Everything compiles and runs fine but some error badges remain in the editor. Looking around for a while I narrowed it to the Stand Alone project. For some reason the project is displayed as version 1.1 when 1.3 is the actual value. I verified that the platform contains the latest version 1.3 (inspecting the contents of the jar file and manifest) but for some reason the project still sees 1.1. I tried removing and recreating the custom platform (within the IDE), removing and adding the dependencies on the module all without luck. Might be a caching issue. I'll try to clean my var folder and retry and see if it does the trick.
Just removing the cache part of the user's var folder cleared the red badges but the project still displays version 1.1 of the stand alone project within it's libraries node. Will try removing the var folder altogether and see.
Created attachment 109892 [details] Wrong version displayed
This is the manifest currently on the custom platform location: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.2 Created-By: 1.7.0-b147 (Oracle Corporation) OpenIDE-Module-Public-Packages: com.dreamer.outputhandler.*, org.jives oftware.smack.util.* OpenIDE-Module-Module-Dependencies: org.netbeans.core.io.ui/1 > 1.11.1 , org.openide.awt > 7.30.1, org.openide.io > 1.26.1, org.openide.util > 8.14.1, org.openide.util.lookup > 8.6.1, org.openide.windows > 6.3 9.1 OpenIDE-Module-Java-Dependencies: Java > 1.6 OpenIDE-Module-Build-Version: 110809 OpenIDE-Module-Specification-Version: 1.3 AutoUpdate-Show-In-Client: true OpenIDE-Module: com.dreamer.outputhandler/1 OpenIDE-Module-Implementation-Version: 3 OpenIDE-Module-Localizing-Bundle: com/dreamer/outputhandler/Bundle.pro perties OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1 Class-Path: ext/smack-3.2.1.jar Notice in the picture that even the wrapped library, smack-3.2.1.jar, is even there. The library was not present on version 1.1, was introduced in 1.2 but an older version(smack-2.3.1.jar). smack-3.2.1.jar was introduced in version 1.3 of the plugin.
The library still shows the wrong version, but the rest behaves correctly. Still something's wrong in the caching...
Let me know when you figure out how to reproduce from scratch, particularly if restarting the IDE works, or if restarting after removing var/cache/ works.
I haven't been able to reproduce since I changed my approach. I'm guessing it was my fault. Here's what I believe: 1) The IDE had version 1.1 installed as a plugin 2) The project's custom NetBeans platform had 1.3 in it. I guess that confused the IDE. FYI I fixed the issue by installing plugins in a shared folder (option in the update tab). This created a new Extra module (in my case) containing the installed modules. I use that as my application's platform now without issues.
(In reply to comment #6) > 1) The IDE had version 1.1 installed as a plugin > 2) The project's custom NetBeans platform had 1.3 in it. > > I guess that confused the IDE. It should be no problem to have this situation. I am not sure what went wrong. > I fixed the issue by installing plugins in a shared folder (option in the > update tab). This created a new Extra module "cluster"?
That's what I thought but when I changed to the new approach it got fixed. Yes, I meant an extra cluster (actually named extra) when I installed my plugin. Lots of the installed plugins end up there.