Milind Tendulkar wrote:

Hi,

Here's the error received. Can anyone help?

Failed to create BlockInfo for Block named "MyComponent" from resource "com/mycompany/runmode/MyComponent.xinfo" (Reason: No attribute named "name" is associated with the configuration element "service" at -).


Sounds like the <blockinfo> descriptor is not right. A service export declaration seems to be missing the name attribitue. Here is an example of a typical <blockinfo> descriptor:


<blockinfo>

 <block>
   <version>1.0</version>
   <schema-type>http://relaxng.org/ns/structure/1.0</schema-type>
 </block>

<services>
<service name="org.apache.avalon.cornerstone.services.threads.ThreadManager"/>
</services>


</blockinfo>

Stephen.



Thanks in advance.





---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears



--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




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



Reply via email to