Wednesday, June 1, 2016

Re: Unknown property: checks.type

This is strange. 

I use maven and the project compiles perfectly well with  <gwt.version>2.8.0-beta1</gwt.version>, also SDM starts and works.

I use 

        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>gwt-maven-plugin</artifactId>
          <version>${gwt.version}</version>

But when I change to <gwt.version>2.8.0-SNAPSHOT</gwt.version> it crashes with:

[INFO] --- gwt-maven-plugin:2.8.0-SNAPSHOT:compile (default) @ demo ---
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.IllegalArgumentException: Unknown property: checks.type

This is the module config:

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <configuration>
          <module>demo</module>
          <strict>true</strict>
          <localWorkers>1</localWorkers>
        </configuration>
      </plugin>
    </plugins>
  </build>

this is the build plugings

 <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>gwt-maven-plugin</artifactId>
          <version>${gwt.version}</version>
          <executions>
            <execution>
              <goals>
                <goal>compile</goal>
                <goal>resources</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <disableCastChecking>true</disableCastChecking>
          </configuration>
        </plugin>


Any idea ? 

Thanks 

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment