Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359326

Summary: [releng] set project specific API tooling preferences
Product: z_Archived Reporter: Miles Parker <milesparker>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: CLOSED MOVED QA Contact:
Severity: trivial    
Priority: P4 CC: steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: All   
Whiteboard:
Attachments:
Description Flags
Suggested API prefs settings. none

Description Miles Parker CLA 2011-09-28 22:22:16 EDT
Eclipse project best practice seems to be moving toward requiring API baselines. For one thing, such requirement would help with issues like bug 
357779 where there is no reliable way to ensure that a stupid Mac developer doesn't try to use Java 1.6 API. This would require the following changes to each project:

1. Adding API tools builder and nature to each .project file. See below.
2. Adding an org.eclipse.pde.api.tools.prefs file to .settings. (See enclosed to follow.)

<projectDescription>
	<name>org.eclipse.mylyn.modeling.emf.core</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
...
		<buildCommand>
			<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
...
		<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
	</natures>
</projectDescription>
Comment 1 Miles Parker CLA 2011-09-28 22:23:38 EDT
Created attachment 204237 [details]
Suggested API prefs settings.
Comment 2 Steffen Pingel CLA 2011-09-29 05:10:15 EDT
Yes, this should be enabled for all Mylyn projects. If it is not enabled for the modeling project please fix that.

Which API tools settings are you suggesting to change specifically?
Comment 3 Steffen Pingel CLA 2011-09-29 05:10:32 EDT
Reopening accidentally closed bug.
Comment 4 Steffen Pingel CLA 2011-09-29 06:10:14 EDT
(In reply to comment #2)
> Which API tools settings are you suggesting to change specifically?

I mean which settings in the attached file deviate from the defaults.
Comment 5 Miles Parker CLA 2011-09-29 13:21:36 EDT
INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Error

The default is "Ignore" which obviously makes it useless for this case. The only thing is that it will require people to install the environment descriptions, but they should probably have them there anyway.
Comment 6 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn