|
|
Sponsor |
Re: re: Findbugs 1.1.1 Eclipse Settings: msg#00031java.findbugs.general
On Fri, 06 Oct 2006 19:20:45 +0200, Eugene Kuleshov <eu@xxxxxxxx> wrote: Brian, I agree with Eugene. Especially the integration with VCS is critical and important thing, which you would get for free, as Eclipse would manage it for you (auto check out on modify, ask user if he would like to checkout etc). Brian Cole wrote:[...] Several of you have mentioned that it should actually be stored in the project's .settings directory. I like that idea, but I'm having trouble finding any Eclipse documentation to corroborate this.[...] Do Eclipse conventions permit the FindBugs plugin to place a custom file in the .settings directory? (I see no API to retrieve the directory or its name, but I could certainly hard-code ".settings" into the path and choose a file name that is unlikely to conflict with anything.) If anyone has links to Eclipse documentation in this area, I'd love to see them. I've had trouble finding decent Eclipse documentation. FYI, ".settings" directory is defined in org.eclipse.core.internal.preferences.EclipsePreferences.DEFAULT_PREFERENCES_DIRNAME and the custom plugin file name would be automatically created for you by using appropriate API's. So you do not need to reference/maintain this file manually, because it is done by using ProjectScope class like here: IScopeContext projectScope = new ProjectScope(project); IEclipsePreferences preferences = projectScope.getNode(YOUR_PLUGIN_ID); doSomethingOnInitWith(preferences); preferences.addPreferenceChangeListener(myChangeListener); If you would prefer not to use Eclipse preferences API, just create .settings/<YOUR_PLUGIN_ID>.prefs file - and if you later decide to move to Eclipse API (you will :), users would not need to change their CVS/whatever settings too :o) -- Kind regards, mit freundlichen Grüßen Andrei Loskutov @Home: http://andrei.gmxhome.de Hinweis: diese Nachricht besteht nur aus den wiederverwertbaren Bits.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: re: Findbugs 1.1.1 Eclipse Settings, Eugene Kuleshov |
|---|---|
| Next by Date: | Finder Idea for servlets facing multithreading issues, Andreas Mandel |
| Previous by Thread: | Re: re: Findbugs 1.1.1 Eclipse Settings, Eugene Kuleshov |
| Next by Thread: | re: Findbugs 1.1.1 Eclipse Settings, Philippe . COUTON |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|