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
Feature Converter doesn't cleanup after itself #28
Feature Converter doesn't cleanup after itself #28
Conversation
…s in java.io.tmpdir
src/main/java/org/apache/sling/feature/cpconverter/cli/ShutDownHook.java
Show resolved
Hide resolved
Despite of the suggestions of @bosschaert I think this PR is improving the situation - we could think of improving it to properly clean up after itself as well but for the issue at hand cleaning the working directories sounds like a good plan. |
src/main/java/org/apache/sling/feature/cpconverter/cli/ShutDownHook.java
Outdated
Show resolved
Hide resolved
I assume the problem here is a re-run of the tool? It would also be good to have a jira issue for this |
FWIW, I think "synthetic" is spelled wrong in |
Hi @cziegeler @DominikSuess if this is preferred, I can move this code to the corresponding class(es) to delete before the processing starts. Let me know.
@DominikSuess do you mind creating an issue for this? Not sure if I have access
Please add that the "synthetic" typo is also fixed as part of this issue :-) |
@bdelacretaz thanks for catching it, the original class has the same typo, but, I just updated the PR to fix it across the board. |
SonarCloud Quality Gate failed. 0 Bugs 8.3% Coverage The version of Java (1.8.0_241) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11. |
Creating a sling issue can be done by anyone. Just create an account and file the issue here: https://issues.apache.org/jira/projects/SLING |
created https://issues.apache.org/jira/browse/SLING-9490 |
hi @DominikSuess @cziegeler @bdelacretaz @bosschaert any reason for this to not be merged? |
@kaushalmall Sorry, it's applied now - thanks! |
added cleanup method to cleanup directories that the converter create.
FYI @DominikSuess