hxjava icon indicating copy to clipboard operation
hxjava copied to clipboard

How to include *.java source files in hxjava build?

Open darmie opened this issue 5 years ago • 1 comments

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.

darmie avatar Apr 11 '20 18:04 darmie

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/)

RealyUniqueName avatar Apr 13 '20 09:04 RealyUniqueName