adireddy / eclihx

Automatically exported from code.google.com/p/eclihx
0 stars 0 forks source link

Completion on linux. #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install / configure haxe on ubuntu
2. download / copy eclihx*.jar in eclipse/pluing
3. create symlin haxe.exe->haxe & configure compiler 
4. fill the buil.hxml
-swf9 Main.swf
-main Main
-swf-version 9
5. create an Flash Example with flash.* by example.

What is the expected output? What do you see instead?
should make the completion, instead make an error :
"/media/dev/haxe/src/Main.hx:6: characters 19-45 : You can't access the
flash package with current compilation flags (for
flash.text.TextField)<type>Dynamic</type>"

This could be corrected by adding the "-swf9 out or -swf out flag on the
completion compiler request"

With the request : 
/usr/bin/haxe.exe -cp /media/dev/haxe/src --display
/media/dev/haxe/src/Main.hx@121 --no-output Main 
i get the error.

By trying the request on an terminal: 
/usr/bin/haxe.exe -cp /media/dev/haxe/src --display
/media/dev/haxe/src/Main.hx@121 --no-output Main -swf9 out

I get the answer : 

<list>
<i
n="accessibilityImplementation"><t>flash.accessibility.AccessibilityImplementati
on</t><d></d></i>
<i
n="accessibilityProperties"><t>flash.accessibility.AccessibilityProperties</t><d
></d></i>
<i n="addEventListener"><t>type : String -&gt; listener : (Dynamic -&gt;
Void) -&gt; ?useCapture : Bool -&gt; ?priority : Int -&gt;
?useWeakReference : Bool -&gt; Void</t><d></d></i>
<i n="alpha"><t>Float</t><d></d></i>
<i n="alwaysShowSelection"><t>Bool</t><d></d></i>
<i n="antiAliasType"><t>flash.text.AntiAliasType</t><d></d></i>
<i n="appendText"><t>newText : String -&gt; Void</t><d></d></i>
<i n="autoSize"><t>flash.text.TextFieldAutoSize</t><d></d></i>
<i n="background"><t>Bool</t><d></d></i>
<i n="backgroundColor"><t>UInt</t><d></d></i>
----More----

Original issue reported on code.google.com by mica...@gmail.com on 8 Feb 2010 at 10:28

GoogleCodeExporter commented 9 years ago
Should be fixed in trunk.

Original comment by goodwi...@gmail.com on 16 Jan 2011 at 4:30

GoogleCodeExporter commented 9 years ago

Original comment by goodwi...@gmail.com on 16 Jan 2011 at 4:30