org.apache.ivy.ant
public class AntBuildTrigger extends AbstractTrigger implements Trigger
Example of use:
<ant-build-trigger event="pre-resolve-dependency" filter="revision=latest.integration" antfile="/path/to/[module]/build.xml" target="compile"/>Triggers an ant build for any dependency in asked in latest.integration, just before resolving the dependency.
The onlyonce property is used to tell if the ant build should be triggered only once, or several times in the same build.
Since: 1.4
See Also: AntCallTrigger
Method Summary | |
---|---|
String | getBuildFilePattern() |
String | getPrefix() |
String | getTarget() |
boolean | isOnlyonce() |
void | progress(IvyEvent event) |
void | setAntfile(String pattern) |
void | setOnlyonce(boolean onlyonce) |
void | setPrefix(String prefix) |
void | setTarget(String target) |