Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Acceleo(Problems with pluggin Acceleo)
Acceleo [message #1462322] Wed, 05 November 2014 13:00 Go to next message
Alex Shaka is currently offline Alex ShakaFriend
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 #1462424 is a reply to message #1462322] Wed, 05 November 2014 15:06 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
You might want to ask on the EMF forum instead of Newcomers.
Re: Acceleo [message #1494941 is a reply to message #1462424] Mon, 01 December 2014 22:06 Go to previous messageGo to next message
Etienne Gauthier is currently offline Etienne GauthierFriend
Messages: 1
Registered: December 2014
Junior Member
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
Re: Acceleo [message #1495595 is a reply to message #1494941] Tue, 02 December 2014 10:42 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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/
Previous Topic:How to embed custom editor in multipage form editor
Next Topic:Eclipse won't start
Goto Forum:
  


Current Time: Fri Apr 26 16:12:08 GMT 2024

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

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

Back to the top