Methods Summary |
---|
public void | addConfiguredTarget(Ant.TargetElement t)Add a target to the list of targets to invoke.
if (callee == null) {
init();
}
callee.addConfiguredTarget(t);
targetSet = true;
|
public void | addPropertyset(org.apache.tools.ant.types.PropertySet ps)Set of properties to pass to the new project.
if (callee == null) {
init();
}
callee.addPropertyset(ps);
|
public void | addReference(Ant.Reference r)Reference element identifying a data type to carry
over to the invoked target.
if (callee == null) {
init();
}
callee.addReference(r);
|
public Property | createParam()Create a new Property to pass to the invoked target(s).
if (callee == null) {
init();
}
return callee.createProperty();
|
public void | execute()Delegate the work to the ant task instance, after setting it up.
if (callee == null) {
init();
}
if (!targetSet) {
throw new BuildException(
"Attribute target or at least one nested target is required.",
getLocation());
}
callee.setAntfile(getProject().getProperty("ant.file"));
callee.setInheritAll(inheritAll);
callee.setInheritRefs(inheritRefs);
callee.execute();
|
public void | handleErrorFlush(java.lang.String output)Handle error output.
Send it the the new project if is present, otherwise
call the super class.
if (callee != null) {
callee.handleErrorFlush(output);
} else {
super.handleErrorFlush(output);
}
|
public void | handleErrorOutput(java.lang.String output)Handle error output.
Send it the the new project if is present, otherwise
call the super class.
if (callee != null) {
callee.handleErrorOutput(output);
} else {
super.handleErrorOutput(output);
}
|
public void | handleFlush(java.lang.String output)Handles output.
Send it the the new project if is present, otherwise
call the super class.
if (callee != null) {
callee.handleFlush(output);
} else {
super.handleFlush(output);
}
|
public int | handleInput(byte[] buffer, int offset, int length)Handles input.
Deleate to the created project, if present, otherwise
call the super class.
if (callee != null) {
return callee.handleInput(buffer, offset, length);
}
return super.handleInput(buffer, offset, length);
|
public void | handleOutput(java.lang.String output)Handles output.
Send it the the new project if is present, otherwise
call the super class.
if (callee != null) {
callee.handleOutput(output);
} else {
super.handleOutput(output);
}
|
public void | init()Initialize this task by creating new instance of the ant task and
configuring it by calling its own init method.
callee = new Ant(this);
callee.init();
|
public void | setInheritAll(boolean inherit)If true, pass all properties to the new Ant project.
Defaults to true.
inheritAll = inherit;
|
public void | setInheritRefs(boolean inheritRefs)If true, pass all references to the new Ant project.
Defaults to false.
this.inheritRefs = inheritRefs;
|
public void | setTarget(java.lang.String target)Set target to execute.
if (callee == null) {
init();
}
callee.setTarget(target);
targetSet = true;
|