8485868788899091929394
p.setName(prefix == null ? key : prefix + key); p.setValue(value == null ? "" : value); } Message.verbose("triggering ant call: target=" + target + " for " + event); call.execute(); markTriggered(event); Message.debug("triggered ant call finished: target=" + target + " for " + event); } }
204205206207208209210211212213214
callee.setOwningTarget(target); callee.setTaskName(getTaskName()); callee.setLocation(location); callee.init(); callee.setTarget(taskName); callee.execute(); } /** * Make a socket to the url, and send the given string */
201202203204205206207208209210211
String val = (String)properties.get(key); Property prop = callee.createParam(); prop.setName(key); prop.setValue(val); } callee.execute(); } /** * This method is used to recursively iterate through * each parameter set. * It ends up being something like:
105106107108109110111112113114115
CallTarget antCall = (CallTarget) createAntTask("antcall"); antCall.setInheritAll(true); antCall.setInheritRefs(true); antCall.init(); antCall.setTarget(this.target); antCall.execute(); } else { for (Iterator i = this.tasks.iterator(); i.hasNext();) {
8788899091929394959697
Message.verbose("triggering ant call: target=" + target + " for " + event); MessageImpl impl = IvyContext.getContext().getMessageImpl(); try { IvyContext.getContext().setMessageImpl(null); call.execute(); markTriggered(event); } finally { IvyContext.getContext().setMessageImpl(impl); }
144145146147148149150151152153154
Message.verbose("triggering ant call: target="+target+" for "+event); MessageImpl impl = IvyContext.getContext().getMessageImpl(); try { IvyContext.getContext().setMessageImpl(null); call.execute(); markTriggered(event); } finally { IvyContext.getContext().setMessageImpl(impl); }
187188189190191192193194195196197
callee.setInheritAll(true); callee.init(); callee.setTarget(this.stopTarget); callee.execute(); } /** * @param theTestURL the test URL to ping */
269270271272273274275276277278279
callee.setInheritAll(true); callee.init(); callee.setTarget(this.startTarget); callee.execute(); // Should never reach this point as the target is blocking, unless the // server is stopped. }