ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Excluding some directories
Date Tue, 24 Feb 2009 15:29:33 GMT

I'm using Ant 1.6.  I have this task ...

    <target name="check" description="compile source">
       	<taskdef resource="" >
    		<classpath refid="checkstyle.class.path"/>
       	<checkstyle config="${checkstyleCetFile}">   
       		<fileset dir="${srcDir}/com" includes="**/*.java"/> 
        	<formatter type="plain"/>
        	<formatter type="xml" toFile="${checkstyleErrorsXmlFile}"/>       		 
    	<style in="${checkstyleErrorsXmlFile}" out="${checkstyleErrorsHtmlFile}" style="${docsDir}/checkstyle-simple.xsl"/>

I want to modify my <fileset> clause such that it includes all .java files in that directory
except for java files within com/myco/ssml and com/myco/provisioning .  How would I change
the clause to exclude these two directories?

Thanks, - Dave

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message