json-kotlin-schema-codegen icon indicating copy to clipboard operation
json-kotlin-schema-codegen copied to clipboard

Cannot parse Windows path

Open hoeller opened this issue 1 year ago • 1 comments

Hi, I think there's another issue with the new template parser. In the same situation as in #48 (loading the templates from the jar) there is a problem handling a Windows path:

> Illegal char <:> at index 2: /C:/Users/MyNiceColleague/.gradle/caches/modules-2/files-2.1/net.pwall.json/json-kotlin-schema-codegen/0.111/d1a28c5658f9fb76219637e5520b87bb844ceea0/json-kotlin-schema-codegen-0.111.jar

This happens with a co-workers project, who is on Windows. Not a big problem for us because we can work around it. Just wanted to let you know.

hoeller avatar Sep 16 '24 14:09 hoeller

Thanks for reporting this. I have a dual-boot laptop so I can try to reproduce it, but if you say you have a workaround, I might treat it as a lower priority.

Regards, Peter

pwall567 avatar Sep 16 '24 22:09 pwall567