kaby76 / Antlr4BuildTasks

Third-party build tool for 'Official' Antlr4 tool and runtime parsers using .Net. Drop-in replacement for 'Antlr4cs' Antlr4 tool and build rules.
MIT License
73 stars 10 forks source link

Concurrency access to JAR file #54

Closed cx-ricardop closed 1 year ago

cx-ricardop commented 1 year ago

Is also possible to have a tag to set the location to download and execute the Antlr4 tool JAR file as have to the JRE? I have multiple projects building at the same time and this causes problems with concurrency access to JAR file (Error : Could not find or load main class org.antlr.v4.Tool). I believe that during the execution a project tries to use the file but another project has already used and deleted it. The idea is to set a different location for each project and I believe that solving the problem, unless, you have a different approach to solve this problem.

Thanks in advance