Package eu.simuline.m2latex.antTask
Class LatexCfgTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- eu.simuline.m2latex.antTask.AbstractLatexTask
-
- eu.simuline.m2latex.antTask.LatexCfgTask
-
- All Implemented Interfaces:
ParameterAdapter,Cloneable
public class LatexCfgTask extends AbstractLatexTask
-
-
Field Summary
-
Fields inherited from class eu.simuline.m2latex.antTask.AbstractLatexTask
latexProcessor, settings
-
-
Constructor Summary
Constructors Constructor Description LatexCfgTask()
-
Method Summary
Modifier and Type Method Description voidexecute()Invoked by ant executing the task.SortedSet<Target>getTargetSet()Returns the set of target.-
Methods inherited from class eu.simuline.m2latex.antTask.AbstractLatexTask
createSettings, initialize
-
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
-
-
-
-
Method Detail
-
getTargetSet
public SortedSet<Target> getTargetSet()
Description copied from interface:ParameterAdapterReturns 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.BuildExceptionInvoked 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:
executein classorg.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().
-
-