Class AntBuildTrigger
java.lang.Object
org.apache.ivy.plugins.trigger.AbstractTrigger
org.apache.ivy.ant.AntBuildTrigger
- All Implemented Interfaces:
EventListener, IvyListener, Trigger
Triggers an ant build on an event occurrence.
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidsetAntfile(String pattern) voidsetOnlyonce(boolean onlyonce) voidvoidMethods inherited from class AbstractTrigger
getEvent, getEventFilter, getFilter, getMatcher, setEvent, setFilter, setMatcherMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Trigger
getEventFilter
-
Constructor Details
-
AntBuildTrigger
public AntBuildTrigger()
-
-
Method Details
-
progress
- Specified by:
progressin interfaceIvyListener
-
getBuildFilePattern
-
setAntfile
-
getTarget
-
setTarget
-
isOnlyonce
public boolean isOnlyonce() -
setOnlyonce
public void setOnlyonce(boolean onlyonce) -
getPrefix
-
setPrefix
-