Cactus
  1. Cactus
  2. CACTUS-143

ant fails on [checkstyle] task under cygwin due to mixup with newlines

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: Other
    • Labels:
      None
    • Environment:
      cygwin - got cactus HEAD from CVS

      Description

      ...
      [checkstyle] C:\Documents and Settings\r\My Documents\psph\workspace\c
      actus\framework\src\test\share-13-14\org\apache\cactus\extension\jetty\TestJetty
      TestSetup.java:0: File does not end with a newline.

      BUILD FAILED
      C:\Documents and Settings\r\My Documents\psph\workspace\cactus\build.x
      ml:43: Following error occured while executing this line
      C:\Documents and Settings\r\My Documents\psph\workspace\cactus\framewo
      rk\build.xml:627: Got 122 errors.

      when doing a
      ralf@pc:~/<1>workspace/cactus> u2d framework/src/test/share-13-14
      /org/apache/cactus/extension/jetty/TestJettyTestSetup.java

      that file no longer shows up.

      when doing "cat -vte" this file now ends with
      // Ensure that tearDown will shutdown the container^M$
      jettyTestSetup.setForceShutdown(true);^M$
      } ^M$
      }^M$

      instead of
      // Ensure that tearDown will shutdown the container$
      jettyTestSetup.setForceShutdown(true);$
      } $
      }$

        Activity

          People

          • Assignee:
            Felipe Leme
            Reporter:
            Ralf Hauser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development