I think you’re seeing the second error because it’s getting farther into the build process.
Looks like you’re compiling to Neko, and so it’s trying to copy the files in the
templates/neko/hxml directory. But it can’t, for whatever reason. (That directory exists, right?)
This only causes a warning, so it continues. Later, it tries to access the copied files, and that’s when it crashes. I have no clue why it thinks “/” is an invalid character, but hopefully that will go away when you fix the previous things.
Since the warning message looks like the root cause, I tracked it down. After a fair amount of searching, I finally found some code that could have created the string
But I’m not sure I see anything wrong with the code, so I’m going to need some more information. Could you change the
Log.warn() line to this?
Log.warn ("Could not find template file \"" + path + "\" in the following locations:\n"
+ Sys.getCwd () + templatePaths.join ("\n" + Sys.getCwd ()));