> -----Original Message----- > From: Harvinder Singh [mailto:[EMAIL PROTECTED] > Sent: 28 October 2004 19:18 > To: Avalon framework users > Subject: RE: Problem in Block composition > > Forgot to include one more problem: > > When I was trying this out, I was getting the below error due to the > included tag in BlockB.xml > > Unable to include block [ComponentContainer] into the containmment model > [/ServiceContainer] because of a repository related error. > > Caused by: org.apache.avalon.repository.RepositoryException: Failed to > download artifact to local cache file C:\Documents and > Settings\hsingh4\.maven\repository\BlockA\jars\BlockA.jar from hosts: > > It is trying to look up for the particular BlockA as a jar file rather > than > an xml file even though I have specified the type as xml in the include > tag. > Thus I put the BlockA.xml file in the above required jar file too and > tried > but then I was getting the same error as stated in the below mail. > Please let me know how to specify the containment correctly.
Try renaming the block from .xml to .block. Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]