This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52983 - verification fwork treats differences in line endign characters
Summary: verification fwork treats differences in line endign characters
Status: CLOSED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 53444
Blocks:
  Show dependency tree
 
Reported: 2005-01-05 13:17 UTC by Libor Kotouc
Modified: 2006-03-24 12:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Libor Kotouc 2005-01-05 13:17:39 UTC
Verification framework treats differences in line
ending characters.
When ide build is run on Windows, it generates
nbbuild/build/*.txt files with CRLF characters at
the end of the lines. Some files in the ide/golden
directory have only LF at the end of the lines.
The verification framework then announce an error
when compares such files.
Comment 1 Jaroslav Tulach 2005-01-05 13:27:22 UTC
I have tested this problem by cvs co ide/golden on windows and running
build and it works fine. The reason is imho that cvs during checkout
and update uses correct line endings for the platform it runs on. The
verification framework does the same. 

There should be no problems if you checkout on windows and run the
verification on windows.
Comment 2 Jesse Glick 2005-01-10 23:24:00 UTC
What about if you have downloaded a ZIP of sources?
Comment 3 Jaroslav Tulach 2005-01-12 16:28:12 UTC
Right, I'll fix it using fixcrlf task and by copying the golden file
to some temporary location.
Comment 4 Jaroslav Tulach 2005-01-14 12:41:32 UTC
cvs ci -m "#52983: Using fixcrlf task to prevent comparition failures
due to incorrect line endings on windows"

Checking in build.xml;
/cvs/nbbuild/build.xml,v  <--  build.xml
new revision: 1.623; previous revision: 1.622
done
Comment 5 Libor Kotouc 2005-01-17 09:54:52 UTC
Verified.