[Ehx] [Q] Eclipse 3.2 EHX no test.swf Mac OS X
iiley
iiley.chen at gmail.com
Tue May 15 09:58:52 EDT 2007
Hi Michael,
It looks like some params for the haxe compiler is not right, but I tested
with the same build.hxml on my PC, it works fine. But I dont have a MAC, so
can't esure any thing, anyone on a MAC can help?
Regards~~
2007/5/15, Michael Norton <mnorton at wecare.net>:
>
> hi,
> I setup my Eclipse 3.2 to run as the IDE for haXe. Following instructions,
>
> http://www.rgenerat.org/ehx/?page_id=9
>
>
> I see this in the haXe console when I execute the BUILD.
>
> Working directory: /Users/mnorton/Documents/workspace/Test_HaXe
> Hxml file: /Users/mnorton/Documents/workspace/Test_HaXe/build.hxml
> Command line: /usr/lib/haxe/haxe build.hxml
> Haxe Compiler 1.12 - (c)2005-2007 Motion-Twin
> Usage : haxe.exe [options] <class names...>
> Options :
> -cp <path> : add a directory to find source files
> -js <file> : compile code to JavaScript file
> -as3 <directory> : generate AS3 code into target directory
> -swf <file> : compile code to Flash SWF file
> -swf-version <version> : change the SWF version (6,7,8,9)
> -swf-header <header> : define SWF header (width:height:fps:color)
> -swf-lib <file> : add the SWF library to the compiled SWF
> -neko <file> : compile code to Neko Binary
> -x <file> : shortcut for compiling and executing a neko file
> -xml <file> : generate XML types description
> -main <class> : select startup class
> -lib <library[:version]> : use an haxelib library
> -D <var> : define a conditional compilation flag
> -resource <file at name> : add a named resource file
> -exclude <filename> : don't generate code for classes listed in this
> file
> -v : turn on verbose mode
> -debug : add debug informations to the compiled code
> -prompt : prompt on error
> -cmd : run the specified command after successful compilation
> --flash-strict : more type strict flash API
> --override : ensure that overriden methods are declared with 'override'
> --no-traces : don't compile trace calls in the program
> --flash-use-stage : place objects found on the stage of the SWF lib
> --neko-source : keep generated neko source
> --gen-hx-classes <file> : generate hx headers from SWF9 file
> --next : separate several haxe compilations
> --altfmt : use alternative error output format
> --auto-xml : automatically create an XML for each target
> --display : display code tips
> -help Display this list of options
> --help Display this list of options
> Build haXe success.
>
> Here is my build.hxml
>
> -cp src
> -swf test.swf
> -main Test
> -swf-header 300:300:30:FFFFFF
>
> What is missing? I hit refresh and I still don't see the test.swf file.
> I am running on Mac OS 10.4.9.
>
> thanks.
>
> Mike
>
>
>
>
> _______________________________________________
> Ehx mailing list
> Ehx at osflash.org
> http://osflash.org/mailman/listinfo/ehx_osflash.org
>
>
--
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/ehx_osflash.org/attachments/20070515/1b69a452/attachment-0001.htm
More information about the Ehx
mailing list