haXe Forum > Force Compilation of all Classes
-
Daniel Aug 25 at 00:25
Hi there.
I have written a JavaScript library using haxe. A few days ago I moved from FlashDevelop to FDT4 and as the FDT haxe plugin isn't finished yet I build my library using ANT and the compiler exe. As you might know: The haxe compiler automatically ignores classes which aren't referenced by other classes. In FlashDevelop I had the possibility to enforce the compilation of all classes in my project ("Always compile" option). FlashDevelop simply added all of those classes to the classpath.
-
Now as I moved to FDT + ANT a lot of classes aren't compiled into my JavaScript file. Is there any possibility to force the compiler to compile all haxe files and not to ignore unreferenced ones? Some kind of "-include-all" flag would be great.Greetings Daniel