php - Passing Arg in Ant -
i working on ant script following code block:
<target name="phplint"> <apply dir="${dir.publish.php}" executable="${tool.php.lint}" parallel="true" failonerror="false"> <fileset dir="${dir.publish.php}"> <include name="**/*.php"/> </fileset> <arg value="-l" /> <srcfile/> <mapper type="glob" from="*.php" to="*.html"/> </apply> </target>
the command want run below:
php -l index-1.php > index-1.html
how can it...! because above code working. don't want <arg value="-l"/>
i want pass <arg value="-l"/> <arg value="> *.html"/>
set output
attribute specify file output of command should redirected. here's ant manual.
Comments
Post a Comment