ant-build-script
ant-build-script copied to clipboard
ant validate only validates single page
Is it intentional that the validate routine is hard coded to a single file specified in #file.root.page# ?
<!-- Validate target, run separately --> <target name="validate"> <apply dir="${dir.source}/" executable="java" parallel="false"> <fileset dir="./${dir.source}/"> <include name="${file.root.page}"/> </fileset>
Should it instead loop over all the files specified in file.pages? Or is the intent to simply call it multiple times as a separate ant-call, e.g.
ant validate -Dfile.root.page=index2.html
Actually, it was only ever intended to validate the root page.