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

[NETBEANS-2373] Better than nothing support for Gradle Distribution dirs #2920

Merged
merged 1 commit into from
May 21, 2021

Conversation

lkishalmi
Copy link
Contributor

Gradle distribution plugin can be handy from time to time. This PR would add a SourceGroup in the project node for existing dist directories.
Unfortunately Gradle distributions are represented in Gradle as CopySpec-s which are enough to copy required files, but its API is developed for flexible composition, so it does not offer proper introspection. This plugin just assume that the default folder for distribution related sources is <project root>/src/<distribution name>/dist

See: https://docs.gradle.org/current/userguide/distribution_plugin.html

@lkishalmi lkishalmi added work-in-progress Gradle [ci] enable "build tools" tests labels Apr 28, 2021
@lkishalmi lkishalmi added this to the 12.5 milestone Apr 28, 2021
@lkishalmi
Copy link
Contributor Author

@JaroslavTulach, @sdedic can you look on this? I miss something that prevents the IDE to load this module. So I was not even able to test/debug this one.

@lkishalmi lkishalmi merged commit 408a348 into apache:master May 21, 2021
@lkishalmi
Copy link
Contributor Author

image

@netbeansuser2019
Copy link

It is prefix with xy in case if dist is not in "main" so I suggest that should be done same way as source packages so that should be put to brackets after e.g. Distribution Files [xy].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gradle [ci] enable "build tools" tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants