glassfish
  1. glassfish
  2. GLASSFISH-20724

provide an environment shell script to be sourced by users

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: admin
    • Labels:
      None

      Description

      This is in the category "nice to have".

      A shell script containing various environment variables to be used by users,developers and continuous integration processes.
      It could define conventions for various things such as:

      • PATH (adding all binaries of the refered glassfish in the PATH)
      • GF_HOME (would point to the current installation configured in the environment)
      • various default ports
      • command completions.

      Here are the immediate benefits I can see:

      • Conventions could allow users sharing shell scripts and run them as is.
      • Conventions could unify devtests, improving the developer experience
      • Any user could add "source /path/to/glassfish4/glassfish/conf/environment.sh" to his/her .profile or .rc files.
      • It would reduce the environment part of the CI jobs, and conventions would certainly bring more readability

      And...

      • It would help hooking command completion with simplicty.
      • With a one step operation (edit rc file), users could have seemless asadmin command completion !

        Activity

        Hide
        Romain Grécourt added a comment -

        updating statement on ports to just the default port values.

        Show
        Romain Grécourt added a comment - updating statement on ports to just the default port values.

          People

          • Assignee:
            Chris Kasso
            Reporter:
            Romain Grécourt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: