You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2008/09/15 09:51:44 UTC
[jira] Resolved: (IVY-889) Trigger only fires for the first
dependency when the event is post-download-artifact
[ https://issues.apache.org/jira/browse/IVY-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xavier Hanin resolved IVY-889.
------------------------------
Resolution: Invalid
Assignee: Xavier Hanin
I've documented the onlyonce property, so I can mark this as invalid. Thanks for investigating!
> Trigger only fires for the first dependency when the event is post-download-artifact
> ------------------------------------------------------------------------------------
>
> Key: IVY-889
> URL: https://issues.apache.org/jira/browse/IVY-889
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-beta-2
> Environment: OSX Leopard, Windows XP, JSE 1.5 and JSE 1.6, Ant 1.7.1
> Reporter: Steve Benigan
> Assignee: Xavier Hanin
>
> With an empty default cache directory I would expect the post-download-artifact to event to trigger for each artifact but it is only triggering for the first dependency listed in ivy.xml
> ivy.xml:
> ...
> <dependency org="commons-lang" name="commons-lang" rev="1.0" conf="" />
> <dependency org="commons-cli" name="commons-cli" rev="1.0"/>
> ...
> ivysettings.xml:
> ...
> <triggers>
> <ant-build
> antfile="${ivy.settings.dir}/build.xml"
> target="test"
> prefix="dep"
> event="post-download-artifact"
> filter="status=successful"/>
> </triggers>
> ...
> build.xml
> ...
> <target name="build">
> <ivy:resolve/>
> </target>
> ...
> <target name="test">
> <echo message="***** ${dep.organisation} ${dep.revision} ${dep.artifact} ${dep.ext}"/>
> </target>
> Executing the build, only commons-lang artifact download (or whichever dependency is resolved first) results in a call to the test target.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.