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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -