ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wray, Nathan" <>
Subject Creating a fileset from a list of filenames
Date Tue, 03 Nov 2009 13:16:56 GMT
Hi All;


I'm trying to identify modified java files in an SVN working copy and
run checkstyle on these files.  So far I've got a property with a list
of everything modified like:




It seems like I need something the opposite of pathconvert to turn this
property into a FileSet.  

Any suggestions?  The relevant part of my build file follows:


<exec executable="svn" outputproperty="svn.status.out">

<arg value="status" />

<arg value="${basedir}/.." />

<arg value="--xml" />



<xmlproperty prefix="svnstat" collapseattributes="true" delimiter=";">


<propertyref name="svn.status.out"/>





Now contains all of the modified files 

and folders as a semicolon separated list

This needs to be filtered to just .java files


<echo  message="unfiltered list of modified files:



This fails, the list is not a pathid


<checkstyle  config="./Checkstyle.xml">

<fileset pathid=""/>





Thank you




The contents of this e-mail are intended for the named addressee only. It contains information
that may be confidential. Unless you are the named addressee or an authorized designee, you
may not copy or use it, or disclose it to anyone else. If you received it in error please
notify us immediately and then destroy it.

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message