fix: Set -archiveProject true
to avoid flattening
#225
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously, the
-archiveProject
flag was set to false. As a result, the project imported from the T4C repository was made available as a simple directory, but all files of the project were flattened. This resulted in ajava.nio.file.File.FileAlreadyExistsException
exception when two images with the same name existed in different locations. This PR changes the-archiveProject
flag to true, which ensures that the projects are passed as .zip files and their original structure is not changed. The archive is then simply unpacked, and as the original structure is retained using-archiveProject true
, the previous unmessing step (i.e., moving images into a images and fragments into a fragments directory) is no longer necessary.Resolves #151