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

Bug 316553

Summary: [compiler] Interactive export of OT-plugin does not use compiler preferences
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTDTAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.4   
Target Milestone: 0.7 M4   
Hardware: PC   
OS: Linux   
Whiteboard: trac
Attachments:
Description Flags
Implementation none

Description Stephan Herrmann CLA 2010-06-10 18:52:48 EDT
(originally from http://trac.objectteams.org/ot/ticket/201)

Trying to export an OT-plugin that uses inferred callout is not possible via the export wizard, because the default compiler settings are used where inferred callout is an error.
Comment 1 Stephan Herrmann CLA 2010-06-10 19:10:54 EDT
The underlying issue (JDT & PDE) was addressed for 3.6M7 in bug 291528.

All we need do now is
 - consume that implementation, i.e., use javacProjectSettings=true
   in our build.properites files.
 - extend the patch from bug 291528 comment 15 to apply to OT options, too.
Comment 2 Stephan Herrmann CLA 2010-06-10 20:22:19 EDT
Created attachment 171683 [details]
Implementation

(In reply to comment #1)
> All we need do now is
>  - consume that implementation, i.e., use javacProjectSettings=true
>    in our build.properites files.

This was committed in r449 ff., which, however, seem to have gotton lost
somewhere along the wire (I currently can't access dev.eclipse.org).

>  - extend the patch from bug 291528 comment 15 to apply to OT options, too.

That's implemented in the attached patch.
Comment 3 Stephan Herrmann CLA 2010-06-10 21:05:06 EDT
Patches have been committed as r449 - r455 (using ssh command line).
Comment 4 Stephan Herrmann CLA 2010-06-11 20:18:41 EDT
Verified for M4 using build 201006111053.