Hi all, I filed a but report a few days ago (week ago?) about how the project's output directory is occasionally lost when executing JUnit (i.e. it isn't on the classpath when JUnit or an external tool is executed).
I've figured out why. If the output directory does not exist when IDEA is started up, the output dir is not included on the classpath until IDEA is restarted OR until the classpath is modified in the project properties dialog. It is also the case that the output directory is omitted from the classpath if you clean your build (which deletes the output dir) using ant and then modify the classpath through the classpath dialog. I have repeated it in the following scenario: - Using ant, clean your build (which deletes the output dir). - Start IDEA, execute your build through ant - Execute JUnit, your test class is not found. - Exit IDEA - Restart IDEA - Execute JUnit, your test class *is* found correctly. or - Using ant, clean your build (which deletes the output dir). - Start IDEA, execute your build through ant - Execute JUnit, your test class is not found. - Open project properties and modify classpath - Execute JUnit, your test class is found. This was on RedHat 7.2, Build 609. -- Rick _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
