Giter Club home page Giter Club logo

Comments (5)

 avatar commented on May 24, 2024

Hello,

are there any plans to solve and release this enhancement?

from gwt-maven-plugin.

tbroyer avatar tbroyer commented on May 24, 2024

No short-term plan, no. Please experiment with the maven-assembly-plugin and report your experience here (should this be a ZIP? a JAR? how do you actually use it? etc.)

from gwt-maven-plugin.

 avatar commented on May 24, 2024

We have multi-module projects, where the shared project is build as gwt-lib and client project as gwt-app. The server project creates an overlay war artifact based on client.war.
We always need the symbolMaps for stacktrace deobfuscation in our final server.war, otherwise we cannot get a hint where client exception has been thrown.
We now use the maven-resources-plugin configured just before your gwt-maven-plugin in prepare-package phase to copy gwt/deploy folder to the root of client.war before it is packaged.
Our RemoteLoggingService reads the symbolMaps from root of the final war and everything works as before.

Perhaps this is not the intent of this issue, but it works. The only thing to change in your plugin is to also package the gwt/deploy folder in the client.war.

from gwt-maven-plugin.

tbroyer avatar tbroyer commented on May 24, 2024

Or maybe you could β€œjust” configure the plugin with:

    <deploy>${project.build.directory}/${project.build.finalName}</deploy>

instead of the ${project.build.directory}/gwt/deploy default value: https://tbroyer.github.io/gwt-maven-plugin/compile-mojo.html#deploy

from gwt-maven-plugin.

 avatar commented on May 24, 2024

Also works and is a little bit smarter! Thank you!

from gwt-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.