現在の設定に問題があり、ページの更新時に変更を検出しません。ブックマークを使って手動でコンパイルをトリガすると機能しますが、変更するたびにこれを行う必要はありません。tbroyers gwt-maven-pluginを使用してリフレッシュ時の変更を検出しない
- IntellijIDEA 2017年2月1日
- Mavenの
- のTomcat(IntellijIDEAの実行構成を使用して)
- GWT 2.8.2
全体ポンポン:
は、ここに私の現在の設定です。 xmlはここにあります:https://gist.github.com/BenDol/75c9299b20cb285a8f57a89aa00bf28e
親のpom.xml:https://gist.github.com/BenDol/6524ad17de7977f54a496a93a26aabf0
GWT-mavenの-プラグインの設定:誰も私はこれを理解するのに役立つ何か提案がある場合
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<moduleName>com.insclix.mvc.App</moduleName>
<style>OBFUSCATED</style>
<logLevel>INFO</logLevel>
<sourceLevel>${java.version}</sourceLevel>
<jvmArgs>
<jvmArg>${argLine}</jvmArg>
<jvmArg>-Xmx1g</jvmArg>
<jvmArg>-Xms1g</jvmArg>
<jvmArg>-XX:CompileThreshold=7000</jvmArg>
<jvmArg>-Derrai.dev.context=${errai.dev.context}</jvmArg>
<jvmArg>-Derrai.client.local.class.pattern=${errai.client.class.pattern}</jvmArg>
<jvmArg>${profileLine}</jvmArg>
</jvmArgs>
<optimize>9</optimize>
<compilerArgs>
<arg>-compileReport</arg>
<arg>-XcompilerMetrics</arg>
</compilerArgs>
<warDir>${webappDirectory}</warDir>
<webappDirectory>${webappDirectory}</webappDirectory>
<classpathScope>compile+runtime</classpathScope>
<failOnError>true</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
は、それをいただければ幸いです。この記事を読む時間をとってくれてありがとう。あなたがコンパイルに負荷を取得するlauncherDir
を設定する必要が
よろしく、 ベン
devモードをどのように起動しているのかは不明です: 'gwt:devmode'、' gwt:codeserver'、その他何か? –
ああ、言いたいことを忘れた、gwt:codeserver –