Hello.
I don't see my previous message so I think it was not sent.
Sorry if it comes twice.
I inherited an old GWT 2.11 projet in java 11 (on intellij)
all GWT (client and server) are in the same module, only BD access is in another one
I never got a formation for GWT and am learning "on the fly" when needed.
I need to migrate to java 17 then 21.
So I need to go to GWT 2.12+
the project uses mojo 2.10, so I am stuck.
I tried to understand of ltgt maven module works, but my english is not good enough, since no code is generated, so maven compile fails on Messages class imports (I18n)
can someone help ?
my pom configuration :
<!-- GWT Maven Plugin -->
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.2.0</version>
<extensions>true</extensions>
<configuration>
<moduleName>${path.to.entry.point}</moduleName>
<moduleShortName>BB</moduleShortName>
<classpathScope>compile+runtime</classpathScope>
<webappDirectory>${webappDirectory}</webappDirectory>
<startupUrls>
<startupUrl>XXX.html</startupUrl>
</startupUrls>
</configuration>
<executions>
<execution>
<goals>
<goal>generate-module</goal>
<goal>codeserver</goal>
</goals>
</execution>
</executions>
</plugin>
and maven log are:
[INFO] --- gwt-maven-plugin:1.2.0:generate-module (default) @ sievClient ---
[INFO] Overriding module short name **** with *****
[INFO] FF.gwt.xml up to date - skipping
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ sievClient ---
[INFO] Copying 0 resource from src\main\resources to target\ff\WEB-INF\classes
[INFO] Copying 50 resources from src\main\resources to target\ff\WEB-INF\classes
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ff---
[INFO] Changes detected - recompiling the module!
and then all the compilation errors
can someone help me (if possible french help, my technical english is bad)
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/33e1186b-435b-4050-b63b-6941417c9533n%40googlegroups.com.
No comments:
Post a Comment