Skip to main content



      Home
Home » Newcomers » Newcomers » How can I share config settings for JUnit launchers on a per project basis?
How can I share config settings for JUnit launchers on a per project basis? [message #150999] Fri, 05 May 2006 00:19
Eclipse UserFriend
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.
Previous Topic:how to use ant to automatically generate all the codes?
Next Topic:Cannot Draw UML diagrams
Goto Forum:
  


Current Time: Thu May 08 19:55:16 EDT 2025

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

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

Back to the top