You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class org.antlr.stringtemplate.PathGroupLoader.java has an issue concerning Windows-specific applications, when the program using StringTemplates is located on a hard drive (e.g. "C:") and you run the program from another drive (e.g. "D:"), having it in your path.
Error message in that case:
"String template error: no such group file " (+ file name)
At line 36, tokenization is done thanks to the ":" separator which is wrong with Windows (think about "C:"...).
Suggestion: use File.pathSeparator instead and the problem is solved. An other solution for users is to override the constructor and do this instead.
Best regards !
The text was updated successfully, but these errors were encountered:
Hello,
Class org.antlr.stringtemplate.PathGroupLoader.java has an issue concerning Windows-specific applications, when the program using StringTemplates is located on a hard drive (e.g. "C:") and you run the program from another drive (e.g. "D:"), having it in your path.
Error message in that case:
"String template error: no such group file " (+ file name)
At line 36, tokenization is done thanks to the ":" separator which is wrong with Windows (think about "C:"...).
Suggestion: use File.pathSeparator instead and the problem is solved. An other solution for users is to override the constructor and do this instead.
Best regards !
The text was updated successfully, but these errors were encountered: