Hi,

Using the SpringBoot archetype ( 
https://github.com/NaluKit/gwt-maven-springboot-archetype ), I can happy 
run mvn clean package and get a war file that has everything and runs 
nicely on a web server.

If I then modify mywebapp-server/pom.xml to have:
<packaging>jar</packaging> 
(instead of war)

I then get an executable jar, which I can run:
java -jar mywebapp-server/target/mywebapp.jar

The executable JAR runs the embedded Tomcat server, which contains the 
index.html + css (inside the mywebapp.jar in BOOT-INF\classes\public), 
however, all the GWT files are 
in BOOT-INF\lib\mywebapp-client-HEAD-SNAPSHOT.war) so it never sees them.  
As a result, the app only shows the html, and nothing else works.

Has anyone made a GWT app as an executable JAR?  Or any suggestions how to 
do it?

The reason I need an executable JAR, is because that's all Google App 
Engine standard 
supports: 
https://cloud.google.com/appengine/docs/standard/testing-and-deploying-your-app?tab=java

Thanks in advance.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/0f35cedb-1e98-4c82-b9bc-704109abd598n%40googlegroups.com.

Reply via email to