Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Launch config of JUnit Plug-in Test
Launch config of JUnit Plug-in Test [message #66314] Tue, 30 June 2009 14:00 Go to next message
Benjamin Wolff is currently offline Benjamin WolffFriend
Messages: 137
Registered: July 2009
Senior Member
Hi,


i'm using a Fragment to test a Plug-in. I start the fragment 'Run As... ->
JUnit Plug-in Test'. After that i modify the automatically created launch
config. I select the Test suite class (i'm using JUnit 4.5) and only
select a minimal plug-in set to run the test, i don't want to start all
plug-ins in the workspace and target platform because this is too slow and
unnecessary.
The problem is, that the launch config for the JUnit plug-in test is not
stored in the fragment, like it is done with launch configs of regular
plug-ins. so i have to set up the launch options mentioned earlier
manually every time i switch the workspace or checkout the test fragment
on another pc, which is quite annoying.
Is there a way to export/import the launch configuration and can someone
tell why the launch cfg isn't stored in the respective project?!

thx in advance!

greetings,
ben
Re: Launch config of JUnit Plug-in Test [message #66476 is a reply to message #66314] Thu, 02 July 2009 13:36 Go to previous message
Benjamin Wolff is currently offline Benjamin WolffFriend
Messages: 137
Registered: July 2009
Senior Member
hi,

in the meantime i figured it out how to save the launch file in the
project dir.

fyi, this can be achieved by enabling the option 'Shared File' under 'Run'
-> 'Run Configurations' -> '<project run configuration>' -> Tab 'Common'

greetings,
ben
Re: Launch config of JUnit Plug-in Test [message #598902 is a reply to message #66314] Thu, 02 July 2009 13:36 Go to previous message
Benjamin Wolff is currently offline Benjamin WolffFriend
Messages: 137
Registered: July 2009
Senior Member
hi,

in the meantime i figured it out how to save the launch file in the
project dir.

fyi, this can be achieved by enabling the option 'Shared File' under 'Run'
-> 'Run Configurations' -> '<project run configuration>' -> Tab 'Common'

greetings,
ben
Previous Topic:[PDE UI Product export] Executabe bit is not set with generate metadata repository
Next Topic:PDE Build, p2 & bundles.info
Goto Forum:
  


Current Time: Sat Dec 21 14:54:14 GMT 2024

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

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

Back to the top