I just started working with Ant scripts so i'm not sure I'm asking the correct question but here it goes:
I have a script that is suppose to find a RegEx pattern from individual files on a specified directory and replace it, but I want to output a list of the selected files on the console.
I have successfully created the script to search and replace with no issues and I already know the amount of files changed (just under 5000 files). Now I'm trying to output the list of files but the amount of files shown in the console is considerably less (just under 600 files). I'm not sure if it's just that the number of files is too high to output on the console or my script needs work
Here is the code I have to output my results:
<target name="find">
<path id="find.path">
<fileset dir="${custom.dir}">
<include name="**/*.js"/>
<include name="**/*.jsp"/>
<include name="**/*.xml"/>
<include name="**/*.css"/>
<include name="**/*.java"/>
<containsregexp expression="(YEAR|DATE)(?:\s*2016,\s)"/>
</fileset>
</path>
<pathconvert pathsep="${line.separator}--> "
property="echo.path.compile"
refid="find.path">
</pathconvert>
<echo>${echo.path.compile}</echo>
</target>