Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-114

[configuration] Saving XML configurations to another file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      The two XML configurations (DOMConfiguration & DOM4JConfiguration) cannot be
      saved to another file, unlike PropertiesConfiguration they do not provide a
      save(String filename) method to save the configuration to another file.

        Activity

        Hide
        Emmanuel Bourg added a comment -

        Fixed, I didn't apply the patch though, I reused the methods of
        BasePropertiesConfiguration instead.

        Show
        Emmanuel Bourg added a comment - Fixed, I didn't apply the patch though, I reused the methods of BasePropertiesConfiguration instead.
        Hide
        Emmanuel Bourg added a comment -

        Thank you for the patch Brent, I'll merge it once the refactoring of the xml
        configurations is completed.

        Show
        Emmanuel Bourg added a comment - Thank you for the patch Brent, I'll merge it once the refactoring of the xml configurations is completed.
        Hide
        Brent Worden added a comment -

        Created an attachment (id=11930)
        Patch providing save method to the XML configurations.

        Show
        Brent Worden added a comment - Created an attachment (id=11930) Patch providing save method to the XML configurations.

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Bourg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development