Created
June 1, 2012 12:24
-
-
Save ccapndave/2851749 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compile.hxml | |
| ============ | |
| -js out/production/ptthaxe/js/PTT.js | |
| -main Main | |
| -debug | |
| -cp src | |
| -cp d:/Projects/HAXERESOURCES/cube/haxelib | |
| -cp d:/Projects/HAXERESOURCES/hxevents/src | |
| -cp d:/Projects/HAXERESOURCES/injector/haxelib | |
| -cp d:/Projects/HAXERESOURCES/jQueryExtern | |
| -cp d:/Projects/HAXERESOURCES/hx-node | |
| -resource templates/locked.mtt@locked | |
| When compiled with FlashDevelop (both when explicitly running haxe.exe compile.hxml and when using the built in builder) the source contains: | |
| js.Boot.__trace = function(v,i) { | |
| var msg = i != null?i.fileName + ":" + i.lineNumber + ": ":""; | |
| msg += js.Boot.__unhtml(js.Boot.__string_rec(v,"")) + "<br/>"; | |
| var d = document.getElementById("haxe:trace"); | |
| if(d == null) alert("No haxe:trace element defined\n" + msg); else d.innerHTML += msg; | |
| } | |
| When compiled with IntelliJ (which AFAIK just runs haxe.exe compile.hxml) the source contains: | |
| js.Boot.__trace = function(v,i) { | |
| var msg = i != null?i.fileName + ":" + i.lineNumber + ": ":""; | |
| msg += js.Boot.__string_rec(v,""); | |
| var d = document.getElementById("haxe:trace"); | |
| if(d != null) d.innerHTML += js.Boot.__unhtml(msg) + "<br/>"; else if(typeof(console) != "undefined" && console.log != null) console.log(msg); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment