How can I share config settings for JUnit launchers on a per project basis? [message #150999] |
Fri, 05 May 2006 00:19 |
Eclipse User |
|
|
|
Originally posted by: eclipsenews-shorn.sneakemail.com
I have two separate projects, which have separate, explicitly named log4j
configuration files. In order to have Log4J use the correct config file I
need to sepcify a VM argument in the JUnit launcher configuration. That
works fine, but I have to specify the setting each time I run a different
test!
How can I share this setting between all tests that I run in a particular
project?
For reference, in IDEA I would specify the VM argument in the JUnit
launcher template configuration - then when I launch a new test, it
creates the launch config from the template (thus inheriting the
argument).
Any pointers? There wasn't anything about it in the FAQ, and if it is in
the help doco, a pointer to what I should be looking for would be helpful
because I couldn't find anything.
I suppose I could kind of simulate the functionality manually by always
"duplicate"'ing a previous working test and then changing the classname
settings - but that's a pretty tedious and error prone way of doing things.
|
|
|
Powered by
FUDForum. Page generated in 0.05694 seconds