[haXe] No idea about an error

Nicolas Cannasse ncannasse at motion-twin.com
Mon Apr 9 00:04:51 CEST 2007


> I followed all I found in list archives but I still get an error. It's
> about mtwin and especially templates. I compiled .mtt files using temploc
> and optimized flag is up. Now, it tells me that it can't find .mtt.n file:
> 
> Uncaught exception - load.c(176) : Module not found : ../tmp/Page.mtt.n
> 
> even if it's false (using apache). I changed folder rights but it's the
> same result.

Use neko.Web.getCwd()+"../tmp/" as directory, or run
neko.Sys.setCwd(neko.Web.getCwd()) since the current directory is not
always the one your .n is located.

Nicolas



More information about the Haxe mailing list