Wicket
  1. Wicket
  2. WICKET-2035

Change naming convention for xml properties files to *.properties.xml instead of *.xml

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5-M3
    • Component/s: wicket
    • Labels:
      None

      Description

      wicket supports xml properties files. Current naming is <Component>.xml. That causes confusion when you want to return xml markup instead of html. There is no simple way to distinguish the content. Of course we could read the file and analyse the content, but changing the convention to *.properties.xml seems to be much simpler. Besides it become more obvious what the file is about (a properties files).

        Activity

        Hide
        Hudson added a comment -

        Integrated in Apache Wicket 1.5.x #465 (See https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/465/)
        WICKET-3137 error in 1.5-M3 in request mapper example
        WICKET-2035 Change naming convention for xml properties files to *.properties.xml instead of *.xml

        Rename the bulgarian resources file from .xml to .properties.xml
        WICKET-3137 error in 1.5-M3 in request mapper example
        WICKET-2035 Change naming convention for xml properties files to *.properties.xml instead of *.xml

        Rename the bulgarian resources file from .xml to .properties.xml

        Show
        Hudson added a comment - Integrated in Apache Wicket 1.5.x #465 (See https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/465/ ) WICKET-3137 error in 1.5-M3 in request mapper example WICKET-2035 Change naming convention for xml properties files to *.properties.xml instead of *.xml Rename the bulgarian resources file from .xml to .properties.xml WICKET-3137 error in 1.5-M3 in request mapper example WICKET-2035 Change naming convention for xml properties files to *.properties.xml instead of *.xml Rename the bulgarian resources file from .xml to .properties.xml
        Hide
        Hudson added a comment -

        Integrated in Apache Wicket 1.5.x #453 (See https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/453/)
        WICKET-2035 Change naming convention for xml properties files to *.properties.xml instead of *.xml

        Change the file extension used for XML based property files.
        Until now the extension was .xml, from now on it is .properties.xml.

        Show
        Hudson added a comment - Integrated in Apache Wicket 1.5.x #453 (See https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/453/ ) WICKET-2035 Change naming convention for xml properties files to *.properties.xml instead of *.xml Change the file extension used for XML based property files. Until now the extension was .xml, from now on it is .properties.xml.
        Hide
        Martin Grigorov added a comment -

        The file extension is changed to .properties.xml with r1026861

        Show
        Martin Grigorov added a comment - The file extension is changed to .properties.xml with r1026861
        Hide
        Igor Vaynberg added a comment -

        something trivial like this is ok i think since it doesnt touch a lot of code.

        Show
        Igor Vaynberg added a comment - something trivial like this is ok i think since it doesnt touch a lot of code.
        Hide
        Martin Grigorov added a comment -

        Any objections to make this change (.xml -> .properties.xml) in Wicket 1.5 ?
        Or we have too much changes already for that release?

        Show
        Martin Grigorov added a comment - Any objections to make this change (.xml -> .properties.xml) in Wicket 1.5 ? Or we have too much changes already for that release?

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Juergen Donnerstag
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development