You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2016/09/13 18:09:31 UTC

[1/2] activemq-artemis git commit: https://issues.apache.org/jira/browse/ARTEMIS-730

Repository: activemq-artemis
Updated Branches:
  refs/heads/master 509e36eb8 -> 59a5ec8c3


https://issues.apache.org/jira/browse/ARTEMIS-730

Adding instructions to set up test projects to work in eclipse that
depend on the unit-tests project.  This is necessary so that the
generated logger can be found.


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/2efde35d
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/2efde35d
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/2efde35d

Branch: refs/heads/master
Commit: 2efde35d4543e2be1a9f37266a93a36d82a589f0
Parents: 509e36e
Author: Christopher L. Shannon (cshannon) <ch...@gmail.com>
Authored: Tue Sep 13 13:49:46 2016 -0400
Committer: Christopher L. Shannon (cshannon) <ch...@gmail.com>
Committed: Tue Sep 13 14:00:31 2016 -0400

----------------------------------------------------------------------
 docs/hacking-guide/en/ide.md | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2efde35d/docs/hacking-guide/en/ide.md
----------------------------------------------------------------------
diff --git a/docs/hacking-guide/en/ide.md b/docs/hacking-guide/en/ide.md
index 04da56e..f38fb81 100644
--- a/docs/hacking-guide/en/ide.md
+++ b/docs/hacking-guide/en/ide.md
@@ -85,6 +85,14 @@ code generation from Java annotations. In order for it to 'just work' in Eclipse
 _Maven Integration for Eclipse JDT Annotation Processor Toolkit_ [m2e-apt](https://github.com/jbosstools/m2e-apt). See
 this [JBoss blog post](https://community.jboss.org/en/tools/blog/2012/05/20/annotation-processing-support-in-m2e-or-m2e-apt-100-is-out)
  for details.
+ 
+### Running tests from Eclipse
+Setting up annotation pre-processing in the above section is all you need to run tests in the "unit-tests" project as that will properly add the generated logger to the source.  However, one more step is needed to run tests in other projects such as "performance-tests" or "integration-tests" that have a dependency on "unit-tests". Currently m2eclipse does not properly link the generated source annotations folder from "unit-tests" which causes the logger that is generated to not be available.  To simplest way to fix this is to manually add a project dependency on "unit-tests" to each of the projects where you want to run a test class from:
+
+* Right click on the test project (i.e. integration-tests): Properties -> Java Build Path -> Projects -> Add
+* Select the "unit-tests" project and click Ok
+
+You should now be able to run tests assuming that the annotation pre-processing was set up properly in the previous step.
 
 ### M2E Connector for Javacc-Maven-Plugin
 


[2/2] activemq-artemis git commit: This closes #774

Posted by cl...@apache.org.
This closes #774


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/59a5ec8c
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/59a5ec8c
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/59a5ec8c

Branch: refs/heads/master
Commit: 59a5ec8c367dfe9137c3160cd4d83d2095f9d91f
Parents: 509e36e 2efde35
Author: Clebert Suconic <cl...@apache.org>
Authored: Tue Sep 13 14:09:25 2016 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Tue Sep 13 14:09:25 2016 -0400

----------------------------------------------------------------------
 docs/hacking-guide/en/ide.md | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------