| can change bin directory not automatically call builder? [message #333386] | 
Mon, 08 December 2008 12:38  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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.
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.02266 seconds