You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by si...@insession.com on 2005/05/06 03:29:30 UTC

Anyone else getting an error in the Ant JUnit tests running the FixCrLfTest ?

I have done the following in cvshead on Windows XP SP2, Java(TM) 2 Runtime 
Environment, Standard Edition (build 1.4.2_06-b03) :

build allclean
build build
build compile-tests
build test

and get the following:

    [junit] Testsuite: org.apache.tools.ant.taskdefs.FixCrLfTest
    [junit] Tests run: 33, Failures: 0, Errors: 1, Time elapsed: 1.922 sec

    [junit] ------------- Standard Output ---------------
    [junit] 
C:\Projects\J2EE\ant\cvshead\ant\src\etc\testcases\taskdefs\fixcrlf\build.xml:17: 
result/tab_in_literal_in_comment and e
xpected/tab_in_literal_in_comment are different)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: 
testTabInLiteralInComment(org.apache.tools.ant.taskdefs.FixCrLfTest): 
Caused an ERROR
    [junit] The following error occurred while executing this line:
    [junit] 
C:\Projects\J2EE\ant\cvshead\ant\src\etc\testcases\taskdefs\fixcrlf\build.xml:17: 
result/tab_in_literal_in_comment and e
xpected/tab_in_literal_in_comment are different
    [junit] 
C:\Projects\J2EE\ant\cvshead\ant\src\etc\testcases\taskdefs\fixcrlf\build.xml:302: 
The following error occurred while ex
ecuting this line:
    [junit] 
C:\Projects\J2EE\ant\cvshead\ant\src\etc\testcases\taskdefs\fixcrlf\build.xml:17: 
result/tab_in_literal_in_comment and e
xpected/tab_in_literal_in_comment are different
    [junit]     at 
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:536)
    [junit]     at 
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:384)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [junit]     at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown 
Source)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)

John

This e-mail message and any attachments may contain confidential, 
proprietary or non-public information.  This information is intended 
solely for the designated recipient(s).  If an addressing or transmission 
error has misdirected this e-mail, please notify the sender immediately 
and destroy this e-mail.  Any review, dissemination, use or reliance upon 
this information by unintended recipients is prohibited.  Any opinions 
expressed in this e-mail are those of the author personally.

Re: Anyone else getting an error in the Ant JUnit tests running the FixCrLfTest ?

Posted by Steve Loughran <st...@apache.org>.
Stefan Bodewig wrote:
> On Fri, 6 May 2005, <si...@insession.com> wrote:
> 
> 
>>I have done the following in cvshead on Windows XP SP2, Java(TM) 2
>>Runtime Environment, Standard Edition (build 1.4.2_06-b03) :
> 
> 
> The tests assume that line-ends are correct in both the inputs and the
> expected outputs.  For our source distribution this may not be true,
> depending on the OS the distribution has been built on and your own
> OS.
> 
> If you check out Ant's sources from CVS, does it work?
> 

I'm seeing it too.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Anyone else getting an error in the Ant JUnit tests running the FixCrLfTest ?

Posted by si...@insession.com.
I am using the command line cvs client (not the cygwin version) version 
1.11.20.

John

This e-mail message and any attachments may contain confidential, 
proprietary or non-public information.  This information is intended 
solely for the designated recipient(s).  If an addressing or transmission 
error has misdirected this e-mail, please notify the sender immediately 
and destroy this e-mail.  Any review, dissemination, use or reliance upon 
this information by unintended recipients is prohibited.  Any opinions 
expressed in this e-mail are those of the author personally.



Stefan Bodewig <bo...@apache.org> 
06-May-2005 08:27 PM
Please respond to
"Ant Developers List" <de...@ant.apache.org>


To
dev@ant.apache.org
cc

Subject
Re: Anyone else getting an error in the Ant JUnit tests running the 
FixCrLfTest ?






On Fri, 6 May 2005, <si...@insession.com> wrote:

> The test failed in the Ant's sources I checked out from CVS head
> using the following command on Windows XP:
> 
> cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout ant

Is that Cygwin's cvs or WinCVS?  I vaguely recall Cygwin's cvs was
getting the automatic line-end translations wrong.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org



Re: Anyone else getting an error in the Ant JUnit tests running the FixCrLfTest ?

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 6 May 2005, <si...@insession.com> wrote:

> The test failed in the Ant's sources I checked out from CVS head
> using the following command on Windows XP:
> 
> cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout ant

Is that Cygwin's cvs or WinCVS?  I vaguely recall Cygwin's cvs was
getting the automatic line-end translations wrong.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Anyone else getting an error in the Ant JUnit tests running the FixCrLfTest ?

Posted by si...@insession.com.
The test failed in the Ant's sources I checked out from CVS head using the 
following command on Windows XP:

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout ant

I also checked out the ANT-16_BRANCH from CVS (using the following 
command) and ran the tests and they all passed, so something must have 
changed.

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout -r 
ANT_16_BRANCH ant

John

This e-mail message and any attachments may contain confidential, 
proprietary or non-public information.  This information is intended 
solely for the designated recipient(s).  If an addressing or transmission 
error has misdirected this e-mail, please notify the sender immediately 
and destroy this e-mail.  Any review, dissemination, use or reliance upon 
this information by unintended recipients is prohibited.  Any opinions 
expressed in this e-mail are those of the author personally.



Stefan Bodewig <bo...@apache.org> 
06-May-2005 04:54 PM
Please respond to
"Ant Developers List" <de...@ant.apache.org>


To
dev@ant.apache.org
cc

Subject
Re: Anyone else getting an error in the Ant JUnit tests running the 
FixCrLfTest ?






On Fri, 6 May 2005, <si...@insession.com> wrote:

> I have done the following in cvshead on Windows XP SP2, Java(TM) 2
> Runtime Environment, Standard Edition (build 1.4.2_06-b03) :

The tests assume that line-ends are correct in both the inputs and the
expected outputs.  For our source distribution this may not be true,
depending on the OS the distribution has been built on and your own
OS.

If you check out Ant's sources from CVS, does it work?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org



Re: Anyone else getting an error in the Ant JUnit tests running the FixCrLfTest ?

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 6 May 2005, <si...@insession.com> wrote:

> I have done the following in cvshead on Windows XP SP2, Java(TM) 2
> Runtime Environment, Standard Edition (build 1.4.2_06-b03) :

The tests assume that line-ends are correct in both the inputs and the
expected outputs.  For our source distribution this may not be true,
depending on the OS the distribution has been built on and your own
OS.

If you check out Ant's sources from CVS, does it work?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org