funkwerk/antlr-d

Build failure on Windows 10

Opened this issue · 5 comments

Dub works without reporting errors but the powershell build script says "cp codegen/DTarget.java build/antlr4-4.7.2/tool/src/org/antlr/v4/codegen/target
cp : Could not find a part of the path" when running the command powershell .\build.ps1 build_examples

I got the build.ps1 script to at least produce a jar file by changing the version numbers to 4.8. Also, antlr options have to be specified after java -jar antlr4.jar in Java 14.

Thanks for this correction. I'am not using Windows in my environment directly and had forgotten the update.

I pushed the change now but must upgrade to 4.9 as the next step.

Please check the modification for me, before I create a new tag.

I pushed a new version without creating a tag. Could you please check it before, I will do it? What to do for options in java 14?

As the next step, I will be upgrading to ANTLR 4.9. The D-lang target is also foreseen as part of the official upcoming new ANTLR release.

Sadly I haven't been back on Windows 10 to test it but I will once I am forced to reboot. Thanks.