when launching the maven build ( mvn -DskipTests=true install -Paddons,distrib) the build crash on the nuxeo-api-playground whith error message like :
“[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (gulp-build) on project nuxeo-api-playground: Aing this line: [ERROR] C:\Users\tcasanova\GIT\LTS_10.10\addons\nuxeo-api-playground\src\main\dart\build.xml:4: Execute failed: java.io.IOExceptionaddons\nuxeo-api-playground\src\main\dart"): CreateProcess error=2, The system cannot find the file specified [ERROR] around Ant part ...<ant antfile="C:\Users\tcasanova\GIT\LTS_10.10\addons\nuxeo-api-playground/src/main/dart/build.xml" dir="></ant>... @ 4:184 in C:\Users\tcasanova\GIT\LTS_10.10\addons\nuxeo-api-playground\target\antrun\build-main.xml”
This is because on windows the pub.bat file is not found by ant even if it’s in the PATH.
(see https://ant.apache.org/manual/Tasks/exec.html for detail)
The correction consist on modifying the build.xml file to add condition for s family. :
see the joind file build.xml to replace under .....\addons\nuxeo-api-playground\src\main\dart