HI, I want to run GWT with JVM other than used by Maven.
I tried to follow what has been advised here at Support using a different JVM than the one used to run Maven when forking GWT processes · Issue #130 · tbroyer/gwt-maven-plugin (github.com) <https://github.com/tbroyer/gwt-maven-plugin/issues/130>. I am trying use toolchain approach. Below is my toolchain.xml : <?xml version="1.0" encoding="UTF-8"?> <toolchains> <!-- JDK toolchains --> <toolchain> <type>jdk</type> <provides> <version>1.8</version> <vendor>oracle</vendor> </provides> <configuration> <jdkHome>C:\Program Files\Java\jdk1.8.0_341\bin</jdkHome> </configuration> </toolchain> </toolchains> In the same pom.xml where I am using this toolchain, maven-compiler-plugin is able to detect the toolchain but not gwt-plugin. Below is my pom.xml: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>${gwt.version}</version> <executions> <execution> <configuration> <module>com.msci.eqa.prodqa.admin.ProdQAAdmin</module> <webappDirectory>war</webappDirectory> </configuration> <goals> <goal>compile</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-toolchains-plugin</artifactId> <version>1.1</version> <executions> <execution> <goals> <goal>toolchain</goal> </goals> </execution> </executions> <configuration> <toolchains> <jdk> <version>1.8</version> <vendor>oracle</vendor> </jdk> </toolchains> </configuration> </plugin> Can you please help me using toolchains to achieve this? 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2537e060-6547-4ae5-bd7e-580b371ac610n%40googlegroups.com.
