Created
October 18, 2017 17:12
-
-
Save niloc132/6200610b05c56411b1863524ff2a779e to your computer and use it in GitHub Desktop.
How to disable compiler assertions in gwt:test without preventing tests from running correctly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>net.ltgt.gwt.maven</groupId> | |
<artifactId>gwt-maven-plugin</artifactId> | |
<version>1.0-rc-7</version> | |
<extensions>true</extensions> | |
<configuration> | |
... | |
<!-- Disable assertions to avoid incorrect compiler errors, but enable test assertions anyway --> | |
<enableAssertions>false</enableAssertions> | |
<testArgs> | |
<testArg>-checkAssertions</testArg> | |
</testArgs> | |
... | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment