![]() |
Now, goto Tools > NetBeans Platforms and generally, you would find same platform configured with your NetBeans IDE and that might be possible, only if you are not running any daily builds.
![]() |
So, this figure might look familiar to you, if the above statements are correct. You can configure several platforms with your distribution. For instance, I have NetBeans 6.0, 6.1 installed, along with 6.5 which I am running. So, I will show you how to configure one of them,
![]() |
![]() |
![]() |
This way you have added platform supplied by NetBeans 6.0 in NetBeans 6.5. Now, switch over to Harness tab and click the 2nd radio button to complete the configuration. This is done to let this platform use its harness to perform tasks related with module projects.
![]() |
Similarly, doing for 6.1, the following figure shows that I have successfully configured the above NetBeans Platforms,
![]() |
Now, you know how to add/remove NetBeans Platforms. Lets go further ahead and explore a bit more by taking a typical scenario..
Assuming you made a plug in using NetBeans 6.0 (released in Dec '07) to be compatible with the same. Soon after NetBeans 6.5 FCS (released Nov '08) was available, you find that 6.5 work very fast compared to 6.1 and due its improved features, it will help you in reducing your development time.
So, you decide to rework on your module using latest features, however you still want that plug in to work only for NetBeans 6.0, here's what you need to do.
Firstly, open your plug in project and right-click project node to select its properties. Now, goto Libraries and you would see there's a drop-down list for selecting your choice of NetBeans Platform, against which you can build your module. This list of platform's can be configured by clicking "Manage Platforms.." button and you will see the same image, shown earlier.
See how they are all related.. Isn't it cool? By default, the platform supplied by the NetBeans IDE you are running is selected.
In our case, if you have configured NetBeans 6.0 as demonstrated above, you need to select that from drop-down list and then, select NetBeans 6.0 build to let your module perform tasks against platform supplied with NetBeans 6.0.
![]() |
When, you run the module project, the above splash screen for NetBeans 6.0 pops up and now, you can see whether your module works or not. Hope this helps!
The following is not possible as discussed in this issue report;
Thanks to Tom Wheeler (NetBeans Dream Team Member and NetBeans Governance Board Member) for answering my question on the mailing list.
| nb-ide-60-running.jpg | ![]() |
106740 bytes |
| nb-platform-manager.jpg | ![]() |
141951 bytes |
| nb65-booting-with-bday-stamp.jpg | ![]() |
98350 bytes |
| nbplatfmgr-add-platform.jpg | ![]() |
168289 bytes |
| nbplatfmgr-choose-platform-folder.jpg | ![]() |
139164 bytes |
| nbplatfmgr-configured-platforms.jpg | ![]() |
141524 bytes |
| nbplatfmgr-platform-added.jpg | ![]() |
154967 bytes |
| nbplatfmgr-platform-name.jpg | ![]() |
108802 bytes |
| nbplatfmgr-select-harness.jpg | ![]() |
152551 bytes |