Derby
  1. Derby
  2. DERBY-4283

setEmbeddedCP should not exit on error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: 10.5.3.2, 10.6.1.0
    • Component/s: Demos/Scripts
    • Labels:
      None
    • Environment:
      cygwin on windows (bash)
    • Urgency:
      Normal
    • Issue & fix info:
      Known fix, Newcomer, Repro attached, Workaround attached

      Description

      setEmbeddedCP should use 'return' instead of 'exit' if DERBY_HOME was not set.
      Because this script will be sourced from a shell, use of exit will terminate the calling shell.

        Issue Links

          Activity

          Susumu Ishizuka created issue -
          Dag H. Wanvik made changes -
          Field Original Value New Value
          Issue & fix info [Known fix, Newcomer]
          Dag H. Wanvik made changes -
          Issue & fix info [Newcomer, Known fix] [Known fix, Newcomer, Repro attached, Workaround attached]
          Dag H. Wanvik made changes -
          Urgency Normal
          Bryan Pendleton made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 10.6.0.0 [ 12313727 ]
          Resolution Fixed [ 1 ]
          Bryan Pendleton made changes -
          Assignee Bryan Pendleton [ bryanpendleton ]
          Kathey Marsden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kathey Marsden made changes -
          Link This issue is required by DERBY-4994 [ DERBY-4994 ]
          Kathey Marsden made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Mike Matrigali made changes -
          Assignee Bryan Pendleton [ bryanpendleton ] Mike Matrigali [ mikem ]
          Kathey Marsden made changes -
          Assignee Mike Matrigali [ mikem ] Kathey Marsden [ kmarsden ]
          Kathey Marsden made changes -
          Assignee Kathey Marsden [ kmarsden ] Mike Matrigali [ mikem ]
          Mike Matrigali made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Mike Matrigali [ mikem ] Bryan Pendleton [ bryanpendleton ]
          Fix Version/s 10.5.3.2 [ 12315436 ]
          Resolution Fixed [ 1 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Workflow jira [ 12466483 ] Default workflow, editable Closed status [ 12800082 ]

            People

            • Assignee:
              Bryan Pendleton
              Reporter:
              Susumu Ishizuka
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development