Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo]Acceleo does not see metamodels located in targetplatform
[Acceleo]Acceleo does not see metamodels located in targetplatform [message #1052031] Mon, 29 April 2013 14:35 Go to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
Hi,

a similar bugs was reported here some times ago :

http://forge.ow2.org/tracker/index.php?func=detail&aid=311798&group_id=273&atid=350389

I have the same problem, using Acceleo 3.1. I wonder if this has been resolved since ?
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1052183 is a reply to message #1052031] Mon, 29 April 2013 19:00 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
3.4 is much better in this respect.

Regards

Ed Willink

On 29/04/2013 15:35, Stephane Bouchet wrote:
> Hi,
>
> a similar bugs was reported here some times ago :
>
> http://forge.ow2.org/tracker/index.php?func=detail&aid=311798&group_id=273&atid=350389
>
>
> I have the same problem, using Acceleo 3.1. I wonder if this has been
> resolved since ?
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1052633 is a reply to message #1052183] Tue, 30 April 2013 10:28 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
hi Ed, using the latest 3.4 M7 do not resolve my problem. i have a metamodel and an acceleo services plugin in the targetplatform, the ecore is present and acceleo still cannot resolve it during compilation.
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1052847 is a reply to message #1052633] Tue, 30 April 2013 16:55 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Your original reference was to a 2008 bug report - totally irrelevant by
now.

Have you followed the tutorials and FAQs since your problem seems to be
rather basic.

Regards

Ed Willink


On 30/04/2013 11:28, Stephane Bouchet wrote:
> hi Ed, using the latest 3.4 M7 do not resolve my problem. i have a
> metamodel and an acceleo services plugin in the targetplatform, the
> ecore is present and acceleo still cannot resolve it during compilation.
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1053053 is a reply to message #1052847] Thu, 02 May 2013 09:06 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
Hi Ed,

I'm using Acceleo since 2007.

My configuration is quite simple : my Target Platform contains Acceleo 3.1, the metamodel and a plugin with some acceleo services. my developement environment has acceleo 3.4 M7 installed.
The metamodel and the services cannot be found by acceleo when it compiles. I got a workaround ( getting the metamodel and the plugin in my workspace ), but i wonder if the community had this problem, too.
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1053098 is a reply to message #1053053] Thu, 02 May 2013 12:43 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Stephane

If you search the Acceleo Bugzillas raised by me you will find a number
of issues related to metamodel resolution and a discussion on how the
prevailing algorithms are helpful rather than conforming to a sound
design. I have considerable problems only some of which I am able to
workaround.

It is difficult to categorize user problems as newbie failures to comply
with configuration requirements or more advanced deficiencies in the
heuristics.

Regards

Ed Willink




On 02/05/2013 10:06, Stephane Bouchet wrote:
> Hi Ed,
>
> I'm using Acceleo since 2007.
>
> My configuration is quite simple : my Target Platform contains Acceleo
> 3.1, the metamodel and a plugin with some acceleo services. my
> developement environment has acceleo 3.4 M7 installed. The metamodel
> and the services cannot be found by acceleo when it compiles. I got a
> workaround ( getting the metamodel and the plugin in my workspace ),
> but i wonder if the community had this problem, too.
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1053108 is a reply to message #1053098] Thu, 02 May 2013 13:34 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
Hi Ed,

sorry to bother the community with my newbies questions, i thought the acceleo developers can help me with this. I'll contact them in another way if they can't.

i'll have a look to your 105 reported bugs against acceleo and cc myself to those i found interresting to have them fixed.

Cheers,
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1058278 is a reply to message #1053108] Mon, 13 May 2013 12:50 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

In order to access metamodels, Acceleo uses the global package registry managed by EMF and we have our own package registry where the metamodels of the workspace are registered. Since we are here talking about metamodels in the target platform, Acceleo is not doing anything specific to support them. I believe that Ed Merks has worked on improving the situation in the bug 220218 so it may appear that Acceleo 3.4 improve the situation but since we are only relying on the standard behavior of EMF here (and we have always been for that), any credit should go to Ed Merks if things are improved on this subject with Kepler.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks
Re: [Acceleo]Acceleo does not see metamodels located in targetplatform [message #1059247 is a reply to message #1058278] Wed, 15 May 2013 10:52 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

https://bugs.eclipse.org/bugs/show_bug.cgi?id=220218 is indeed a major
improvement, but

EMF used to provide the registries to resolve URIs; they were not
populated in standalone mode.

The bug fix provides the ability to populate them standalone, but

Applications must invoke the EcorePlugin.ExtensionProcessor.process() to
perform that population, so without a code change in Acceleo, or user
code, the bug fix is useless.

The bug fix does a nice job of scanning the classpath so that a
resolution of each URI is available. However IIRC you must add
additional URI mappings to make platform:/resource and platform:/plugin
interchangeable. If you want to go further and make physical and ns URIs
interchangeable and so defeat metamodel schizophrenia, you need the
extra redirecting package registry entries that OCL's ProjectMap provides.

Regards

Ed Willink

On 13/05/2013 13:50, Stephane Begaudeau wrote:
> Hi,
>
> In order to access metamodels, Acceleo uses the global package
> registry managed by EMF and we have our own package registry where the
> metamodels of the workspace are registered. Since we are here talking
> about metamodels in the target platform, Acceleo is not doing anything
> specific to support them. I believe that Ed Merks has worked on
> improving the situation in the
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=220218 so it may appear
> that Acceleo 3.4 improve the situation but since we are only relying
> on the standard behavior of EMF here (and we have always been for
> that), any credit should go to Ed Merks if things are improved on this
> subject with Kepler.
>
> 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:[acceleo] loading EMF resource with a folder URI
Next Topic:[Acceleo] NullPointerException during Tycho Build
Goto Forum:
  


Current Time: Tue Mar 19 09:49:43 GMT 2024

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

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

Back to the top