ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46879] New: Enhance <batchtest> to support running tests from multiple source folders
Date Thu, 19 Mar 2009 17:22:59 GMT

           Summary: Enhance <batchtest> to support running tests from
                    multiple source folders
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Optional Tasks

There seems to be a discrepancy in philosophy regarding the level of support
for multiple source folders.  For example, in a project that has the following


The <javac> task supports this multiple-source model by allowing the use of
<src refid="src.code.dirs"/>, where "src.code.dirs" is defined as:

<path id="src.code.dirs">
   <dirset dir="${basedir}" includes="src-*/code"/>

similarly, one can define a "src.test.dirs" to include all the unit test code.

It would make sense to be able to take the same approach when defining
<batchtest> tests.

For example, I would've expected to be able to:

  <fileset refid="src.test.dirs" includes="**/*" />

In any event - there seems to be no way to include multiple source folders in a
batchtest, short of creating individual <fileset>s and including them in the
<batchtest> node.

It would be nice to have a way to define that tests can come from multiple
source folders.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message