This is defined in the SCA assembly spec: 3081 8 SCA Definitions 3082 There are a variety of SCA artifacts which are generally useful and which are not specific to a particular 3083 composite or a particular component. These shared artifacts include intents, policy sets, bindings, 3084 binding type definitions and implementation type definitions. 3085 All of these artifacts within an SCA Domain are defined in SCA contributions in files called META- 3086 INF/definitions.xml (relative to the contribution base URI). An SCA runtime MUST make available to the 3087 Domain all the artifacts contained within the definitions.xml files in the Domain. [ASM10002] An SCA 3088 runtime MUST reject a definitions.xml file that does not conform to the sca-definitions.xsd schema. 3089 [ASM10003]
Thanks, Raymond ________________________________________________________________ Raymond Feng [email protected] Apache Tuscany PMC member and committer: tuscany.apache.org Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com Personal Web Site: www.enjoyjava.com ________________________________________________________________ On Jul 30, 2010, at 8:53 PM, Luciano Resende wrote: > I noticed that DefinitionsDocumentProcessor register itself to process > "/META-INF/definitions.xml" and some iTests fails if we move the > definitions.xml outside the META-INF folder (e.g itest-policies). > Does the SCA Policy spec says we can only have definitions.xml inside > META-INF folder ? Could someone point me where that is mentioned ? > > Thanks > > -- > Luciano Resende > http://people.apache.org/~lresende > http://twitter.com/lresende1975 > http://lresende.blogspot.com/
