ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain ROY <armaill...@free.com>
Subject Fileset group
Date Wed, 24 Oct 2007 10:39:43 GMT

Hi all,

I use ant 1.7.0 and Checkstyle 4.3 Ant task.  
I want to use a <checkstyle ...> task which accepts <fileset> nested elements.

I have up to 20 Java projects I want to process with checkstyle in one time. I'd like to define
a fileset which is the composition of filesets with *.java source files of several source
directories of my 20 projects (a sort of group of filesets), so I could reference only one
fileset in the checkstyle task. 

<fileset id="fileset.prj1.src1" dir="${prj1.src1}">
  <include name="**/*.java"/>
</fileset>
<fileset id="fileset.prj1.src2" dir="${prj1.src2}">
  <include name="**/*.java"/>
</fileset>
<fileset id="fileset.prj2.src1" dir="${prj2.src1}">
  <include name="**/*.java"/>
</fileset>
.....


Is there a way to do that ?

Regards
AR


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message