Closed GoogleCodeExporter closed 9 years ago
Bad formatting :(
It should be:
My haxe installation is at
/usr/bin/haxe
Standard lib is at
/usr/share/haxe/std
$HAXE_LIBRARY_PATH set to
/usr/share/haxe/std:.
Original comment by andy@onthewings.net
on 3 Feb 2012 at 2:23
Hello, sorry for a long response. In general this is a error not from eclihx
but from haxe compiler. Please try to activate completion feature after
enabling Error Log view in eclipse (Window -> Show View -> Other -> Error Log).
You should be able to see the exact string of compiler execution posted as
information message to this window. Please confirm that this message contains
an expected path for compiler.
Original comment by goodwi...@gmail.com
on 5 Feb 2012 at 1:59
The error log I got:
null
Info
Sun Feb 05 15:05:00 HKT 2012
Eclihx ExecuteProcess. WorkingDirectory: "/home/andy/workspace/testHaxe". CommandLine: "[/usr/bin/haxe, -main, Test, -cp, src, --display, /home/andy/workspace/testHaxe/src/Test.hx@57, --no-output, -neko, bin/testHaxe.n]".
If I enter the display command from console, I can get the output correctly:
andy@sacredibis:~/workspace/testHaxe$ /usr/bin/haxe -main Test -cp src --display /home/andy/workspace/testHaxe/src/Test.hx@57 --no-output -neko bin/testHaxe.n
<list>
<i n="charAt"><t>index : Int -> String</t><d></d></i>
<i n="charCodeAt"><t>index : Int -> Null<Int></t><d></d></i>
<i n="indexOf"><t>str : String -> ?startIndex : Int -> Int</t><d></d></i>
<i n="lastIndexOf"><t>str : String -> ?startIndex : Int -> Int</t><d></d></i>
<i n="length"><t>Int</t><d></d></i>
<i n="split"><t>delimiter : String -> Array<String></t><d></d></i>
<i n="substr"><t>pos : Int -> ?len : Int -> String</t><d></d></i>
<i n="toLowerCase"><t>Void -> String</t><d></d></i>
<i n="toString"><t>Void -> String</t><d></d></i>
<i n="toUpperCase"><t>Void -> String</t><d></d></i>
</list>
Original comment by andy@onthewings.net
on 5 Feb 2012 at 7:10
Ok, turn out I have to put the following line in "/etc/environment"
HAXE_LIBRARY_PATH="/usr/share/haxe/std:."
Previously I put "export HAXE_LIBRARY_PATH="/usr/share/haxe/std:." in
"~/.bashrc" which eclipse does not read...
It is now working as expected, thanks for the help!
Original comment by andy@onthewings.net
on 5 Feb 2012 at 7:49
Thank you for posting, I'm glad it solved now.
Original comment by goodwi...@gmail.com
on 5 Feb 2012 at 9:17
Original issue reported on code.google.com by
andy@onthewings.net
on 3 Feb 2012 at 2:22