Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant ./gradlew installDist if install folder is not empty #659

Open
TobiasNx opened this issue Jan 30, 2025 · 0 comments
Open

Cant ./gradlew installDist if install folder is not empty #659

TobiasNx opened this issue Jan 30, 2025 · 0 comments

Comments

@TobiasNx
Copy link
Contributor

Until the integration of fix ./gradlew installDist overwrote the existing installed distribution, now it runs into an error:

$ ./gradlew installDist

> Configure project :
Working copy has modifications. Will not look for tags
No SCM tag found. Making a snapshot build
Feature branch found
Version is feature-657-rdf-marker-configurator-SNAPSHOT

> Task :metafacture-runner:installDist FAILED
[Incubating] Problems report is available at: file:///home/tobias/git/metafacture-core/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':metafacture-runner:installDist'.
> The specified installation directory '/home/tobias/git/metafacture-core/metafacture-runner/build/install/metafacture-core' is neither empty nor does it contain an installation for 'metafacture-runner'.
  If you really want to install to this directory, delete it and run the install task again.
  Alternatively, choose a different installation directory.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1s
89 actionable tasks: 1 executed, 88 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant