[
https://issues.apache.org/jira/browse/IVY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500298
]
Xavier Hanin commented on IVY-517:
----------------------------------
Indeed, it seems the keep attribute was available only on the resolve task, not
post resolve tasks. So it seems we now have introduced a deprecated element
which has never been there... After verification it seems that it isn't even in
the documentation! So I think we have a new feature immediately deprecated :-)
Hence I don't know if we should 'keep' it. Sorry for your work, Maarten, but
what do you think?
> The deprecated "keep" attribute on post resolve tasks causes an error
> ---------------------------------------------------------------------
>
> Key: IVY-517
> URL: https://issues.apache.org/jira/browse/IVY-517
> Project: Ivy
> Issue Type: Bug
> Components: Ant
> Affects Versions: 2.0.0-alpha-1
> Environment: Ant 1.7 and Windows XP
> Reporter: Scott Goldstein
> Assignee: Maarten Coene
> Priority: Minor
> Fix For: 2.0.0-alpha-2
>
>
> Steps to Reproduce:
> 1. Create an ant build file to build a product/library which will utilize ivy
> 2. Create an ant target which uses a post resolve task, such as
> "ivy:cachepath". Add to the task the attribute "keep" with any value, such
> as "true"
> 3. Run the build
> Expected results:
> 1. The build runs with no errors and adheres to the value of the "keep"
> attribute as described in Ivy 1.4.1 documentation
> Actual Results:
> 1. An error occurs, "build.xml:22: ivy:cachepath doesn't support the "keep"
> attribute"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.