Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intellij 14 debug conflict #166

Closed
inagun opened this issue Mar 18, 2015 · 7 comments
Closed

intellij 14 debug conflict #166

inagun opened this issue Mar 18, 2015 · 7 comments
Labels

Comments

@inagun
Copy link

inagun commented Mar 18, 2015

Hi, i've downloaded the latest version of haxe plugin in intellij 14.0.3, and when i open a play framework 2 project (without any haxe module inside) and run or run with debug it, it's failing

Information:18/03/2015 23:49 - Compilation completed with 2 errors and 0 warnings in 0 sec
Error:No main class for module: root
Error:Compilation failed

removing the plugin fix the issue. it's seems as a conflict.

@giabao
Copy link
Contributor

giabao commented Mar 19, 2015

What is your run configuration?
Can you reproduce the isssue with a simple play2 project?

@inagun
Copy link
Author

inagun commented Mar 19, 2015

I have created a new simple java project with activator, importe it in intellij idea via sbt and configure debugger has play 2 app with default parameters

test with jdk1.8.0_25.jdk or jdk1.7.0_71.jdk
URL http://localhost:9000
debug port 9999
jvm option -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M

when i run or debug ->
Information:19/03/2015 17:38 - Compilation completed with 2 errors and 0 warnings in 0 sec
Error:No main class for module: root
Error:Compilation failed

if i build/run with activator.
if i remove haxe plugin, it's ok with same parameters

my config
osx yosemite 10.10.2
intellij 14.0.3 on jvm 1.8.0_25
haxe plugin 9.2

below find logs from idea.log

without plugin...
2015-03-19 18:07:20,250 [ 238857] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2015-03-19 18:07:20,251 [ 238858] INFO - j.compiler.server.BuildManager - Using preloaded build process to compile /Users/inagun/Dev/PLAY/simple-test
2015-03-19 18:07:35,498 [ 254105] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 15252 ms: 0 min 15sec

with plugin...
2015-03-19 18:01:55,135 [1609858] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)

do you need other informations ?

@EBatTiVo
Copy link
Contributor

EBatTiVo commented Apr 8, 2015

Related to #215?

@sganapavarapu1
Copy link
Contributor

yes, this is related to # 215

We see same messages in our Android developer's machines as well.

Error:No main class for module: ...
Error:Compilation failed

@as3boyan
Copy link
Contributor

as3boyan commented Apr 9, 2015

We will need to look at build handler, maybe it needs some check if module is Haxe module...

@as3boyan
Copy link
Contributor

as3boyan commented Apr 9, 2015

Fix for this issue #218

as3boyan added a commit that referenced this issue Apr 9, 2015
Check if module is HaxeModuleType #166
@EBatTiVo EBatTiVo added the bug label Apr 21, 2015
@EBatTiVo
Copy link
Contributor

A fix is in place. @inagun, please re-open if this is not fixed in 0.9.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants