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

Enhance Dashboard refresh logic when build files are generated in the target/build directories #493

Open
JoshwinThomasIBM opened this issue Feb 4, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@JoshwinThomasIBM
Copy link
Contributor

JoshwinThomasIBM commented Feb 4, 2025

To improve the dashboard refresh behaviour for the issue, we've implemented a logic that checks if build files are generated in the target or build directories. When a file is created, we look for any sibling files in the parent directory of the target/build folder. If such files exist, the refresh is skipped; otherwise, the dashboard refresh is triggered. This implementation is done based on the assumption that “target” and "build" are the name for Maven and Gradle output dir respectively and pom.xml and target or build.gradle and build directory are siblings.

However, we now need to find a solution for cases where this assumption does not hold true.

@JoshwinThomasIBM
Copy link
Contributor Author

About output directory where Maven generates files, the default is target but can be overridden by specifying the directory element in the POM with a custom value. See Maven documentation here: https://maven.apache.org/ref/3.9.9/maven-model/maven.html#class_build for the formal description(s) on output directory overrides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant