activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "saurabh kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-1132) activeio test package inclusion and logging properties
Date Wed, 05 Sep 2012 13:17:08 GMT

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

saurabh kumar commented on AMQ-1132:
------------------------------------

Hi Friends


This workaround as suggested by Jamie(please see below) is not working, please suggest some
other way out. I am stuck :(

<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.1.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.activemq</groupId>
<artifactId>activeio-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activeio-core</artifactId>
<version>3.1.0</version>
</dependency>



Thanks
Saurabh
                
> 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: 5.6.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message