Hi form

  I have 1 Questions

  1)I have a "build.xml" file with  many normal targets,
    But for LINUX - OS with same build.xml , Do i need to Add the FTP tasks
for EACH of the targets
    or is there an feature avaliable in ANT.

    ex:-

      Source OS using ANT to Copy is         : "windows"
      Destination OS of each target may be   : "windows  or Linux Systems"


      build.xml is as follows....

      <target name="01JAN2005">
        <copy todir="${dest.dir}">
      <fileset dir="${src.dir}/*"/>
        </copy>
        </target>

      <target name="15JAN2005" depends="15JAN2005">
        <copy todir="${dest.dir}">
        <fileset dir="${src.dir}/*"/>
        </copy>
      </target>

        ----


      <target name="01JAN2005" >
          <fileset dir="${libs}">
          <include name="**/*.jar"/>
          </fileset>
          <ftp server="${ftptype}"
               remotedir="${ftpremotedir}"
               userid="${ftpid}"
               password="${ftppas}"
               separator="/"
               action="put">

             <fileset dir="${src.dir}">
                <include name="**/*"/>
              </fileset>
           </ftp>
        </target>



      <target name="15JAN2005" >
          <fileset dir="${libs}">
          <include name="**/*.jar"/>
          </fileset>
          <ftp server="${ftptype}"
               remotedir="${ftpremotedir}"
               userid="${ftpid}"
               password="${ftppas}"
               separator="/"
               action="put">

             <fileset dir="${src.dir}">
                <include name="**/*"/>
              </fileset>
           </ftp>
        </target>


Please some body help me



with regards
Karthik





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to