The following comment has been added to this issue:
Author: Ralf Hauser
Created: Mon, 20 Sep 2004 1:07 AM
Body:
I also ran "ant" that is mapped to "ant -dist" from what I can see.
I guess the problem is that when using cygwin's CVS upon initial download, it won't
convert the linefeeds since it is unix-oriented.
So I guess, the build.xml should try to detect whether it is cygwin or not and if so,
it should tell checkstyle to expect unix linefeeds even though it is on windows...
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/CACTUS-143?page=comments#action_53225
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/CACTUS-143
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CACTUS-143
Summary: ant fails on [checkstyle] task under cygwin due to mixup with newlines
Type: Bug
Status: Open
Priority: Major
Project: Cactus
Assignee: Vincent Massol
Reporter: Ralf Hauser
Created: Sun, 19 Sep 2004 12:55 PM
Updated: Mon, 20 Sep 2004 1:07 AM
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
[EMAIL PROTECTED]:~/<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);$
} $
}$
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]