In rev 1002222, I have checked in the code to parse the validation & constraint mapping xml's and throw deployment exceptions if there are any errors.
[1] http://svn.apache.org/viewvc?rev=1002222&view=rev On Mon, Sep 27, 2010 at 4:18 PM, Vamsavardhana Reddy <c1vams...@gmail.com>wrote: > I am working on "GERONIMO-5222 Add support for application validation > descriptor support for deployed applications". I have not come across > anything in Java EE 6 spec that says what is to be done in the case where > there are errors in validation.xml. Current implementation in Geronimo, if > validation.xml parsing errors will result in an exception at runtime. I > think Geronimo should be throwing deployment time exceptions if > validation.xml parsing results in an error. Also, should we extend this to > checking the constraint mapping xml files as well (atleast check if the > constraint mapping xml files exist in the deployment bundle). What do > others think? > > -- > Vamsi > -- Vamsi