Last change
on this file since 14627 was 14627, checked in by oranfry, 17 years ago |
initial import of the gs3-release-maker
|
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.