junit - Update multiple eclipse run configuration user classpath setting -


background: projecta eclipse 4.2.1 java project numerous junit 4 test classes. each junit test run individually @ times , therefore has corresponding run configuration. each run configuration specifies configuration folder projectb user class path entry.

projecta   test     classatest.java (run configuration user class path entry -> projectb/config)     classbtest.java (run configuration user class path entry -> projectb/config)     ... projectb   config *deleted* projectc   config *created* 

question: if configuration folder moved projectb projectc, there way perform mass update of junit run configurations new user class path entry.

constraints: maintaining copy of configuration folder , contents in projecta not desirable because updated. updating each run configuration hand not desirable. adding junit test classes junit suite , having single run configuration possibly work, in order run individual test need run suite, kill it, , run individual test junit window.

attempted: unable find way perform type of update through eclipse gui. maybe manipulating eclipse files directly work.

thanks in advance.

according this, eclipse stores run configurations in :

<workspace>/.metadata/.plugins/.org.eclipse.debug.core/.launches  

so, using find/replace function in text editor or linux test manipulation programs should trivial refactor run configurations new user class path entries.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

monitor web browser programmatically in Android? -

c# - Using multiple datasets in RDLC -