Suppose I have two versions of Application in one project in eclipse. One
is compiled by javabuilder, I call it as version A, another compiled by
another compiler, called version B. If I use
javaprojec.setOutputLocation() to change the default bin directory to the
directory contain the version B, then the other programe can run version
B, like JUnit. But I find when call javaprojec.setOutputLocation(),
javabuilder will builder version A to the directory contain version B and
overwrite the class file. So... I know we can set URLClassLoader to loade
the correct version, But because I want run JUnit TestCase to run the
correct Version, I wander how to reach my goal.