Task failure with gradle at build

Hello camundians,

I’m reporting an issue since I’ve created a new project using Eclipse as show in the docs (using camunda 7.7), and when I launch the gradlew executable at my projet root (which holds several projects in webapps, each with a BPMN or DMN), I get a task error on a DMN part that has not changed since it last worked.

Here is an overview of my project structure (I launch gradle from its root) :


And I get the following error when I make ./gradlew build --info :

A task error and a file copy issue (from META-INF, which holds processes.xml file) from a part I didn’t change. This guy on the gradle forum had a similar issue, but with a pretty different project (any Minecraft lovers ? :slight_smile: ) :

Here is the stacktrace : * Exception is:org.gradle.api.tasks.TaskExecutionException: Execution failed f - Pastebin.com
Here is exactly the changes I made : created a new project named process-iap-cancel-product in webapps, added it 4 plugins in pom.xml (for rest calls support), and added some html form references in src/main/resources/META-INF/processes.xml

I created a project made for Maven in Eclipse as shown on the docs, with I don’t know if the error is likely from a bad reference or bad project tree. Thanks for helping and good afternoon :slight_smile:

For any gradle user here : problem was solved by running this command with sudo :slight_smile:

No. Definitely not for “any gradle user here”. Running random things as sudo is highly dangerous, and when malicious code is present, can be used to destroy the whole system, including firmware sometimes. In addition to that, this will mess up permissions in your project folder even more than before.
This may have helped in your case, but should definitely not be a “general gradle advice”.
Applies to admin on windows too, just that that is a tiny bit less dangerous.