Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4897

Many configuration files do not contain the right CR+LF at the end of the text lines, causing them to not be easily editable in a Windows environment (Notepad) for developers.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.1 ER3
    • EAP 5.0.1
    • Build
    • None
    • On Linux and UNIX based systems everything is fine, but on Windows systems, which expect the CR+LF, the text configuration files do not display properly in an editor such as Notepad.

    • Hide

      Open a file such as, jboss-eap-5.0/jboss-as/server/default/conf/props/jmx-console-users.properties in Notepad on Windows, and you will get one line instead of two, and where the LF character is, it will display a box, instead of breaking the line and giving a newline.

      Show
      Open a file such as, jboss-eap-5.0/jboss-as/server/default/conf/props/jmx-console-users.properties in Notepad on Windows, and you will get one line instead of two, and where the LF character is, it will display a box, instead of breaking the line and giving a newline.
    • Low
    • Hide
      Fixed on the tip of JBPAPP_5_1 (will be in the ER2 tag)

      Committed revision 111236.
      Show
      Fixed on the tip of JBPAPP_5_1 (will be in the ER2 tag) Committed revision 111236.
    • Not Required

    Description

      Currently, many of the text configuration files in the EAP distribution only have a LF (x0A) character at the end of lines. While this works fine on Linux and UNIX, it makes it so you cannot easily edit the files on Windows systems. Windows expects CR+LF (x0D x0A), and this also works on Linux and UNIX systems.

      If I run unix2dos on one of these files, it adds the CR+LF, where the LF is now, and it works in Notepad on Windows, and in Vi, Gedit, etc. on Linux and UNIX.

      See Andiamo 20 for the details of the discussion:

      https://jira.jboss.org/browse/ANDIAMO-20

      Attachments

        Activity

          People

            fnasser Fernando Nasser
            rhn-engineering-anmiller Andrig Miller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: