|
Re: UML profile and Acceleo issue [message #1759719 is a reply to message #1759530] |
Mon, 17 April 2017 13:43 |
|
How did you reference your database profile from your model? I guess, you did not register this profile, i.e. you reference it as a profile stored in your workspace via a relative path. Acceleo has had problems with URI resolution in the past. Thus the problem might be related to this issue. You can try what happens if you use an existing, registered profile, e.g. the UML2 standard profile. Also look at the error logs.
Keep also in mind, that Acceleo loads a separate copy of your model and profile into its own resource set. Thus, it will work on the last saved state, not on the current model in a Papyrus editor.
|
|
|
|
Re: UML profile and Acceleo issue [message #1759857 is a reply to message #1759781] |
Wed, 19 April 2017 07:54 |
|
There is a Papyrus specific extension point that enables you to see your profile in the list of registered profiles. Typically, your profile is part of a plugin and you also specify a pathmap (which implies that you still change the profile location later without invalidating existing models that apply the profile). The snipped below shows such an example.
<extension point="org.eclipse.emf.ecore.uri_mapping">
<mapping
source="pathmap://DATABASE_PROFILE/"
target="platform:/plugin/<your plugin name>/resources/profile/"/>
</extension>
<extension point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile">
<profile
description="My database profile"
iconpath="platform:/plugin/<your plugin name>/resources/icons/..."
name="Database profile"
path="pathmap://DATABASE_PROFILE/db.profile.uml"
provider="..."/>
</extension>
|
|
|
|
|
|
|
Re: UML profile and Acceleo issue [message #1792546 is a reply to message #1792513] |
Thu, 19 July 2018 11:12 |
|
Hi,
as already said, the problem is not clear. Does Acceleo work with your profile in the 2nd (debug) instance, but not when deployed? In this case, check whether the build.properties contain the profile (at least the .uml file).
Ansgar
|
|
|
Powered by
FUDForum. Page generated in 0.04918 seconds