Package eu.simuline.m2latex.antTask
Class LatexClrTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- eu.simuline.m2latex.antTask.AbstractLatexTask
-
- eu.simuline.m2latex.antTask.LatexClrTask
-
- All Implemented Interfaces:
ParameterAdapter,Cloneable
public class LatexClrTask extends AbstractLatexTask
-
-
Field Summary
-
Fields inherited from class eu.simuline.m2latex.antTask.AbstractLatexTask
latexProcessor, settings
-
-
Constructor Summary
Constructors Constructor Description LatexClrTask()
-
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:
- WPP02: tex file may be latex main file
- WFU01: Cannot read directory...
- WFU03: cannot close tex file
- EFU05: Failed to delete file
- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException- TSS02 if the tex source processing directory does either not exist or is not a directory.
-
-