You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Scott Goldstein (JIRA)" <ji...@apache.org> on 2007/05/24 22:51:16 UTC
[jira] Created: (IVY-517) The deprecated "keep" attribute on post
resolve tasks causes an error
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
Priority: Minor
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.
[jira] Resolved: (IVY-517) The deprecated "keep" attribute on post
resolve tasks causes an error
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-517.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-alpha-2
Should be ok now.
I've added the keep attribute to the post-resolve task. I didn't see how this could have worked in the past, because the post-resolve task never had a 'keep' attribute as far as I could see.
> 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.
[jira] Commented: (IVY-517) The deprecated "keep" attribute on post
resolve tasks causes an error
Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500592 ]
Xavier Hanin commented on IVY-517:
----------------------------------
OK, I didn't find it in the doc. So we can keep your code and update the doc, if we don't want to deprecate it, which makes sense indeed. So we can consider this as a new feature :-)
> 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.
[jira] Commented: (IVY-517) The deprecated "keep" attribute on post
resolve tasks causes an error
Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (IVY-517) The deprecated "keep" attribute on post
resolve tasks causes an error
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500450 ]
Maarten Coene commented on IVY-517:
-----------------------------------
Well,
it is in the documentation, but not in the attribute list of the post-resolve task, but in the text above it. I had to search a while to find it myself....
But I don't see why this attribute should be deprecated? If you do an inline resolve, the result of the resolve won't be kept in-memory, even if you use a resolveId. If you set keep to true, the result will be kept in-memory.
Or did I miss something here?
> 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.
[jira] Assigned: (IVY-517) The deprecated "keep" attribute on post
resolve tasks causes an error
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene reassigned IVY-517:
---------------------------------
Assignee: Maarten Coene
> 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
>
> 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.