We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a file tree like:
└── src ├── main │ └── resources │ ├── avro │ │ ├── Record1.avsc │ │ └── Record2.avsc
And BUILD file like:
filegroup( name = "avro-records-srcs", srcs = glob([ "src/main/resources/avro/**/*.avsc", ]), ) avro_java_library( name = "schemas", srcs = [":avro-records-srcs"], strings = True, )
The avro_gen rule will fail with a FileNotFoundException: src/main/resources/avro/Record
avro_gen
FileNotFoundException: src/main/resources/avro/Record
I believe this comes from the _commonprefix function not respecting the directory, but rather just the common string path.
_commonprefix
The text was updated successfully, but these errors were encountered:
fix: properly get common source directory
ea32f45
Closes chenrui333#8
fix: properly get common source directory (#9)
a398fd2
* fix: properly get common source directory Closes #8 * remove comment, slightly better flow
Successfully merging a pull request may close this issue.
Given a file tree like:
And BUILD file like:
The
avro_gen
rule will fail with aFileNotFoundException: src/main/resources/avro/Record
I believe this comes from the
_commonprefix
function not respecting the directory, but rather just the common string path.The text was updated successfully, but these errors were encountered: