Bug 415944 - Set 'code.ignoredWarnings' for test bundles in order to use global build settings
Summary: Set 'code.ignoredWarnings' for test bundles in order to use global build sett...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.4 M2   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks: 401776
  Show dependency tree
 
Reported: 2013-08-27 07:17 EDT by Dani Megert CLA
Modified: 2013-09-17 04:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2013-08-27 07:17:30 EDT
Set 'code.ignoredWarnings' for test bundles in order to use the global build settings and reduce the discouraged access warnings in the official build.

Since SWT only has one test bundle, the easiest is to add the following to
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/tests/org.eclipse.swt.tests/pom.xml just before </project> :

  <properties>
    <code.ignoredWarnings>${tests.ignoredWarnings}</code.ignoredWarnings>
  </properties>
Comment 1 Dani Megert CLA 2013-09-16 03:58:51 EDT
Ping!
Comment 3 Dani Megert CLA 2013-09-17 03:10:36 EDT
Verified in I20130916-2330.