Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Can Eckipse share config settings for JUnit launchers on a per project basis?
Can Eckipse share config settings for JUnit launchers on a per project basis? [message #303033] Sat, 06 May 2006 09:54 Go to next message
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 it seems 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.
Re: Can Eckipse share config settings for JUnit launchers on a per project basis? [message #303043 is a reply to message #303033] Sat, 06 May 2006 12:05 Go to previous message
Eclipse UserFriend
Originally posted by: varavamu.yahoo.com

please vote for:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=67585
https://bugs.eclipse.org/bugs/show_bug.cgi?id=41353
https://bugs.eclipse.org/bugs/show_bug.cgi?id=67585

thanks,
Vijay

Shorn wrote:
> 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 it seems 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:Error while starting Eclipse
Next Topic:Eclipse JBoss
Goto Forum:
  


Current Time: Thu Jul 17 11:54:28 EDT 2025

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

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

Back to the top