|Re: ExportAllDiagrams/Model Validation very slow on Luna [message #1404198 is a reply to message #1404179]
||Wed, 30 July 2014 11:03
| Ed Willink
Registered: July 2009
Since most Eclipse projects provide a SDK you can load their plugins
into your workspace with sources and then run them all in a nested
Eclipse using a debug launch. I frequently have a copy of o.e.emf.core
to add some instrumentation. Now that GIT is prevalent, you may prefer
to import from GIT instead. Some projects now have an Oomph installer
that can make setup easier for complex projects such as Papyrus. EMF and
UML are pretty much pure Java so installing projects is easy; just close
projects with errors because they are probably obsolete.
You can also run your Eclipse with
"-Xrunjdwp:server=y,transport=dt_socket,address=14143,suspend=n" on the
startup 'command' so that you can then use another Eclipse to debug a
remote connection on port 14143. This allows direct access to your code,
but you have to keep configuring source attachment paths.
I recommend the GIT approach so that you can add println diagnostics
with timing to the code and maintain your additional code in a branch
that you can reuse later if necessary.
On 30/07/2014 10:19, Ba sti wrote:
> hi Ed,
> thanks for your answer.
> I tried the validation with OCL 5.0.1, but there is no difference in
> the behavior.
> The EMF thread is interesting because there are a lot of ids in my
> model and n*n would explain this long runtime, but i´m not loading it
> in standalone so i guess the UMLResourceFactory is used to create the
> I looked up the code of this Factory and the option
> "XMLResource.OPTION_DEFER_IDREF_RESOLUTION" that was mentioned in the
> other thread is set there, only the second part
> (setIntrinsicIDToEObjectMap) of the solution from the other thread is
> missing there but it looks like the same code as it is in Kepler.
> I think i have to know what´s going on during runtime to figure out
> the problem.
> Can i somehow debug the validation/export?
Powered by FUDForum
. Page generated in 0.02135 seconds