GWT Super Dev mode not including WAR files

I have a Gradle / GWT project and I need to pull in some extra files into the WAR file:

war {
webInf { into('classes') from buildProperties }
webInf { into('classes') from "${project(':env').projectDir}/src/main/resources" }
...
}

Where 'buildProperties' is a task that generates the a property file and the 'env' project contains shared environment configurations. When the project is built from Gradle the WAR file contains these extra files, but when I run the application from IntelliJ in Super Dev mode they are missing. Resources from all of the WAR-Project dependencies seem to be copied into the deployment root, but neither the build.properties or the environment configurations are there. I have refreshed the Gradle project, but it makes no difference.

How can I configure the project so that these dependencies are also included in the IntelliJ Super Dev deployment?

0

Please, get rid of GWT and don't use it anymore - it's glitchy and obsolete framework.

0

请先登录再写评论。