2 Replies Latest reply on Aug 10, 2011 5:08 AM by David Hill

    blueprint - multiple property-placeholders

    David Hill Newbie

      I have an blueprint.xml file where I am trying to do the following:


      <cm:property-placeholder id="someId" persistent-id="com.xyz.a"/>

      <cm:property-placeholder id="otherId" persistent-id="com.xyz.b"/>


      The property files contain completely different properties. However, when I deploy my bundle I get the follow error:


      org.osgi.service.blueprint.container.ComponentDefinitionException: Multiple placeholders with the same prefix and suffix are not allowed


      If I combine all of the properties into a single properties file then everything works fine. However, I read in the fusesource docs that there can be multiple declarations. Can someone point out what I am doing wrong?