Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316553 - [compiler] Interactive export of OT-plugin does not use compiler preferences
Summary: [compiler] Interactive export of OT-plugin does not use compiler preferences
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.7 M4   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard: trac
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 18:52 EDT by Stephan Herrmann CLA
Modified: 2010-06-29 10:08 EDT (History)
0 users

See Also:


Attachments
Implementation (658 bytes, patch)
2010-06-10 20:22 EDT, Stephan Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.