Community
Participate
Working Groups
The unparser tests developed for bug 377320 are currently not executed during the Tycho builds. Add them to the AllTests suite.
New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/193409
The Gerrit build succeeded, but now I'm suddenly facing failures on the local Maven build: runTest[TestData localstrings --> 0/0/0 (org.eclipse.m2m.tests.qvt.oml.TestQvtUnparser) Time elapsed: 0.084 s <<< FAILURE! junit.framework.AssertionFailedError: Original and copy expression differ at 1 places RangeDifference {CHANGE/RIGHT, Left: (39, 1) Right: (39, 1)} ----LEFT: stringSymbol="ТекÑ?Ñ‚"/> ----RIGHT: stringSymbol="?????"/> at org.eclipse.m2m.tests.qvt.oml.TestQvtUnparser.assertEclipseCompareEquals(TestQvtUnparser.java:552) at org.eclipse.m2m.tests.qvt.oml.TestQvtUnparser.runTest(TestQvtUnparser.java:530) The failure could be due to the encoding of the 'Текст' string in localstrings.qvto, but sometimes it also happens with the "_while_261024" case instead of "localstrings" (apparently never with both in the same run).
Make sure that every (relevant) project is explicitly UNIX+UTF8. If you have set the workspace to UNIX+UTF8 you might find some project deviates at run-time. Edit and save every relevant test file to verify that standard editors display correctly.
New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/193545
New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/193546
(In reply to Ed Willink from comment #3) > Make sure that every (relevant) project is explicitly UNIX+UTF8. Thanks, but the problem seems to be that the Maven surefire plugin must be configured explicitly for UTF8: https://stackoverflow.com/questions/17656475/maven-source-encoding-in-utf-8-not-working Interestingly it doesn't seem to make a difference for the Gerrit build, which succeeds with or without the UFT8 config. But it's needed for my local mvn build using the nightly profile.
(In reply to Christopher Gerking from comment #6) > Interestingly it doesn't seem to make a difference for the Gerrit build, > which succeeds with or without the UFT8 config. But it's needed for my local > mvn build using the nightly profile. The Gerrit build is on a Linux machine so it has sensible system defaults that Eclipse does not adjust at the system level. Locally you're presumably on Windows which is crazy at the system level and for which Eclipse's system / workspace level adjustments are also crazy. Whoever wanted Cp1252 as a default? It just seems to be retained as a legacy whose only purpose is to bite us periodically.
New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/195348
New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/195349