Arn*_*rne 4 gwt maven gwt-maven-plugin
在阅读了很多关于gwt 2.5的SuperDevMode后,我想亲自尝试一下.我阅读了https://vaadin.com/blog/-/blogs/vaadin-and-superdevmode和其他一些文章.据我所知,我必须运行codeserver类.我检查了gwt-maven-plugin存储库,但不太确定是否已经支持gwt2.5.
有没有人设法让SuperDevMode与maven一起工作?
问候,arne
编辑:
感谢托马斯我得到了它!这是我的pom的摘录.
<resources>
<resource>
<directory>
src/main/java
</directory>
</resource>
</resources>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>com.google.gwt.dev.codeserver.CodeServer</mainClass>
<arguments>
<argument>com.myapp.Application</argument>
</arguments>
</configuration>
</plugin>
Run Code Online (Sandbox Code Playgroud)
现在我只需要运行目标: exec:java启动代码服务器.
gwt-maven-plugin的2.5.0-rc1版将通过run-codeserver目标支持它.该版本目前正在上演.请测试并投票.
在此期间,您可以将它与exec-maven-plugin一起使用.
| 归档时间: |
|
| 查看次数: |
4070 次 |
| 最近记录: |