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.
-User is allowed to delete a registered V3 server directory while is not allowed to delete Glassfish V2 registered directory -It should be consistent among servers at least on WinXP Steps To Reproduce 1. Install NB 7.0 Dev, dated Feb 08, 2008 from http://bits.netbeans.org/download/trunk/nightly/latest/ 2. From Plugin dialog, select to activate Glassfish V3 Prelude and Glassfish V2/V1 Server 3. From a window explore, select to delete the bundled Glassfish V2 server directory Note: You're not allowed 4. Select to delete the Glassfish V3 Prelude bundled Server BUG: -You can delete it -After deleted GF V3 server, I try to start the Glassfish V3 Prelude from Servers list menu, an irrelevant error message appears to say "can start server...Associate jdk ..." please see the attached file for the full message
Created attachment 76769 [details] errorMessage
you cannot delete v2 because the IDE is using jars that are in the server directory.... the v3 plugin does not use jars out of the installation directory... so it can be deleted. Putting in a false usage of one of the jars might address this (on Windows only)... I do not see a huge pay-off for adding such a hack.
I do not see this as a NetBeans issue. People can delete files on their file systems and they should know that doing so can break something. User can delete asadmin because NetBeans code does not use it at all, user can delete remote GlassFish server and blame NetBeans that it did allowed him to do so. I would like to avoid doing such a hack. People using NetBeans are developers and they should have some basic knowledge about computers and operating systems.