Hi.

Luciano Resende a écrit :
As you mentioned, the Tuscany runtime will validate the composites
when processing the contribution. I don' t recall of a specific tool
that would just parse and validate the composite, but a tool like this
should be very simple to do, or  you could try Eclipse STP SCA Tools
and see if they have something like this.
There is indeed something in progress about validation in the SCA Tools project.

The validation relies on the SCA meta-model (which was recently updated to support Tuscany 1.4 - see [0]) and extra-validation rules.

It works like the Java validation in Eclipse.
Every time a composite file is changed in an SCA project, it goes through a validation step. When errors are found, error markers are added on the file and described in the "problem" view.

There is still work to do on it, mainly to link error markers with editors.
And we are also working to run validation when SCA annotated java code is modified.

For the moment, I did not find time to write documentation about this mechanism in the wiki [1]. It's only available in the trunk and in the recent builds for Eclipse Galileo, but if you want to test it, I can help you. It's quite simple.
And if you want to help, you're welcome. :)


Regards,

               Vincent Zurczak.



[ 0 ] : https://bugs.eclipse.org/bugs/show_bug.cgi?id=261222
[ 1 ] : http://wiki.eclipse.org/STP/SCA_Component


On Sun, Feb 8, 2009 at 5:40 PM, Rohan Sahgal <[email protected]> wrote:
Hi,
I was wondering if any tool exists that can validate composite files.
I cannot see any such tool linked from the "Tools" link on the Tuscany
SCA Java webpage.

Right now, I am just dependent on runtime errors to find out mistakes
in my composite files, which is quite time consuming.

It would really ease development if such a tool existed.

Thanks,
Rohan

--
Vincent Zurczak
EBM WebSourcing
+33 (0) 4 38 12 16 77

Reply via email to