Excerpts from Andy Green's message of Sun Nov 11 23:35:27 +0100 2012:
> Also, what should I import in order to make the Haxe class accessible to
> another Java class (as soon as the above Haxe class has been compiled to
> Java?)
Get Eclipes, add the .class files to your class path, use ctrl-sthift-O
(auto import of classes)
You puzzle me, if you want to code Java, you should know how imorts in
Java work. Why not just have a look at the Main.java file?
In my sample
# D.hx
class D {
}
#Main.hx
import D;
class Main {
static public ...
}
this turns into this java file:
package haxe.root;
import haxe.root.*;
@SuppressWarnings(value={"rawtypes", "unchecked"})
public class Main extends haxe.lang.HxObject
{
public static void main(String[] args)
So looking at code should be all you have to do ?
Marc Weber