Limit validation to current resource or EObject [message #900715] |
Wed, 08 August 2012 05:33  |
Eclipse User |
|
|
|
I have a very large model that is set as proxies. Each object and direct containment is stored in a separate file.
When I run validation on a top EObject, it loads the entire tree to validate and that takes over 30 minutes.
Since I can assume that other objects, that are stored in separate files, are already validated when saved, how can I limit my validation either to current resource or current EObjects in current resource?
Thanks
Yigal
|
|
|
Re: Limit validation to current resource or EObject [message #900830 is a reply to message #900715] |
Wed, 08 August 2012 12:12  |
Eclipse User |
|
|
|
Yigal,
If you extend Diagnostician, you could specialize doValidateContents to
do nothing and thereby validate only the one object.
On 08/08/2012 11:34 AM, Yigal Spinner wrote:
> I have a very large model that is set as proxies. Each object and
> direct containment is stored in a separate file. When I run validation
> on a top EObject, it loads the entire tree to validate and that takes
> over 30 minutes.
> Since I can assume that other objects, that are stored in separate
> files, are already validated when saved, how can I limit my validation
> either to current resource or current EObjects in current resource?
>
> Thanks
> Yigal
|
|
|
Powered by
FUDForum. Page generated in 0.02958 seconds