|[QVTO] Large script - editor slow [message #869583]
||Thu, 03 May 2012 16:15
I have a large transformation script and the qvto editor becomes
extremely slow. (I'm not sure yet if this is also a problem of using
custom types which the editor doesn't know). Anyway I can edit fragments
while strategically commenting out other areas, but when I enable all
qvto code, the editor chokes on the script (CPU busy for many minutes).
I may have issues in the script, but is there a way to split scripts
into smaller fragments?
|Re: [QVTO] Large script - editor slow [message #869841 is a reply to message #869820]
||Fri, 04 May 2012 13:35
On 04.05.2012 14:02, Ed Willink wrote:|
> I suspect that you have side stepped the problem. EMF works quite well
> with dynamic models; a bit slower but not dramatically so. Perhaps your
> problem was that you were repeatedly loading the model again and again.
> Using a single Java model may just have avoided the repetition.
Perhaps... anyway my (hopefully final) approach to this is to simply
start my Ecore model in a runtime workbench, add my XSD model there also
using my special startup-loader plugin and edit the QVT there in a
project that's linked to my original workspace. That way I don't need to
re-deploy and restart Eclipse, I merely need to restart the runtime
workbench which is much more lightweight.
Everything works great now, and I really love QVT. Hopefully development
will continue (I'm afraid I won't be able to give much back... well,
perhaps a bug report here and there).
Powered by FUDForum
. Page generated in 0.02602 seconds