DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18318>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18318

depends

           Summary: depends
           Product: Ant
           Version: 1.5.1
          Platform: HP
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Build Process
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


when a target have several values in 'depends', it verifies that each one had 
been executed first. How can I force target to execute again targets that are 
in depends attribute??

The idea is have one target (function) and some targets (parameters) and then 
execute the 'function' target with different parameters. Eg 
(default="crearProyecto"):

  <target name="funcionVssCreate" description="Crea el directorio especificado 
como 'parametro'">  
      <vsscreate login      ="${login}" 
                 vssPath    ="${pathInicio}/${vssDirNuevo}" 
                 serverPath ="${serverPath}" 
                 ssDir      ="${ssDir}" 
                 failOnError="${vssCreate_failOnError}" /> 
  </target>



  <target name="paramsDirectorioProyecto">
          <property name="vssDirNuevo" value="${nombreProyectoMayus}" />
  </target>

  <target name="paramsDirectorio_ant">
          <property name="vssDirNuevo" value="${nombreProyectoMayus}/ant" />
  </target>

  <target name="paramsDirectorio_ant_bin">
          <property name="vssDirNuevo" value="${nombreProyectoMayus}/ant/bin" />
  </target>

  <target name="paramsDirectorio_ant_lib">
          <property name="vssDirNuevo" value="${nombreProyectoMayus}/ant/lib" />
  </target>





  <target name="crearDirectorioProyecto" depends="paramsDirectorioProyecto, 
funcionVssCreate"> </target>
  <target name="crearDirectorio_ant"     depends="paramsDirectorio_ant,     
funcionVssCreate"> </target>
  <target name="crearDirectorio_ant_bin" depends="paramsDirectorio_ant_bin, 
funcionVssCreate"> </target>
  <target name="crearDirectorio_ant_lib" depends="paramsDirectorio_ant_lib, 
funcionVssCreate"> </target>



  <target name="crearProyecto" 
depends="crearDirectorioProyecto,crearDirectorio_ant,crearDirectorio_ant_bin,cre
arDirectorio_ant_lib" />

Reply via email to