activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-1132) activeio test package inclusion and logging properties
Date Thu, 13 Oct 2011 23:54:11 GMT

    [ https://issues.apache.org/jira/browse/AMQ-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127158#comment-13127158
] 

Timothy Bish commented on AMQ-1132:
-----------------------------------

The only reason we need to have the activeio test.jar in for the tests is for the JournalPerfTool
and JournalPerfRWTool classes which aren't actually unit tests, should we move these someplace
else so we can remove the test.jar dependency?
                
> activeio test package inclusion and logging properties
> ------------------------------------------------------
>
>                 Key: AMQ-1132
>                 URL: https://issues.apache.org/jira/browse/AMQ-1132
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dejan Bosanac
>            Priority: Minor
>             Fix For: NEEDS_REVIEWED
>
>
> 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, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message