I'm trying to build GWT locally from sources
(c32238861c4d58bc559d303ab44f91ddd4e10685).
https://www.gwtproject.org/makinggwtbetter.html#testing suggests to run
"ant" and "ant test". When I do, I'm seeing error messages in the XML file
produced, such as
<file
name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/concurrent/TimeUnit.java">
<error line="21" column="35" severity="warning" message="'{'
should have line break after."
source="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"/>
or
<file
name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/function/BinaryOperator.java">
<error line="20" severity="warning" message="Import statement is in the
wrong order. Should be in the 'STATIC' group."
source="com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck"/>
or
<file
name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/logging/Logger.java">
<error line="334" severity="warning" message="Line is longer than 100
characters (found 105)."
source="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"/>
The ant command then fails as follows:
checkstyle-source:
[checkstyle] Running Checkstyle 6.0 on 6159 files
BUILD FAILED
/usr/local/src/gwt/trunk/build.xml:119: The following error occurred while
executing this line:
/usr/local/src/gwt/trunk/build.xml:27: The following error occurred while
executing this line:
/usr/local/src/gwt/trunk/build.xml:70: The following error occurred while
executing this line:
/usr/local/src/gwt/trunk/user/build.xml:209: The following error occurred
while executing this line:
/usr/local/src/gwt/trunk/common.ant.xml:361: Checkstyle errors exist, and
are reported at /usr/local/src/gwt/trunk/build/out/user/checkstyle_log.xml
Is this to be expected, or did I make some mistake during cloning or
building? I haven't modified those files in which style errors are flagged.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit/9cbf94bb-de1b-4379-bd4f-ca5b511aba9en%40googlegroups.com.