[QVTo] Running a QVT transformation from a program [message #641437] |
Thu, 25 November 2010 08:16  |
Eclipse User |
|
|
|
Hi,
I'm building a eclipse plugin for transformations of UML models. What I'd like to do is to provide a menu entry in the context menu of a model (via right-clicking) and selecting a transformation. In some cases I'd like to provide the user with the option of sending a parameter (maybe string) as well, do you know how I would import these parameters in the QVT file?
|
|
|
|
|
|
|
Re: [QVTo] Running a QVT transformation from a program [message #642233 is a reply to message #642226] |
Tue, 30 November 2010 08:54   |
Eclipse User |
|
|
|
Haffi wrote:
> OK, I got rid of this error thanks to Dennis Hendriks, and when I try to
> run the Tranformation I get the error: "The JAR of this class file
> belongs to a container "Plugin Depenedencies" which does not allow
> modifications to source attachements on its entries" when it tries to
> get the resources. I'm developing this as a plugin and I guess this is
> not exactly a QVTo related problem but if anyone knows what to do then
> I'm open to suggestions.
It kind of sounds like you're trying to modify a class file's sources,
while the class file is a plug-in dependency of your project. This class
file is then probably a class from EMF or QVTo or something like that.
In that case, it wouldn't make sense to modify that code, only your own
code. I also would not expect this when running the transformation, but
maybe you have some kind of autosave on run feature turned on?
You could try to debug, stepping through your code, trying to find out
where things go wrong.
If this doesn't help, then I think we need to see more of your code to
better answer your question.
Dennis
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27700 seconds