Haxe Plugin and NME support, error = No main class for module:

Hi

I have just uograded to version 0.4 of the haxe plugin which come with nmml file support (nme project file)

in module settings I say to use the nmml file

When I run nme on the command line my project run fine but when I ask IntelliJ to make the module it give me the following error :
No main class for module: <Name of My module>

I checked the nmml fiel and it contains <app path="target" file="Test" main="com.test.example.Test" />

where com.test.example.Test is the entry point of the app.


Does anybody know whether there an extra step to be done ?

Thanks

3 comments
Comment actions Permalink

Looking athttp://devnet.jetbrains.net/thread/435604?tstart=0 I tried to set the settings in the haxe compiler tab and I get a different error :

process throw exception: Cannot run program """" (in directory "<Module directory>"): CreateProcess error=87, The parameter is incorrect

any ideas?

0
Comment actions Permalink

Try to specify path to haxelib executable(see screenshot).



Attachment(s):
haxelib.png
0
Comment actions Permalink

Thanks it works :)

0

Please sign in to leave a comment.