1
我在我的应用程序中有不同的module.gwt.xml文件,每当我在一个模块中进行更改时,需要重新编译所有模块。有没有办法使用maven编译单个模块。如何使用maven编译单个gwt模块?
我在我的应用程序中有不同的module.gwt.xml文件,每当我在一个模块中进行更改时,需要重新编译所有模块。有没有办法使用maven编译单个模块。如何使用maven编译单个gwt模块?
您可以设置模块在pom.xml中编译
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt.version}</version>
<configuration>
<!-- mode>headless</mode -->
<modules>
<module>module1</module>
<module>module2</module>
</modules>
<!-- <includes>**/*GwtTest.java</includes> -->
</configuration>
</plugin>
感谢您的宝贵答案。还有一个查询我有,有没有办法编译单个模块与触摸pom.xml文件(任何maven目标?)。 – Jagadeesh 2012-08-10 12:55:47
我想它应该是gwt:compile -Dmodule = your_module – 2012-08-10 13:00:46
这就是我要找的,谢谢它帮了我很多。 – Jagadeesh 2012-08-10 13:05:45