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

Bug 311109

Summary: nested teams must be specified using their internal name with "$__OT__"
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTEquinoxAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: 0.7 M2   
Hardware: Other   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

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