Jochen, If you have two modules then they must have different IDs and the <contribution> element needs to reference the configuration with a fully qualified ID. E.g.
<module id="a"> <configuration-point id="c"> ... </configuration-point> </module> <module id="app"> <contribution configuration-id="a.c"> ... </contribution> </module> HTH, --knut On 4/4/07, Jochen Zimmermann <[EMAIL PROTECTED]> wrote:
Hi! At first thank you for the fast answers until now :-) Another (newbie) problem: I want to use the annotated notation for the java part and xml for the configurations/contributions. Setup: I have a service A and an application App. App uses A. In the xml-file configure.xml in service A is a configuration point defined. Now I want to create a configure.xml in App that contains the contribution for the configuration point. Hivemind finds the configure.xml in App but tells me, that I try to contribute to a non existing configuration point. If I put the contribution in the same file as the configuration point everything works fine. I already tried to change the module names to different setups (inserting the apps modulename in the apps xml-file) ... Thanks for your time! Regards, Jochen Zimmermann Here are my files (not including all the attributes): Service: <module id="com.proalpha.java.lucene" version="1.0.0"> <configuration-point id="IndexingService"> <schema> <element name="Indexer"> <attribute name="relativePath" required="true"/> <rules> <create-object class="com.proalpha.java.lucene.configuration.IndexConfiguration"/> <read-attribute property="relativePath" attribute="realtivePath"/> <invoke-parent method="addElement"/> </rules> </element> </schema> </configuration-point> </module> App: <module id="com.proalpha.java.lucene" version="1.0.0"> <contribution configuration-id="IndexingService"> <Indexer key="relativePath" value="Test1"/> </contribution> </module>