NetBeansInstallerIDEAndRuntimesIntegration
NetBeans IDE and Runtimes Integration
There is an issue related to NetBeans IDE integration with different runtimes (glassfish/tomcat) that occur in subsequent installations of NetBeans 6.0/NetBeans6.0.1/NetBeans6.1M1. This document describes the use cases with taking glassfish as the example (tomcat is pretty much the same) and the strategy how should the integration work in general.
Contents |
Current integration strategy in brief
- When installing NetBeans:
- search for all already installed instances of glassfish
- if anyone found integrated with the first oen found
- When installing GlassFish:
- search for all already installed instances of netbeans
- integrate with each one found
- When uninstalling GlassFish:
- search for all already installed instances of netbeans that are integrated with this glassfish
- remove integration with each one found
Enhanced integration strategy in brief
- When installing NetBeans:
- search for already installed glassfish instances.
- if one of them is also available in the bundled registry then integrate with it.
- if none is available then integrate netbeans with the first found instance of glassfish.
- When installing GlassFish:
- search for already installed netbeans instances.
- if one of them is also available in the bundled registry then integrate with it.
- if none is available then integrate glassfish with the all instances of NetBeans those are not yet integrated with any other glassfish instance.
- When uninstalling GlassFish:
- search for all already installed instances of netbeans that are integrated with this glassfish
- remove integration with each one found
Enhanced integration strategy in step-by-step examples
- Run NetBeans 6.0 Web&JavaEE installer and install NetBeans without glassfish v2
no server is integrated with NetBeans 6.0
- Run it again and install glassfish v2 this time
glassfish v2 should be integrated to NetBeans 6.0
- Run glassfish v2 uninstaller and uninstall it
glassfish v2 should be removed from NetBeans 6.0
- Run it again and install glassfish v2 this time
glassfish v2 should be integrated to NetBeans 6.0
- Run NetBeans 6.0.1 Web&JavaEE installer and install NetBeans without glassfish
glassfish v2 should be integrated with both NetBeans 6.0 and NetBeans 6.0.1
- Run NetBeans 6.0.1 Web&JavaEE installer and install glassfish v2u1
glassfish v2 should be integrated with NetBeans 6.0, glassfish v2u1 and NetBeans 6.0.1
- Run glassfish v2 uninstaller and proceed with uninstallation
glassfish v2 should be removed with NetBeans 6.0, glassfish v2u1 should be still integrated with NetBeans 6.0.1, nothing is integrated with NB6.0
- Run NetBeans 6.0 installer and proceed with installation of glassfish v2
glassfish v2 should be integrated with NetBeans 6.0, glassfish v2u1 should be still integrated with NetBeans 6.0.1
- Run glassfish v2 uninstaller and proceed with uninstallation
glassfish v2 should be removed with NetBeans 6.0, glassfish v2u1 should be still integrated with NetBeans 6.0.1, nothing is integrated with NB6.0
- Run glassfish v2ur1 uninstaller and proceed with uninstallation
nothing is integrated with both NB6.0 and NB6.0.1
- Run NetBeans 6.0 Web&JavaEE installer and install glassfish v2
glassfish v2 should be integrated with both NB6.0 and NB6.0.1
- Run NetBeans 6.1 Web&JavaEE installer and install NetBeans
glassfish v2ur1 should be integrated with all NB - 6.0, 6.0.1, 6.1
- Run NetBeans 6.1 Web&JavaEE installer and install glassfish v2ur1
glassfish v2ur1 should be integrated with all 6.0.1, glassfish v2 should be still integrated with 6.0 and 6.0.1
- Uninstall glassfish v2ur1, glassfish v2
no servers is integreted with all NB - 6.0, 6.0.1, 6.1
- Run NetBeans 6.1 Web&JavaEE installer and install glassfish v2u1
glassfish v2ur1 should be integrated with all NB - 6.0, 6.0.1, 6.1
- Uninstall glassfish v2ur1 and install glassfish v2 using NetBeans 6.0 Web&JavaEE installer
glassfish v2 should be integrated with all NB - 6.0, 6.0.1, 6.1
- Run NetBeans 6.1 Web&JavaEE installer and install glassfish v2ur1
glassfish v2 should be integrated with NB - 6.0 and 6.0.1 (?), glassfish v2 should be integrated with 6.1

