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

HI Christian,
Yes, I am referring to the extensible framework, with constraints declared 
in the plugin.xml.  For now, I am using Java constraints but would also like 
the option to use OCL constraints.  All executed via headless Ant task.

I wanted to check if there were any know blockers on this before proceeding. 
I will look into creating a general purpose plugin, 
org.eclipse.emf.validation.ant, that I can contribute back to the project.

Dave

"Christian W. Damus" <cdamus@xxxxxxxxxx> wrote in message 
news:fnl5uq$tr0$1@xxxxxxxxxxxxxxxxxxxx
> 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
>