db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5432) Space in default installation directory makes tools (e.g. dblook) unrunnable
Date Tue, 27 Sep 2011 08:32:12 GMT

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

Knut Anders Hatlen commented on DERBY-5432:
-------------------------------------------

Do you also see this problem with newer versions of Derby? In Derby 10.6 and newer the line
that fails for you is no longer in the script (changed in DERBY-3207).
                
> Space in default installation directory makes tools (e.g. dblook) unrunnable
> ----------------------------------------------------------------------------
>
>                 Key: DERBY-5432
>                 URL: https://issues.apache.org/jira/browse/DERBY-5432
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 10.5.3.0
>         Environment: MacOS X Lion (10.7.1)
>            Reporter: Timothy Miller
>            Priority: Minor
>
> The default installation directory for Derby has a space in it.  Here, it came out as
"javadb 10.5.3.0".  There is a bug in (at least) the dblook script that cannot handle this
space.
> $ ../javadb\ 10.5.3.0/bin/dblook -d MinuteMan
> ../javadb 10.5.3.0/bin/dblook: line 26: /Users/millerti/javadb: No such file or directory
> This is on line 26 of the dblook script:
> . $DERBY_HOME/bin/derby_common.sh
> Where $DERBY_HOME is used, there needs to be quotation marks, like this:
> . "$DERBY_HOME/bin/derby_common.sh"
> If I add those, the tool starts up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message