Turns out the generated module name contains backslashes on Windows.
Convert them to slashes before emitting the string.
Change-Id: I0e09bdcec769a82b3c72ccf6fcc4910c615f736f
Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
importedModules = «Collections.importedName».emptySet();
«ENDIF»
- «val path = m.moduleSourcePath»
+ «val path = m.moduleSourcePath.replace(java.io.File.separatorChar, '/')»
«InputStream.importedName» stream = «CLASS».class.getResourceAsStream("«path»");
if (stream == null) {
throw new IllegalStateException("Resource «path» is missing");