DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9007

Redundent <role> in <dependency>

           Summary: Redundent <role> in <dependency>
           Product: Avalon
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Cornerstone
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If a BlockInfo has a dependency and that declares a role name that is identical to the 
service name then it is 
not necessary to declare the role name. Hence we should delete the <role> element.  
 
ie  
 
<dependency> 
  <role>com.biz.MyService</role> 
  <service name="com.biz.MyService"/> 
</dependency> 
 
can be simplified to 
 
<dependency> 
  <service name="com.biz.MyService"/> 
</dependency> 
 
We should go through all the apps in cornerstone/apps repositories and make sure this 
is true.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to