Set PATH when calling jflex in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 18:39:22 +02:00
parent 9c28b81038
commit b563d6f989

View File

@ -57,6 +57,8 @@ API docs for %{name}.
%mvn_alias : qdox:qdox
%build
%{?jpb_env}
# Generate scanners (upstream does this with maven-jflex-plugin)
jflex -d src/main/java/com/thoughtworks/qdox/parser/impl src/grammar/lexer.flex
jflex -d src/main/java/com/thoughtworks/qdox/parser/impl src/grammar/commentlexer.flex