Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo - Papyrus] Package with uri '--- ActionLanguage-Profile' not found.
icon9.gif  [Acceleo - Papyrus] Package with uri '--- ActionLanguage-Profile' not found. [message #1496899] Wed, 03 December 2014 11:18 Go to next message
Etienne SF is currently offline Etienne SFFriend
Messages: 2
Registered: December 2014
Junior Member
Note: I can't put links outside eclipse, so the URL are voluntary malformed.


I'm trying to execute the Acceleo tutorial, based on a UML2 model, created with Papyrus.

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 //'
not found.
(file:/H:/data/eclipse-luna/, 60, 146)

The line 60 of the '' file is : <ActionLanguage:TextualRepresentation xmi:id="_r80WUHizEeSqrddYyeQP8w" language=""/

And the ActionLanguage namespace is (suprise) :

So, how to make Acceleo accept this model ?

(BTW: both the uml model and the Acceleo module uses this UML version: xmlns:uml="http //")


NB: I attached the eclipse project (contains both models)

[Updated on: Wed, 03 December 2014 15:46]

Report message to a moderator

Re: [Acceleo - Papyrus] Package with uri '--- ActionLanguage-Profile' not found. [message #1698785 is a reply to message #1496899] Wed, 17 June 2015 21:30 Go to previous messageGo to next message
Gabriela Mising name is currently offline Gabriela Mising nameFriend
Messages: 13
Registered: July 2009
Junior Member
I 've been working on the same problem and I found the answer in the Acceleo FAQ

Re: [Acceleo - Papyrus] Package with uri '--- ActionLanguage-Profile' not found. [message #1698884 is a reply to message #1496899] Thu, 18 June 2015 13:49 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
Registered: April 2010
Location: Nantes (France)
Senior Member


In the Java launcher generated by Acceleo, there is a method called registerPackages. In this method, you will find a comment explaining how to register an EMF EPackage in order to have your models properly loaded afterwards. It should look like this.


Stephane B├ęgaudeau, Obeo
Previous Topic:[Acceleo] Where to get it from?
Next Topic:ACCELEO EDITOR is not working correctly
Goto Forum:

Current Time: Mon Dec 04 04:31:45 GMT 2023

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

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

Back to the top