Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo-FAQ] My generation fails with a 'package not found' exception
[Acceleo-FAQ] My generation fails with a 'package not found' exception [message #1496904] Wed, 03 December 2014 11:22
Etienne SF is currently offline Etienne SFFriend
Messages: 2
Registered: December 2014
Junior Member
Hi,

The FAQ states to add the following lines, to solve the issue "My generation fails with a 'package not found' exception":
EPackage.Registry.INSTANCE.put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);


The question is: where should these lines be added ?

Etienne
Previous Topic:[Acceleo - Papyrus] Package with uri '--- ActionLanguage-Profile' not found.
Next Topic:Problems with static profiles and package merge with Acceleo 3.5.1 + Eclipse Luna
Goto Forum:
  


Current Time: Fri Jan 19 23:37:47 GMT 2018

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

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