Hi all,
I'm new here I need some help, I have this command under Linux like this
 a...@ubuntu:~$ ls >output.txt

how can I do this command using Ant (build.xml) I tried like this 
<project name="list all files">
<target name="list">
<echo message="Starting lsting files"/>

    <exec executable="ls">
      <arg line="> output.txt"/>
    </exec>
</target>

and this also
<redirector>
        <output>
            <property name="output.txt"/>
        </output>
        <error>
            <log level="INFO"/>
        </error>
       </redirector>

</project>
it was not work 


could please help me

Omar

_________________________________________________________________
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_012009

Reply via email to