Depending on how you CVS client handles EOLs, the
expected*.xml files in examples/unitTests may not
match the EOLs produced in the corresponding
result*.xml produced by the testGenerateTest target of
the Ant build script (this is run as part of the deploy and
the default test targets). This causes the test to fail.
A patch is to modify the fixcrlf task in the
testGenerateTestCase target. Change the includes
attribute to:
includes="result${testno}.xml,expected${testno}.xml"
This ensures the EOL formatting of the result and
expected file match.
Logged In: YES
user_id=365473
Should work okay with the latest version: the results and
expected should have the same line ending format (assuming
your CVS client has its line ending settings to match the
preference of your operating system).
This patch may still apply if you use a ZIP file distributed
as source rather than CVS because in this case your line
endings are fixed in the ZIP file.