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

  1. When installing NetBeans:
    1. search for all already installed instances of glassfish
    2. if anyone found integrated with the first oen found
  2. When installing GlassFish:
    1. search for all already installed instances of netbeans
    2. integrate with each one found
  3. When uninstalling GlassFish:
    1. search for all already installed instances of netbeans that are integrated with this glassfish
    2. remove integration with each one found


Enhanced integration strategy in brief

  1. When installing NetBeans:
    1. search for already installed glassfish instances.
    2. if one of them is also available in the bundled registry then integrate with it.
    3. if none is available then integrate netbeans with the first found instance of glassfish.
  2. When installing GlassFish:
    1. search for already installed netbeans instances.
    2. if one of them is also available in the bundled registry then integrate with it.
    3. if none is available then integrate glassfish with the all instances of NetBeans those are not yet integrated with any other glassfish instance.
  3. When uninstalling GlassFish:
    1. search for all already installed instances of netbeans that are integrated with this glassfish
    2. remove integration with each one found


Enhanced integration strategy in step-by-step examples

  1. Run NetBeans 6.0 Web&JavaEE installer and install NetBeans without glassfish v2
no server is integrated with NetBeans 6.0 
  1. Run it again and install glassfish v2 this time
glassfish v2 should be integrated to NetBeans 6.0 
  1. Run glassfish v2 uninstaller and uninstall it
glassfish v2 should be removed from NetBeans 6.0 
  1. Run it again and install glassfish v2 this time
glassfish v2 should be integrated to NetBeans 6.0 
  1. 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
  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
  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
  1. 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
  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
  1. Run glassfish v2ur1 uninstaller and proceed with uninstallation
nothing is integrated with both NB6.0 and NB6.0.1
  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
  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
  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
  1. Uninstall glassfish v2ur1, glassfish v2
no servers is integreted with all NB -  6.0, 6.0.1, 6.1
  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
  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
  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
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo