Those changes are fine by me. You could also shorten that 'testcase' part (e.g. test, ut, tc, t).
Otis --- Erik Hatcher <[EMAIL PROTECTED]> wrote: > FYI - this enables running a single unit test like this: > > ant test-unit -Dtestcase=TestRussianAnalyzer > > Anyone object to me changing test-unit target name to "test" and the > current "test" one to "test-compile"? Wouldn't it make more sense to > > type "ant test" to run the tests, not just compile them? > > Also, if there is anything I broke with the build, by all means let > me > know - this is my first foray into committing to Lucene. > > > On Tuesday, August 12, 2003, at 06:49 AM, [EMAIL PROTECTED] wrote: > > > ehatcher 2003/08/12 03:49:44 > > > > Modified: . build.xml > > Log: > > allow isolation of a single unit test > > > > Revision Changes Path > > 1.40 +4 -1 jakarta-lucene/build.xml > > > > Index: build.xml > > > =================================================================== > > RCS file: /home/cvs/jakarta-lucene/build.xml,v > > retrieving revision 1.39 > > retrieving revision 1.40 > > diff -u -r1.39 -r1.40 > > --- build.xml 12 Aug 2003 10:37:09 -0000 1.39 > > +++ build.xml 12 Aug 2003 10:49:44 -0000 1.40 > > @@ -284,8 +284,11 @@ > > <classpath refid="junit.classpath"/> > > <formatter type="plain"/> > > <formatter type="brief" usefile="false"/> > > - <batchtest fork="yes" todir="${junit.reports}"> > > + <batchtest fork="yes" todir="${junit.reports}" > > unless="testcase"> > > <fileset dir="${junit.src}" includes="**/Test*.java" /> > > + </batchtest> > > + <batchtest fork="yes" todir="${junit.reports}" > if="testcase"> > > + <fileset dir="${junit.src}" > includes="**/${testcase}.java" > > /> > > </batchtest> > > </junit> > > </target> > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]