Class LatexCfgTask

    • Field Summary

      • Fields inherited from class org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      LatexCfgTask()  
    • Method Summary

      Modifier and Type Method Description
      void execute()
      Invoked by ant executing the task.
      SortedSet<Target> getTargetSet()
      Returns the set of target.
      • Methods inherited from class org.apache.tools.ant.Task

        bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
    • Constructor Detail

      • LatexCfgTask

        public LatexCfgTask()
    • Method Detail

      • getTargetSet

        public SortedSet<Target> getTargetSet()
        Description copied from interface: ParameterAdapter
        Returns the set of target. FIXME: Better would be Enum set but best a sorted kind of EnumSet The set is an EnumSet and thus in a sense sorted, although not imlementing SortedSet: ***** The iterator returned by the iterator method traverses the elements in their natural order (the order in which the enum constants are declared). TODO: generalize to more than one target.
      • execute

        public void execute()
                     throws org.apache.tools.ant.BuildException
        Invoked by ant executing the task.

        Logging:

        • WFU01: Cannot read directory...
        • WFU03: cannot close
        • WPP02: tex file may be latex main file
        • WPP03: Skipped processing of files with suffixes ...
        • EEX01, EEX02, EEX03, WEX04, WEX05: applications for preprocessing graphic files or processing a latex main file fails.
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException -
        • TSS01 if the tex source directory does either not exist or is not a directory.
        • TSS02 if the tex source processing directory does either not exist or is not a directory.
        • TSS03 if the output directory exists and is no directory.
        • TEX01 if invocation of applications for preprocessing graphic files or processing a latex main file fails
        • TFU01 if the target directory that would be returned exists already as a regular file.
        • TFU03, TFU04, TFU05, TFU06 if copy of output files to target folder fails. For details see LatexProcessor.create().