Buildwar fails - directory doesn't exist

Hi, I get an error when trying to buildwar:

:buildWar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildWar'.
> Polymer build directory C:\Users\userrname\studio-projects\tojm\modules\polymer-client\build\es6-unbundled doesn't exists

I don’t get this error when assembling/running the project. What could be causing this?
I am using Cuba Studio 6.7.4, platform 6.7.2 on windows 10


Hi Matthis,

The buildWar and buildUberJar tasks get Polymer UI from the es6-unbundled directory which is a default for the new Polymer build system. If you have Polymer UI in your project, and you build WAR or UberJAR, you should add the following parameter to the build task until you migrate to Polymer 2 (see CUBA Platform and Studio Release Notes step 7)

task buildWar(type: CubaWarBuilding) {
    // ...
    polymerBuildDir = 'bundled'


I had missed that from the release notes… thank you for pointing out and kindly answering!