I've identified a bug in IDEA 6.0.4. Given that the active EAP is for IDEA 7, what JIRA project should I use to file it: BACKLOG, DEVELOPMENT, or FEEDBACK?
For the record, here's what I intend to report:
I have a multi-module project (I joined the team building and maintaining it, I didn't create it and so can't modify the build process). One module is a web application (with ".jsp" files but no ".java" files) and the other module is a normal Java module. The build is performed using Ant, which compiles the classes, creates jar files, then copies the ".class" files to the external tomcat server (the jar files are created and set aside for customer delivery, but we deploy the ".class" files directly in the development environment).
The disk layout is roughly as follows:
In my IDEA project, I configured "/dev/myproject/output" to be EXCLUDED. None of the generated JAR files are in the project's classpath.
I can remote debug the Tomcat server. No problem for debugging JSP files. However, when stepping into a class from a JSP in the debugger, I see the class file without the source code (i.e.: all method bodies are replaced with "compiled code"). The build script generates ".class" files with "debug on".
The problem is that the IDEA title bar however says that the ".class" file comes from a JAR file that is in my EXCLUDED path!!! If I delete these files, then debugging works fine.
Why is IDEA picking up ".class" files in JARs that aren't in the library path and which are even more surprisingly in the EXCLUDED path???