Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Access to siblings of resource roots
[Acceleo] Access to siblings of resource roots [message #1065611] Wed, 26 June 2013 16:23 Go to next message
Christian W. Damus is currently offline Christian W. Damus
Messages: 802
Registered: July 2009
Senior Member
Hi,

I have models in which several related objects are contained in a
resource (they are "resource roots"). My transformation starts from
one of these objects and, depending on certain conditions, needs to
process other top-level objects.

I tried to use the "siblings" operation to access these other top-level
objects, but that doesn't work because "siblings" only handles objects
that have an eContainer (cf.
AcceleoLibraryOperationVisitor::siblings(EObject, EClassifier) method).

Is it intended that "siblings" only support objects that have an
eContainer? Should I raise a bug? In the mean-time, I'm working
around this with a Java query (handy facility, that).

This is with the Kepler version of Acceleo.

Thanks,

Christian
Re: [Acceleo] Access to siblings of resource roots [message #1076020 is a reply to message #1065611] Tue, 30 July 2013 14:31 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 413
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

You should a raise a bug to track this issue.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Re: [Acceleo] Access to siblings of resource roots [message #1077335 is a reply to message #1076020] Thu, 01 August 2013 14:58 Go to previous message
Christian W. Damus is currently offline Christian W. Damus
Messages: 802
Registered: July 2009
Senior Member
Thanks, Stephane.

I have raised the following bug with a Git e-mail patch:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=414214

Thanks,

Christian


On 2013-07-30 14:31:43 +0000, Stephane Begaudeau said:

> Hi,
>
> You should a raise a bug to track this issue.
>
> Regards,
>
> Stephane Begaudeau, Obeo
>
> --
> Twitter: http://twitter.com/#!/sbegaudeau
> Google+: https://plus.google.com/u/0/105625286543794908607/
> Blog: http://stephanebegaudeau.tumblr.com |
> http://stephanebegaudeau.tumblr.com/post/37318392815/eclipse-java-development-tools
>
Previous Topic:JET2 Tag Escape Character
Next Topic:Xtend Recursive method issues
Goto Forum:
  


Current Time: Fri Oct 24 15:26:04 GMT 2014

Powered by FUDForum. Page generated in 0.01839 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software