Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » 3.4M5 - cannot launch Junit Plugin tests using application
3.4M5 - cannot launch Junit Plugin tests using application [message #251323] Sat, 09 February 2008 07:48
Eclipse UserFriend
I just upgraded to 3.4M5 and tried to run my junit tests. They use an
application, not a product. Instead of running with the desired RCP
application, they were starting with the IDE. In the debugger I tracked
it down to the fact that the generated config.ini file had an
eclipse.product property pointing to the IDE. My 3.3 installation (and
3.4M4) did not do this.

It seems that something changed between M4 and M5 to put the
eclipse.product property in the config.ini when it should not be there.

Also, there seems to be a problem of not using the correct location for
the configuration area. I

1) delete the entire contents of
workspace/.metadata/.plugins/org.eclipse.pde.core, and start eclipse clean.

2) run a Junit plugin test (generate config.ini, clear config, specifies
test application not product), and the test fails because it uses the
IDE application instead of my RCP application.

3) I run a different Junit plugin test case and it runs using the
configuration location of the first test case. I tried it a couple more
times, they all share the same configuration location.

I filed bug 218424 about this.
Previous Topic:Unbound classpath container: 'Default System Library'
Next Topic:Unknown Source x ConvolveOp
Goto Forum:
  


Current Time: Fri Apr 18 07:18:27 EDT 2025

Powered by FUDForum. Page generated in 0.03859 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top