1 package eu.simuline.m2latex.antTask;
2
3 import org.apache.tools.ant.BuildException;
4
5 import eu.simuline.m2latex.core.BuildFailureException;
6 import eu.simuline.m2latex.core.ParameterAdapter;
7 import eu.simuline.m2latex.core.Target;
8
9 import java.util.SortedSet;
10
11 public class LatexClrTask extends AbstractLatexTask {
12
13
14 public SortedSet<Target> getTargetSet() {
15 throw new IllegalStateException();
16 }
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 public void execute() throws BuildException {
34 initialize();
35 try {
36
37
38 this.latexProcessor.clearAll();
39 } catch (BuildFailureException e) {
40 throw new BuildException(e.getMessage(), e.getCause());
41 }
42 }
43 }