Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-1132

activeio test package inclusion and logging properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • incubation
    • 5.6.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dejanb Dejan Bosanac
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: