Thanks for the reply. Here's the .xinfo :
<?xml version="1.0"?>
<blockinfo>
<block>
<version>1.0.0</version>
</block>
<services>
<service name="com.mycompany.runmode.MyComponent" version="1.0.1" />
</services>
<dependencies>
<dependency>
</dependency>
</dependencies>
</blockinfo>
Here the MyComponent is a .class that is part of a jar. What could go wrong here?
Stephen McConnell <[EMAIL PROTECTED]> wrote:
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 descriptor is not right. A service export
declaration seems to be missing the name attribitue. Here is an example
of a typical descriptor:
1.0
http://relaxng.org/ns/structure/1.0
name="org.apache.avalon.cornerstone.services.threads.ThreadManager"/>
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]
---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears