source: release-kits/wirk3/ant-scripts/tasks/antelope/src/ise/antelope/tasks/Call.java@ 15023

Last change on this file since 15023 was 15023, checked in by oranfry, 16 years ago

did the bulk of the work on wirk3

File size: 422 bytes
Line 
1package ise.antelope.tasks;
2
3import org.apache.tools.ant.Task;
4import org.apache.tools.ant.BuildException;
5
6public class Call extends Task {
7
8 private String target = null;
9
10 public void setTarget(String target) {
11 this.target = target;
12 }
13
14 public void execute() {
15 if (target == null)
16 throw new BuildException("target is required");
17 getProject().executeTarget(target);
18 }
19}
Note: See TracBrowser for help on using the repository browser.