[
https://issues.apache.org/jira/browse/HBASE-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999221#comment-12999221
]
stack commented on HBASE-3560:
------------------------------
Our src/test/resources/hbase-site.xml is kinda how we set a property for all
tests; else we have to alter all source code. In old days when everyone
subclassed HBaseTestCase, we could have set the property in there but its
junit4 world now.
If you think this ok, I'll commit it. We can always do another spin on it when
there's a better idea?
> the hbase-default entry of "hbase.defaults.for.version" causes tests not to
> run via not-maven
> ---------------------------------------------------------------------------------------------
>
> Key: HBASE-3560
> URL: https://issues.apache.org/jira/browse/HBASE-3560
> Project: HBase
> Issue Type: Bug
> Reporter: ryan rawson
> Attachments: 3560.txt
>
>
> using the default setup of a maven project for intellij, tests fail because
> the hbase-default.xml contains a token @@@VERSION@@@. The maven build
> creates a substitute file, but this file isn't by default on the classpath.
> Is there a different place to put the hbase-default.xml file than
> target/classes? That is excluded from the classpath because IJ has it's own
> compiler. Including that path in the project classpath seems dangerous.
> Can we get the output to go to just 'target' or
> 'target/generated-sources/org' perhaps?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira