[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] [Validation] Re: headless validation?

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