Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311109 - nested teams must be specified using their internal name with "$__OT__"
Summary: nested teams must be specified using their internal name with "$__OT__"
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTEquinox (show other bugs)
Version: 0.7   Edit
Hardware: Other All
: P3 normal (vote)
Target Milestone: 0.7 M2   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 16:29 EDT by Stephan Herrmann CLA
Modified: 2010-05-07 05:07 EDT (History)
0 users

See Also:


Attachments
patch (2.41 KB, patch)
2010-04-29 18:48 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-04-29 16:29:31 EDT
When defining an aspect binding for a nested team this team must currently be
specified using its internal name using "$" and including the __OT__ prefix.

This was witnessed by the example from this blog post:
http://blog.objectteams.org/2010/02/ide-for-your-own-language-embedded-in-java-part-2/

OT/Equinox should be made smarter to also find inner teams when specified
using their source name.
Comment 1 Stephan Herrmann CLA 2010-04-29 18:48:43 EDT
Created attachment 166582 [details]
patch

Fixed by successivly replacings "." by "$__OT__" (tail to front)
until a class can be found.
Comment 2 Stephan Herrmann CLA 2010-04-29 18:51:17 EDT
Patch has been committed as r270.
Comment 3 Stephan Herrmann CLA 2010-05-07 05:06:59 EDT
Verified for M2 using I201005052210