RE: Problem in Block composition
"Stephen McConnell" <[email protected]> Fri, 29 Oct 2004 12:14:18 +0200
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <000401c4bda0$0d599c10$1601a8c0@gloria> |
> -----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.