On Windows OS, I am getting the following error:
Can't extract module info from tokens: [a/b/c, =>, .., .., .., .., ..,module1-directory-1.0.0, src, a, b, c] `
Problem can easily be reproduced by slightly modifying JUnit: GoModTest.java:testComplex4, replacing ../goodbye with ..\goodbye.
- module2 depends on module1:
module2's go.mod in bin\.__deps__\module2-directory-1.0.0\src\d\e\f looks like:
module d/e/f
require a/b/c v1.0.0
replace a/b/c => ..\..\..\..\..\module1-directory-1.0.0\src\a\b\c
go 1.15
- Question: Is this ok to have backslashes here, even though we are on Windows OS?
If not, it looks like backslash character is not taken as a token separator?:
If you would agree that there is a problem, indeed, I tested a simple modification in TOKENIZER, by adding backslash as a separator, and my build is working again.
I can push it for review.
If not, I will let it up to you :-)
Thanks a lot for this great tool!
Kind regards.