Hi,
I have problem with openfl , I made application divided into :
- warlordsclash:
- game (openfl) - all files starts with package warlordsclash.game;
- core (haxe classes and all logic) - all files starts with package warlordsclash.core;
- tests - all files starts with package warlordsclash.tests;
I added my library like this:
haxelib dev warlordsclash /home/..../path/to/parent/of/warlordsclash/folder
and all test working just fine, problem starts in openfl.
when I try to import my classes form core and compile (doesn’t matter the target) I get:
╰─$ openfl test neko
Export/linux64/neko/haxe/ApplicationMain.hx:184: characters 7-42 : Invalid package : <empty> should be warlordsclash.game
and line 184 in ApplicationMain.hx looks like this:
@:keep class DocumentClass extends Main {}
my openfl code is just imports and empty main class that extend Sprite.
whats going on? please help ;]
ps. I also addeded
<haxelib name="warlordsclash" />
to project.xml