HaxeFoundation / intellij-haxe

Haxe plugin for IntelliJ Platform based IDEs (IDEA, Android-Studio)
http://intellij-haxe.org
Apache License 2.0
219 stars 100 forks source link

Get Haxe JavaProtocol code generating automatically, rather than checking in the generated Java code. #793

Open EricBishton opened 6 years ago

EricBishton commented 6 years ago

@m0rkeulv found that updating the hxcpp debugger code was quite easy, instead of haxe -cp .. -java JavaProtocol -main JavaProtocol -lib debugger you can just use haxe -cp .. -java JavaProtocol -main JavaProtocol -lib hxcpp-debugger and then remove all the __a parts from params.__a a bunch of places in HaxeDebugRunner

m0rkeulv commented 6 years ago

To get it working i used the code from the protocol_v1.1 branch the git repo. I also used hxjava 3.2 and haxe 3.4.7 (the latest haxelib release of the debugger, version 1.0.6 has different enum names and will fail) https://github.com/HaxeFoundation/hxcpp-debugger/