Acceleo [message #1462322] |
Wed, 05 November 2014 13:00 |
Alex Shaka Messages: 2 Registered: November 2014 |
Junior Member |
|
|
Hello everyone,
I am working with Acceleo for doing some transformations from an UML Model to Text and I have one error when I want to run the transformations.
The error is the following:
Exception in thread "main" org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'www.omg.org/spec/ALF/20120827/ActionLanguage-Profile' not found.
If someone can clarify a bit about this topic I would be grateful.
Thanks in advance
[Updated on: Wed, 05 November 2014 13:29] Report message to a moderator
|
|
|
|
|
Re: Acceleo [message #1495595 is a reply to message #1494941] |
Tue, 02 December 2014 10:42 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Use the eclipse.modeling.m2t forum for questions about Acceleo.
On 02/12/2014 4:32 AM, Etienne Gauthier wrote:
> Note: I can't put links outside eclipse, so the URL are voluntary
> malformed.
>
> Hi,
>
> I have the same issue. And it doesn't seem to be related to EMF
> itself. I used to Papyrus (up to date) to model it. No issue there:
> everything's fine in the model.
>
>
> But when I try to generate from an Accelelo module, i get the same
> error:
>
> Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package
> with uri 'http //www.omg.org/spec/ALF/20120827/ActionLanguage-Profile'
> not found.
> (file:/H:/data/eclipse-luna/fr.etienne.test.pim.uml2.gen.java/model/test.uml,
> 60, 146)
>
>
> The line 60 of the '' file is :
> <ActionLanguage:TextualRepresentation
> xmi:id="_r80WUHizEeSqrddYyeQP8w"
> language="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"/>
>
> And the ActionLanguage namespace is (suprise) :
> xmlns:ActionLanguage="http
> //www.omg.org/spec/ALF/20120827/ActionLanguage-Profile"
>
> So, how to make Acceleo accept this model ?
>
>
> (BTW: bot the uml model and the Acceleo module uses this UML version:
> xmlns:uml="http //www.eclipse.org/uml2/5.0.0/UML")
>
> Etienne
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.08495 seconds