db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4283) setEmbeddedCP should not exit on error
Date Fri, 03 Jul 2009 14:38:47 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726987#action_12726987
] 

Dag H. Wanvik commented on DERBY-4283:
--------------------------------------

I am not sure this is a bug; if DERBY_HOME is not set, the CLASSPATH will not be set up correctly,
and this will be silently ignored if a "return" is used. It is a precondition for using this
script that DERBY_HOME has been set up.

Cf. http://db.apache.org/derby/docs/dev/getstart/tgssetupenvironment.html and
http://db.apache.org/derby/docs/dev/getstart/tgs26250.html


> setEmbeddedCP should not exit on error
> --------------------------------------
>
>                 Key: DERBY-4283
>                 URL: https://issues.apache.org/jira/browse/DERBY-4283
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.5.1.1
>         Environment: cygwin on windows (bash)
>            Reporter: Susumu Ishizuka
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message