Hi, I have the following target to run findbugs in my
ant script:
My jars are in the lib folder but there is also a txt file in there that is causing an error when Findbugs runs. I know it is causing the error because if I delete it the error goes away. However, I can't really permanently delete that file. So I want to exclude it.
But the exclude isn't working. I am still getting the error. can anyone tell me why this is happening?
<target name="findbugs" >
<findbugs home="${findbugs.home}" output="xml" outputFile="findbugs_report.xml">
<auxClasspath>
<fileset dir="${env.WORKSPACE}/${env.JOB_NAME}/lib"
excludes="**/*.txt">
</fileset>
</auxClasspath>
<sourcePath path="${env.WORKSPACE}/${env.JOB_NAME}/src" />
<class location="${env.WORKSPACE}/${env.JOB_NAME}/bin" />
</findbugs>
</target>
Thank you