使用gwt生成编译报告:compileReport
我正试图从maven gwt项目生成一个编译报告 根据网站,我应该在GeneratedSources文件夹中看到生成的报告。但是,当我运行以下任一选项时:使用gwt生成编译报告:compileReport,gwt,report,gwt-maven-plugin,Gwt,Report,Gwt Maven Plugin,我正试图从maven gwt项目生成一个编译报告 根据网站,我应该在GeneratedSources文件夹中看到生成的报告。但是,当我运行以下任一选项时: mvn gwt:编译报告, mvn gwt:编译报告-dcompilerReport, mvn gwt:compile report-dcompilerreport=true, mvn gwt:编译报告-dcompilerreport=Test 我得到: [警告]未找到编译报告,是否已设置了compileReport选项进行编译? 在我的po
mvn gwt:编译报告
,mvn gwt:编译报告-dcompilerReport
,mvn gwt:compile report-dcompilerreport=true
,mvn gwt:编译报告-dcompilerreport=Test
我得到:
[警告]未找到编译报告,是否已设置了compileReport选项进行编译?
在我的pom.xml
文件中,我将报告内容设置为:
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.5.0</version>
<reportSets>
<reportSet>
<id>Report</id>
<reports>
<report>Test</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
org.codehaus.mojo
GWTMaven插件
2.5.0
汇报
测验
编辑:
Pom更改为:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.5.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test</goal>
<goal>i18n</goal>
<goal>generateAsync</goal>
</goals>
<configuration>
<draftCompile>true</draftCompile>
<compileReports>true</compileReports>
<sources>
<source>target/generated-sources/gwt</source>
</sources>
</configuration>
</execution>
</executions>
<!-- Plugin configuration. There are many available options, -->
<!--see gwt-maven-plugin documentation at codehaus.org -->
<configuration>
<runTarget>Bondegard.html</runTarget>
<compileReports>true</compileReports>
<logLevel>SPAM</logLevel>
<hostedWebapp>${webappDirectory}</hostedWebapp>
<i18nMessagesBundle>pl.spot.bondegard.bondegard.client.Messages</i18nMessagesBundle>
</configuration>
</plugin>
org.codehaus.mojo
GWTMaven插件
2.5.0
编写
测验
i18n
生成同步
符合事实的
符合事实的
目标/生成源/gwt
Bondegard.html
符合事实的
垃圾邮件
${webappDirectory}
pl.spot.bondegard.bondegard.client.Messages
至今仍无报道。还有什么建议吗?编译报告是在构建过程中创建的(
gwt:compile
with The),gwt:compile报告只将其发布到Maven站点。编译报告是在构建过程中创建的(gwt:compile
with The),gwt:compile report
只将其发布到您的Maven站点。好的。我试过了,但是在使用gwt:compile编译时,编译器既看不到也不生成异步接口。当我执行gwt时:运行编译过程,但随后不会生成报告。gwt:compile
仅调用gwt compile,如果要从gwt-RPC的同步接口生成异步接口,则还需要gwt:generateAsync
;相应地配置POM。我更改了POM.xml
。我遗漏了什么?
,不是
好的。我试过了,但是在使用gwt:compile编译时,编译器既看不到也不生成异步接口。当我执行gwt时:运行编译过程,但随后不会生成报告。gwt:compile
仅调用gwt compile,如果要从gwt-RPC的同步接口生成异步接口,则还需要gwt:generateAsync
;相应地配置POM。我更改了POM.xml
。我缺少什么?
,而不是