Uploaded image for project: 'Abdera'
  1. Abdera
  2. ABDERA-131

Unable to override the default writer using abdera.properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • None

    Description

      I want to use PrettyWriter as the defalt writer for my app, so I created an abdera.properties file for my app consisting of the following line:
      org.apache.abdera.writer.Writer=org.apache.abdera.parser.stax.util.PrettyWriter

      The problem seems to reside in ServiceUril, but the code is quite convoluted, and I couldn't discern how it is supposed to work. I have created a unit test which demonstrates the problem, which I believe affects any attempt to override default classes using abdera.properties.

      Attachments

        1. AbderaPropertiesBug.patch
          3 kB
          James P. Ancona

        Activity

          People

            Unassigned Unassigned
            jancona James P. Ancona
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: