Wednesday, February 28, 2024

Re: Deobfuscated stack trace message and line-specific stack traces

Thanks again Thomas.  👍

<build>
  <plugins>
    <plugin>
      <groupId>net.ltgt.gwt.maven</groupId>
      <artifactId>gwt-maven-plugin</artifactId>
      <configuration>
        <moduleName>com.mycompany.mywebapp.App</moduleName>
        <moduleShortName>mywebapp</moduleShortName>
        <deploy>${project.build.directory}/${project.build.finalName}/WEB-INF/deploy</deploy>
      </configuration>
    </plugin>
  </plugins>
</build>

On Tuesday 27 February 2024 at 4:06:12 am UTC+11 Thomas Broyer wrote:
On Monday, February 26, 2024 at 11:56:45 AM UTC+1 ma...@craig-mitchell.com wrote:
Thanks Thomas, now working great!

For anyone coming from the Eclipse GWT plugin, you can do this to keep it consistant with how it used to work:

In your client pom.  Add the <deploy> like this:
<build>
  <plugins>
    <plugin>
      <groupId>net.ltgt.gwt.maven</groupId>
      <artifactId>gwt-maven-plugin</artifactId>
      <configuration>
        <moduleName>com.mycompany.mywebapp.App</moduleName>
        <moduleShortName>mywebapp</moduleShortName>
        <deploy>${project.build.directory}/mywebapp-client-HEAD-SNAPSHOT/WEB-INF/deploy</deploy>

nit: use ${project.build.finalName} rather than hard-coding the "mywebapp-client-HEAD-SNAPSHOT"

--
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 on the web visit https://groups.google.com/d/msgid/google-web-toolkit/c3eddfb9-5590-4be4-9db5-a4ff22cd4e61n%40googlegroups.com.

No comments:

Post a Comment