Repository navigation
Introduce support for FileNameTransformers - #290
Merged
Merged
Conversation
rfscholte
force-pushed
the
filetransfomers
branch
from
July 17, 2026 18:12
a0a5e7a to
03a5db8
Compare
This was referenced Nov 9, 2026
slachiewicz
pushed a commit
that referenced
this pull request
Nov 9, 2026
With this feature it will be possible to rename a file in a directory-based archive. This will be especially useful when the content transformation is finished too. Then it will be possible to go from a text file to a binary file, keeping the sources readable. (cherry picked from commit 431eda6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This feature will make it possible to transform the filename and its data of mock repositories.
This can be done by settings the TransformDirectiveSource for the mockReposity.
Currently only metadata is supported, which means it reads its directives from the
.mrm-transform.properties.There might be an "inline" in the future, which reads the directives from the file itself.
I'll work on a classfile-api contentTransformer, starting the support of module-info.java to module-info.class.
With this you'll have readable files as source, having binary files as output without the need for calling javac.