My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 85: excluded listeners? are they practically usefull?
2 people starred this issue and may be notified of changes. Back to list
 
Reported by mikenere...@gmail.com, Jun 24, 2009
That is a good question. Lets look at default-architecture-rules.xml

<architecture>
  <configuration>
    <sources no-packages="ignore"/>

    <cyclicalDependency test="true"/>

    <listeners>
      <include>
        <listener>org.architecturerules.listeners.LoggerListener</listener>
        <listener>org.architecturerules.listeners.ReportListener</listener>
      </include>
    </listeners>

    <properties>
      <property key="report.output.directory" value="target/architecture"/>
      <property key="report.output.format" value="xml"/>
    </properties>

  </configuration>
</architecture>

Since we include the two default listeners, we should have a way to remove
those listeners. So for that reason I do believe that the answer to your
question is YES. We should be able to exclude listeners. 

So this needs to be added to the XML DTD and the programmatic API.

We'll just go with

<listeners>
  <include>
    <listener/>
  </include>
  <exclude>
    <listener/>
  <exclude>
</listeners>


Comment 1 by mykola.nickishov, Jul 03, 2009
(No comment was entered for this change.)
Labels: -Milestone-Release3.0 Milestone-Release3.1
Sign in to add a comment

Hosted by Google Code