[
https://issues.apache.org/jira/browse/ACCUMULO-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288500#comment-14288500
]
Christopher Tubbs commented on ACCUMULO-1844:
---------------------------------------------
We can (should) add tests to ensure that the expected services are available on
the classpath, though.
> 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
> Assignee: Christopher Tubbs
> Labels: newbie
> Fix For: 1.7.0
>
>
> 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.3.4#6332)