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

Java tests won't start for Java project(plugin) when Haxe plugin is enabled #215

Closed
as3boyan opened this issue Apr 8, 2015 · 7 comments
Closed
Assignees
Labels

Comments

@as3boyan
Copy link
Contributor

as3boyan commented Apr 8, 2015

Java tests won't start for Java project(plugin) when Haxe plugin is enabled

IDEA 13.1.6
Project - Haxe plugin

If I enable Haxe plugin, then when I try to run tests on Java project(plugin) I got this error:
no main class

@EBatTiVo
Copy link
Contributor

EBatTiVo commented Apr 8, 2015

This is weird. This is either the second or third case where we have issues with other language plugins when Haxe is installed. I wonder if the Haxe plugin is installing/registering one of it's subclasses as a (mismarked?) subsystem for the Java language, and is thus overriding the standard Java behavior. Or, more likely, that one of the Java classes that are sub-classed (re-used) by the Haxe plugin does this normally, and is now actually installing the sub-class when it thinks it is installing itself.

git bisect can probably help us here, but it's going to be tedious uninstalling and re-installing the plugin every time we want to test.

Have you noticed whether the issue occurs when we are debugging the Haxe plugin (e.g. debugging or running a secondary instance in the plugin playground), or only when the plugin is installed normally in a primary instance?

@as3boyan
Copy link
Contributor Author

as3boyan commented Apr 8, 2015

This happens for primary instance, not sure about secondary

@sganapavarapu1
Copy link
Contributor

This turned out to be a blocker at TiVo for Android team.

One of the Android developers came to my cube just now and complained that -
They are compelled to upgrade to IJ IDEA 14 for other reason - they use multi-dexing which needs this upgrade. So, they upgrade IDEA to 14 - now, they need to get latest Haxe plugin (0.9.2) for functional Haxe plugin. Once they install this latest plugin - it is blocking all kinds of builds... gradle, Java / Android etc.

They need this fixed rather urgently - needs to be escalated because entire Android development team is blocked.

@EBatTiVo EBatTiVo added the bug label Apr 8, 2015
@EBatTiVo EBatTiVo self-assigned this Apr 8, 2015
@kaushikprajapati
Copy link

Srikanth described the situation and so I will get to the business of how to produce this issue and add more details.

IntelliJ Version: 14.1.1 Build #IU-141.178
Haxe Plugin: 0.9.2

Please use below google drive link to get sample project, my idea logs and the list of plugins I have installed.

https://drive.google.com/folderview?id=0B5MqYzzaFCjUfmhqMXNPQTNOeXl6ak1Ga0IwSHN0eExyV1pDTWltVFJoSjlNdUJyMGQzeFk&usp=sharing

Steps to produce:

  1. Import the sample project (which is sample Android gradle project)
  2. Hit the little green play button to build

Error Logs from above steps:

Information:4/8/15, 1:34 PM - Compilation completed with 2 errors and 0 warnings in 19ms
Error:No main class for module: app
Error:Compilation failed

LMK if I can provide any more information.

@as3boyan
Copy link
Contributor Author

as3boyan commented Apr 9, 2015

Fix for this issue #218

@as3boyan
Copy link
Contributor Author

as3boyan commented Apr 9, 2015

Same thing for secondary instance, used to happen all the time.

@EBatTiVo
Copy link
Contributor

Boyan fixed this a couple of days ago. It is in the 0.9.3 release. fede588

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

4 participants