« Return to Thread: [jira] Created: (MGWT-97) generated pom.xml generated with Windows newlines on all platforms.

[jira] Created: (MGWT-97) generated pom.xml generated with Windows newlines on all platforms.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread

generated pom.xml generated with Windows newlines on all platforms.
-------------------------------------------------------------------

                 Key: MGWT-97
                 URL: http://jira.codehaus.org/browse/MGWT-97
             Project: Maven 2.x GWT Plugin
          Issue Type: Improvement
    Affects Versions: 1.1
         Environment: MacOS X
            Reporter: pohl longsine


The  pom.xml that is generated by the archetype uses a Windows-specific newlines at the end of each line.   On a UNIX system, the result  is that there is an extra ^M at the end of every line, like this:

  <modelVersion>4.0.0</modelVersion>^M
  <groupId>org.screaming</groupId>^M
  <artifactId>ui</artifactId>^M
  <packaging>war</packaging>^M
  <version>1.0-SNAPSHOT</version>^M
  <name>gwt-maven-archetype-project</name>^M

(Editing the pom.xml in emacs shows these.)

While this is harmless to the execution of mvn, there must be a cross-platform way to issue a newline while generating the file.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: [jira] Created: (MGWT-97) generated pom.xml generated with Windows newlines on all platforms.