sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Grover (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-131) bin/sentry script doesn't find config-tool.sh under some circumstances
Date Wed, 05 Mar 2014 21:38:46 GMT
Mark Grover created SENTRY-131:
----------------------------------

             Summary: bin/sentry script doesn't find config-tool.sh under some circumstances
                 Key: SENTRY-131
                 URL: https://issues.apache.org/jira/browse/SENTRY-131
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Mark Grover
            Assignee: Mark Grover
             Fix For: 1.3.0


The sentry binary script makes an assumption that the config-tool.sh script is under SENTRY_HOME/bin/
which in turn assumes that the sentry jars are under SENTRY_HOME/lib.

This is not a fair assumption in my opinion because the binary scripts and jars don't have
to be under the same top level directory. I think a better way to do this would be to to have
SENTRY_HOME/lib point to where the jars are, but don't assume that config-tool.sh is under
SENTRY_HOME/bin. We can look for config-tool.sh in the same directory that the sentry script
is present in, since they always are/should be.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message