activeio test package inclusion and logging properties
------------------------------------------------------
Key: AMQ-1132
URL: https://issues.apache.org/activemq/browse/AMQ-1132
Project: ActiveMQ
Issue Type: Bug
Affects Versions: incubation
Reporter: Dejan Bosanac
Priority: Minor
When you include activemq-core as a dependency on an empty project, even
simplest examples fails with
java.io.FileNotFoundException: /target/test.log (No such file or directory)
exception.
First of all, the core package includes dependency on activeio-core test jar
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activeio-core</artifactId>
<optional>false</optional>
<type>test-jar</type>
</dependency>
for which I'm not sure is needed.
Second, in this test activeio package logging.properties is configured so that
root logger writes into ${basedir}/target/test.log, which causes application to
fail. It would be better to set it to write to stdout by default.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira