Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331503 - 3 Compile warnings in official build
Summary: 3 Compile warnings in official build
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Szymon Brandys CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 02:37 EST by Dani Megert CLA
Modified: 2010-12-06 04:50 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Szymon Brandys CLA 2010-12-01 04:24:16 EST
In core.resources we have to libs defined:

source..=src/
source.ant_tasks/resources-ant.jar=src_ant/

To ignore generic warning in core.resources during the build, I added javacWarnings..=-raw,-unchecked to build.properties. I need to do a similar thing for resources-ant.jar.

Olivier is this entry correct? javacWarnings.ant_tasks/resources-ant.jar=-raw,-unchecked
Comment 2 Olivier Thomann CLA 2010-12-01 10:22:56 EST
As far as I can say, yes. This is right.
Comment 3 Olivier Thomann CLA 2010-12-01 10:26:09 EST
Note that you should use two different output folders for the ant tasks and the normal code in this bundle.
Comment 4 Dani Megert CLA 2010-12-02 01:45:53 EST
This did the trick. There is one warning left though. I suggest you fix this directly in the code:
http://eclipsebuildserv.ottawa.ibm.com/downloads/master/downloads/drops/N20101201-2000/compilelogs/plugins/org.eclipse.core.resources_3.7.100.N20101201-2000/ant_tasks/resources-ant.jar.bin.html
Comment 5 Szymon Brandys CLA 2010-12-03 05:16:01 EST
Fixed.
Comment 6 Dani Megert CLA 2010-12-06 04:50:50 EST
Verified in I20101205-2000.