hxjava
hxjava copied to clipboard
How to include *.java source files in hxjava build?
I have a couple of macro generated Java source files, but I can't seem to find any doc on how to include them while building Haxe for Java. The only thing I can is how to add *.jar files as library.
I don't think we have an option to include java sources.
And I doubt we should have it, because Haxe can't parse and get typing information from java sources.
You can however generate externs in addition to java sources and put java files to an appropriate path inside of the build directory (specified by -java path/to/build/)