|[QVT] undeterministic behaviour - sometimes classifiers disappear [message #724826]
||Tue, 13 September 2011 09:57
Originally posted by: Philipp Kalb|
I have a very strange QVT problem.
To put it in a nutshell: My transformation works if I debug it but it
does not if I run it..
The basic idea of the transformation-script is to transform two
models(UML metamodel) into a common one (UML metamodel). I developed the
script using the QVT editor and used it as shown in the javaInvoke
example that I found in this newsgroup.
It actually works fine but the problem is that sometimes my transformed
objects "forget" their classifiers (and I need them...).
So I changed the script and tried to run it via the "QVTEditor Eclipse
plugin(s)". When I run it with "Run As..." I have classifiers in every 2
- 5 run, If I debug it they are always there.
I even added an "if" in the end of the transformation to check if the
classifiers are null but the "if" is never true. My idea now is that EMF
or QVT does something strange when storing the model. Is that possible?
Do you have any other ideas?
When I run the transformation in a while loop that checks if the results
are ok and if not run everything again, I get the right results after
Thanks for help
Powered by FUDForum
. Page generated in 0.02714 seconds