Using JUnit forces a compilation

Hi,

I have a project in which I am using Ant to do the compilation and assembly
tasks. The output of the compilation goes into a directory, say
proj/build...
I have set up my project in IntelliJ 3.0.1 so that the output paths are part
of the classpath (i.e., uncheck the exclude from classpath checkbox).
The problem that I have is that if I build the project, and all the class
files are in place, and then I want to execute a JUnit test from within
IntelliJ, the IDE wants to compile everything. Is there a way to keep this
from happening?

-ronc

1 comment
Comment actions Permalink

Nevermind! Sorry for the premature post. After checking around the Run/Debug
dialog a little more closely, I discovered the compile all classes before
Run/Debug checkbox.


Ron Cordell wrote:

Hi,

I have a project in which I am using Ant to do the compilation and
assembly tasks. The output of the compilation goes into a directory, say
proj/build...
I have set up my project in IntelliJ 3.0.1 so that the output paths are
part of the classpath (i.e., uncheck the exclude from classpath checkbox).
The problem that I have is that if I build the project, and all the class
files are in place, and then I want to execute a JUnit test from within
IntelliJ, the IDE wants to compile everything. Is there a way to keep this
from happening?

-ronc


0

Please sign in to leave a comment.