Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Is it possible to have different warning settings for different source folders?
Is it possible to have different warning settings for different source folders? [message #234390] Mon, 14 August 2006 07:12 Go to next message
Eclipse UserFriend
Originally posted by: mikael.staldal.ingen-reklam-univits.com

I have two source folders in my project, one for the main source, and
one for JUnit testcases.

Now I want to have a more relaxed warning setting for the testcases,
e.g. I don't want to write doc comments on all test methods (the test
methods are not part of the public API, they are only public for
technical reasons).

Is this possible?
Re: Is it possible to have different warning settings for different source folders? [message #234507 is a reply to message #234390] Wed, 16 August 2006 05:47 Go to previous messageGo to next message
Eclipse UserFriend
Mikael Ståldal wrote:

> I have two source folders in my project, one for the main source, and
> one for JUnit testcases.
>
> Now I want to have a more relaxed warning setting for the testcases,
> e.g. I don't want to write doc comments on all test methods (the test
> methods are not part of the public API, they are only public for
> technical reasons).
>
> Is this possible?

No not directly: compiler preferences are either per project or the
workspace preferences. Instead of mapping your project with the two
source folders to one project you could try to create two projects
(which links to the same source) but have different Java build paths and
compiler settings. The problem is that you have to do this manually and
it does not play well with CVS.

Dani
Re: Is it possible to have different warning settings for different source folders? [message #234704 is a reply to message #234390] Fri, 18 August 2006 18:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Mikael Ståldal wrote:
> I have two source folders in my project, one for the main source, and
> one for JUnit testcases.
>
> Now I want to have a more relaxed warning setting for the testcases,
> e.g. I don't want to write doc comments on all test methods (the test
> methods are not part of the public API, they are only public for
> technical reasons).
>
> Is this possible?

Please file an enhancement request in the Eclipse bugzilla - sounds like
a pretty good idea to me.

Eric
Re: Is it possible to have different warning settings for different source folders? [message #234738 is a reply to message #234704] Mon, 21 August 2006 05:15 Go to previous message
Eclipse UserFriend
Originally posted by: mikael.staldal.ingen-reklam-univits.com

Eric Rizzo wrote:
> Please file an enhancement request in the Eclipse bugzilla - sounds like
> a pretty good idea to me.

I have done so now, bug #154506.
Previous Topic:Problems understanding access rules between plugins
Next Topic:ant 1.2.13 and Eclipse 3.x: java.lang.NoSuchFieldError: level
Goto Forum:
  


Current Time: Fri Jul 25 19:38:04 EDT 2025

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

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

Back to the top