try {
monsoon = new Monsoon();
monsoon.listen( port );
}
catch ( e : Dynamic ) {
Sys.println('Unable to serve from port ${port}. Error: ' + e );
Sys.println('Trying next port number...');
}
# JavaScript
# Main class
-main Main
# used haxelibs
#-lib asys
#-lib http-status
#-lib mime
-lib monsoon
-lib monsoon-embed
#-lib path2ereg
#-lib tink_core
#-lib tink_http
#-lib tink_io
#-lib tink_macro
#-lib tink_runloop
#-lib tink_streams
#-lib tink_url
# output file
-cpp ./../../bin/cpp/release/
# remove all unused code
-dce full
# static link
-D static
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.