Paul Elschot <[EMAIL PROTECTED]> wrote on 31/05/2007 16:21:09: > > Adding: > > <assertions> > > <enable/> > > </assertions> > > > > to the <junit> task would enable assertions during tests > > regardless of ANT_OPTS variable (and hopefully on all OSs).
> My common-build.xml has this added in the junit task: > > <assertions> > <enable package="org.apache.lucene"/> > </assertions> > This enables the asserts for all lucene-java packages, but not for any external jars being used. I think this is cleaner because the no-args form would enable asserts also in external jars and might add noise to our tests. I'll open an issue and patch it like this! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
