Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Where does eclipse hide the flag to use project specific settings?
Where does eclipse hide the flag to use project specific settings? [message #514000] Thu, 11 February 2010 19:11 Go to next message
Eclipse UserFriend
I am using EMF to generate part of my code. Alas, that generated code
doesn't quite adhere to my preferred style and preferences and so it always
causes many warnings (parameter(name)s hiding field(name)s, access requiring
synthetic accessors, faulty javadoc comments, and what not...).

Since I don't want to change my default warning levels but to to silence
those warnings in those particular projects I always enable project specific
settings (with relaxed warning levels) in those projects and to automate
this process I keep copying a couple of canned preference files with
appropriate flags into the .settings subdirectory of those projects.

But for some odd reason the flag to actually enable project specific
settings Compiler Errors/Warnings and for Javadoc processing keeps getting
reset for those projects after each build. Where is that flag being kept? I
would like to also automatically overwrite the "master flags" for compiler
and Javadoc errors so that the EMF code does not cause any superfluous
warnings.

Hope I could make myself clear...
Michael
Re: Where does eclipse hide the flag to use project specific settings? [message #514453 is a reply to message #514000] Mon, 15 February 2010 07:26 Go to previous message
Eclipse UserFriend
Michael Moser wrote:
> I am using EMF to generate part of my code. Alas, that generated code
> doesn't quite adhere to my preferred style and preferences and so it
> always causes many warnings (parameter(name)s hiding field(name)s,
> access requiring synthetic accessors, faulty javadoc comments, and
> what not...).
>
> Since I don't want to change my default warning levels but to to
> silence those warnings in those particular projects I always enable
> project specific settings (with relaxed warning levels) in those
> projects and to automate this process I keep copying a couple of
> canned preference files with appropriate flags into the .settings
> subdirectory of those projects.
>
> But for some odd reason the flag to actually enable project specific
> settings Compiler Errors/Warnings and for Javadoc processing keeps
> getting reset for those projects after each build. Where is that flag
> being kept?
There is no such master flag. Something else must be going on. Maybe the
builder clears the settings?

Dani
> I would like to also automatically overwrite the "master flags" for
> compiler and Javadoc errors so that the EMF code does not cause any
> superfluous warnings.
>
> Hope I could make myself clear...
> Michael
>
Previous Topic:Unable to resize the status bar
Next Topic:confused about ant-builders...
Goto Forum:
  


Current Time: Sun Mar 16 08:52:09 EDT 2025

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

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

Back to the top