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 , 16 years ago | |
---|---|
File size: 422 bytes |
Line | |
---|---|
1 | package ise.antelope.tasks; |
2 | |
3 | import org.apache.tools.ant.Task; |
4 | import org.apache.tools.ant.BuildException; |
5 | |
6 | public 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.