I expect that changes would be made in the 5 directories src, src/build, src/build/dir, src/out, src/dir. Instead you see in the output that only files in src and src/dir are changed, files that don't have out or build in their pathname.
[INFO] Running recipe(s)...
[WARNING] These recipes would make changes to src/dir/hello.txt:
[WARNING] org.openrewrite.text.FindAndReplace: {find=hello, replace=welcome, filePattern=**/hello.txt}
[WARNING] These recipes would make changes to src/hello.txt:
[WARNING] org.openrewrite.text.FindAndReplace: {find=hello, replace=welcome, filePattern=**/hello.txt}
[WARNING] Patch file available:
[WARNING] /Users/esiegl/Documents/Develop/OpenRewrite/Tmp2/target/rewrite/rewrite.patch
[WARNING] Estimate time saved: 10m
[WARNING] Run 'mvn rewrite:run' to apply the recipes.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
What is the smallest, simplest way to reproduce the problem?
Run the following script:
What did you see instead?
I expect that changes would be made in the 5 directories
src
,src/build
,src/build/dir
,src/out
,src/dir
. Instead you see in the output that only files insrc
andsrc/dir
are changed, files that don't haveout
orbuild
in their pathname.Are you interested in contributing a fix to OpenRewrite?
Yes