On Wednesday, March 25, 2026 at 9:27:47 AM UTC-5 mille...@gmail.com wrote:
I did not try to go to 2.13 indeed. but will probably.here is the trace with some renaming to hide real names of company[pom]
[INFO]
[INFO] -------------------------< fr.b:fffClient >-------------------------
[INFO] Building fffClient (GWT) 3.4.0 [1/2]
[INFO] from fffClient\pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- gwt-maven-plugin:1.2.0:generate-module (default) @ fffClient ---
[INFO] Overriding module short name FFF with fffClient
[INFO] C:\GIT\fff\fffClient\target\fffClient-3.4.0\WEB-INF\classes\fr\a\b\c\client\FFF.gwt.xml up to date - skipping
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ fffClient ---
[INFO] Copying 0 resource from src\main\resources to target\fffClient-3.4.0\WEB-INF\classes
[INFO] Copying 50 resources from src\main\resources to target\fffClient-3.4.0\WEB-INF\classes
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ fffClient ---
[INFO] Changes detected - recompiling the module![INFO] Compiling 363 source files to C:\GIT\fff\fffClient\target\fffClient-3.4.0\WEB-INF\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/GIT/fff/fffClient/src/main/java/fr/a/b/c/client/home/XXXHome.java:[18,33] cannot find symbol
symbol: class Messages
location: package fr.a.b.c.clientmy packaging is war (I tried gwt-app but it is the wame and if I understood well, it is only if I separate the server side and the client (ihm) size ?)all classes that were generated (like the XXXServiceAsync classes are missing too)my "Messages.properties" file is in a subpackage of the resources folderI see that the generated gwt.xml file is in the "client" subpackage (in previous version it was on folder upper) maybe it is a sign ?Le mercredi 25 mars 2026 à 15:10:23 UTC+1, Colin Alworth a écrit :(I approved this one, as I wasn't in time to approve the first before you sent it, and this has a little more detail than the first. Both were caught as spam.)Can you share the full log you get when the compile fails? It is hard to guess what could be wrong without it.
There was a regression as part of GWT 2.13 development for the i18n creator, but it was reverted. It also appears that you're using 2.12, so shouldn't be impacted by that anyway.On Wednesday, March 25, 2026 at 9:06:17 AM UTC-5 mille...@gmail.com wrote: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 oneI 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 errorscan 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/6e583bb3-4731-4af7-99a8-686ba7ed5463n%40googlegroups.com.
No comments:
Post a Comment