accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1844) Tests to ensure that Main's classnames exist
Date Fri, 01 Nov 2013 03:41:17 GMT
Josh Elser created ACCUMULO-1844:
------------------------------------

             Summary: Tests to ensure that Main's classnames exist
                 Key: ACCUMULO-1844
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1844
             Project: Accumulo
          Issue Type: Improvement
          Components: start, test
            Reporter: Josh Elser


The Main class, in accumulo-start, references a number of classes to handle the command line
arguments to the accumulo shell script.

However, since start can't depend on the other modules, it must use String representations
of these classes.

This is very brittle and, if those classes move, we have no knowledge of this breakage until
runtime.

We should have something later in the build that will enumerate the arguments to Main to ensure
that we don't get a NoClassDefFound error at runtime due to a moved class.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message