[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] [Validation] Re: headless validation?
|
- From: "Christian W. Damus" <cdamus@xxxxxxxxxx>
- Date: Mon, 28 Jan 2008 13:12:42 -0500
- Newsgroups: eclipse.tools.emf
- Organization: IBM Canada (Rational Software)
- User-agent: KNode/0.10.4
Hi, Dave,
When you use the term "batch mode" I assume that you're referring the
extensible validation framework component, not Ecore's intrinsic EValidator
API.
There should be nothing in the validation framework that requires a UI, so
it should run just fine in a headless config. However, the Validation
component doesn't currently provide Ant tasks; you would need to create
them yourself.
HTH,
Christian
Dave Carlson wrote:
> Hi,
> Is it possible to execute the validation framework from a headless Ant
> build? Specifically, I am creating validation constraints for UML2 that
> are
> based on use of a UML profile. I can run this validation in Batch mode
> from the UI, but is it possible to run from headless Ant and report the
> errors?
>
> Thanks,
> Dave Carlson