I am using the latest prd worthy IntelliJ release,14.0.1, community edition.
In project A, I have 3 modules, each of which I build a jar file for which contains BOTH the module's .class files, as well as the .java files that were used in compilation. (For work internal to my firm, I like to stick everything into one .jar file, so that way there is never any ambiguity about what source produced the class files.)
Project B uses all 3 of those jars. When in project B and I use ctrl-B on some usage of a class from project A, I want the actual source to be displayed.
This used to work, but recently I noticed that instead of getting the true source, what I get displayed is a decompilation of the .class file in the ,jar file.
Now, IntelliJ 14 added decompilation. This is a Godsend when dealing with 3rd party .jar files which have no source.
But in my case, is that decompiler being used now by IntelliJ in all situations, even in cases when there is source available?
Or, is there some other config that I need to do when adding project A's .jar files that will cause the .java files inside them to be seen by IntellIJ when in project B?
Note: when in project B, I can go to the Project view's External Libraries, and inside each of project A's .jar files, when I examine the content of each one, I see double names. These are surely the .class and .java files. When I double click on either one, the actual .java file, not the decompiled one, is displayed.