cactus-dev@jakarta.apache.org
[Top] [All Lists]

[jira] Commented: (CACTUS-143) ant fails on [checkstyle] task under cygw

Subject: [jira] Commented: (CACTUS-143) ant fails on [checkstyle] task under cygwin due to mixup with newlines
From: "Vincent Massol (JIRA)"
Date: Mon, 8 Nov 2004 09:10:32 -0800 PST
     [ 
http://nagoya.apache.org/jira/browse/CACTUS-143?page=comments#action_55202 ]
     
Vincent Massol commented on CACTUS-143:
---------------------------------------

Felipe, FYI these checkstyle errrors do not exist for me on a windows 
environment. Maybe they exist on a unix environment (which is what cygwin 
emulates)? what is strange is that the checkstyle NewlineAtEndOfFile check is 
documented to work on the different OSes (see 
http://checkstyle.sourceforge.net/config_misc.html#NewlineAtEndOfFile).



> ant fails on [checkstyle] task under cygwin due to mixup with newlines
> ----------------------------------------------------------------------
>
>          Key: CACTUS-143
>          URL: http://nagoya.apache.org/jira/browse/CACTUS-143
>      Project: Cactus
>         Type: Bug
>  Environment: cygwin  - got cactus HEAD from CVS
>     Reporter: Ralf Hauser
>     Assignee: Felipe Leme
>      Fix For: 1.7

>
> ...
> [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);$
>     }    $
> }$

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: cactus-dev-help@xxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>