Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-1673

Installer should align with runtime detection

    XMLWordPrintable

Details

    • Hide
      The JBoss Developer Studio installer server detection did not allign with runtime detection from within the tooling. When detection plug-ins were updated, new servers were not automatically detected due to the code split between detection through the product installation wizard and runtime detection within the user interface. In this release, on first start-up, the installer asks for a list of directories to scan for new servers. The directory selected will then be optionally scanned on every subsequent launch of the JBoss Developer Studio and new discovered servers will be displayed in a list to the user. This allows for new servers to be detected, while not having to duplicate the code and combine it with the runtime detection available from within JBoss Developer Studio.
      Show
      The JBoss Developer Studio installer server detection did not allign with runtime detection from within the tooling. When detection plug-ins were updated, new servers were not automatically detected due to the code split between detection through the product installation wizard and runtime detection within the user interface. In this release, on first start-up, the installer asks for a list of directories to scan for new servers. The directory selected will then be optionally scanned on every subsequent launch of the JBoss Developer Studio and new discovered servers will be displayed in a list to the user. This allows for new servers to be detected, while not having to duplicate the code and combine it with the runtime detection available from within JBoss Developer Studio.
    • Documented as Feature Request

    Description

      The installer currently has its own form of server detection which generates a file that runtime detection uses to configure specified servers.
      The detection code is not shared and the workflow/power of them are different.

      After discussion option B) is selected.

      Implementation details.

      1. Runtime detection startup is modified to check list of paths in ${target}/studio/runtime_locations.properties generated by installer (I made it this way because there is no way to reuse preferences generation from installer).
      2. Installer's step 5 is modified for version w/o EAP to look like

      for version w/ EAP

      It lets to add new location

      Edit new location

      remove new loaction or locations,
      change "Scan every start" in list without opening dialog

      3. After start it shows Runtime detection dialog with discovered runtimes in locations configured in installer

      which is blocked by modal usage dialog JBDS-1795

      4. Preferences contains list of locations added in installer

      5. Discovered and selected servers are created in Servers view

      Attachments

        1. screenshot100.png
          screenshot100.png
          64 kB
        2. screenshot90.png
          screenshot90.png
          55 kB
        3. screenshot93.png
          screenshot93.png
          74 kB
        4. screenshot94.png
          screenshot94.png
          55 kB
        5. screenshot95.png
          screenshot95.png
          74 kB
        6. screenshot96.png
          screenshot96.png
          147 kB
        7. screenshot97.png
          screenshot97.png
          180 kB
        8. screenshot98.png
          screenshot98.png
          73 kB
        9. screenshot99.png
          screenshot99.png
          11 kB

        Issue Links

          Activity

            People

              nivologd@gmail.com Denis Golovin (Inactive)
              manderse@redhat.com Max Andersen
              Isaac Rooskov Isaac Rooskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: