We use Junits after the compile (same Ant script) to verify that
not only the XML is fine, but that the code (SQL and Java) actually
works.

        Randy
 

-----Original Message-----
From: Steven Pannell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 30, 2007 3:53 AM
To: [email protected]
Subject: build validation

Hi,

One of the problems I have encountered with ibatis is that some
validation is not possible at compile time but only run time.  Thus when
the application starts ibatis checks the sql-maps to determine if the
classes exists, for example, and then bombs out if there is a problem.
Does anyone know if there is a way that I could perform those tests
within a ant script to avoid these problems at runtime and catch them
much ealier.

many thx.
Steve.


Reply via email to