I'm writing a service that requires a single string as configuration.
Here's the definition of the configuration point and contribution:

  <configuration-point id="Factory" occurs="1">
    <schema>
      <element name="config">
        <attribute name="location" required="true"/>

        <rules>
          <push-attribute attribute="location"/>
          <invoke-parent method="addElement"/>
        </rules>
      </element>
    </schema>
  </configuration-point>

  <contribution configuration-id="Factory">
    <config location="/usr/bin/pdftotext"/>
  </contribution>

According to the documentation the attribute should be treated as a
single sting, since I don't provide a translator. Nevertheless I get
this error:

org.apache.hivemind.ApplicationRuntimeException: Unable to translate
'/usr/bin/pdftotext' to type java.lang.Object: No property editor for
java.lang.Object.

What am I missing here?

Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to