You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Klaas Prause (JIRA)" <ji...@apache.org> on 2009/06/10 15:52:08 UTC

[jira] Created: (IVY-1091) Resolve|Cachepath: resolve in mode inline does not work for cachepath

Resolve|Cachepath: resolve in mode inline does not work for cachepath
---------------------------------------------------------------------

                 Key: IVY-1091
                 URL: https://issues.apache.org/jira/browse/IVY-1091
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.1.0-RC1, trunk
            Reporter: Klaas Prause
            Priority: Minor


I cannot resolve an artifact with the "inline" option and use the resolved information with "cachepath". For some reason the resolve is not known to cachepath and cachepath tries to "resolve" again using the default options and default ivy.dep.file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-1091) Resolve|Cachepath: resolve in mode inline does not work for cachepath

Posted by "Klaas Prause (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaas Prause updated IVY-1091:
------------------------------

    Attachment: log.txt
                build.xml

A test buildfile and the log output for this error. The interesting part is:
[ivy:resolve] 	report for oro#oro-caller;working default produced in /tmp/oro-oro-caller-default.xml
[ivy:resolve] 	resolve done (57ms resolve - 4ms download)
Overriding previous definition of property "ivy.version"
[ivy:cachepath] no resolved descriptor found: launching default resolve

> Resolve|Cachepath: resolve in mode inline does not work for cachepath
> ---------------------------------------------------------------------
>
>                 Key: IVY-1091
>                 URL: https://issues.apache.org/jira/browse/IVY-1091
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0-RC1, trunk
>            Reporter: Klaas Prause
>            Priority: Minor
>         Attachments: build.xml, log.txt
>
>
> I cannot resolve an artifact with the "inline" option and use the resolved information with "cachepath". For some reason the resolve is not known to cachepath and cachepath tries to "resolve" again using the default options and default ivy.dep.file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1091) Resolve|Cachepath: resolve in mode inline does not work for cachepath

Posted by "Klaas Prause (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719442#action_12719442 ] 

Klaas Prause commented on IVY-1091:
-----------------------------------

It works with the "keep" option. By the way the keep option is not documented.

Klaas



> Resolve|Cachepath: resolve in mode inline does not work for cachepath
> ---------------------------------------------------------------------
>
>                 Key: IVY-1091
>                 URL: https://issues.apache.org/jira/browse/IVY-1091
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0-RC1, trunk
>            Reporter: Klaas Prause
>            Priority: Minor
>         Attachments: build.xml, log.txt
>
>
> I cannot resolve an artifact with the "inline" option and use the resolved information with "cachepath". For some reason the resolve is not known to cachepath and cachepath tries to "resolve" again using the default options and default ivy.dep.file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1091) Resolve|Cachepath: resolve in mode inline does not work for cachepath

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718601#action_12718601 ] 

Maarten Coene commented on IVY-1091:
------------------------------------

Could you provide your build.xml and the ant verbose output?
I don't see a reason why the inline option would not work with cachepath.

Maarten

> Resolve|Cachepath: resolve in mode inline does not work for cachepath
> ---------------------------------------------------------------------
>
>                 Key: IVY-1091
>                 URL: https://issues.apache.org/jira/browse/IVY-1091
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0-RC1, trunk
>            Reporter: Klaas Prause
>            Priority: Minor
>
> I cannot resolve an artifact with the "inline" option and use the resolved information with "cachepath". For some reason the resolve is not known to cachepath and cachepath tries to "resolve" again using the default options and default ivy.dep.file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-1091) Resolve|Cachepath: resolve in mode inline does not work for cachepath

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718983#action_12718983 ] 

Maarten Coene commented on IVY-1091:
------------------------------------

Thanks for the info, I see the problem now.

As a workaround, could you try the following?
<ivy:resolve organisation="oro" module="oro" revision="2.0.8" inline="true" keep="true"/>

Maarten

> Resolve|Cachepath: resolve in mode inline does not work for cachepath
> ---------------------------------------------------------------------
>
>                 Key: IVY-1091
>                 URL: https://issues.apache.org/jira/browse/IVY-1091
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0-RC1, trunk
>            Reporter: Klaas Prause
>            Priority: Minor
>         Attachments: build.xml, log.txt
>
>
> I cannot resolve an artifact with the "inline" option and use the resolved information with "cachepath". For some reason the resolve is not known to cachepath and cachepath tries to "resolve" again using the default options and default ivy.dep.file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (IVY-1091) Resolve|Cachepath: resolve in mode inline does not work for cachepath

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-1091.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0-RC2
         Assignee: Maarten Coene

I've added more information about the keep attribute to the Ivy documentation.

Maarten

> Resolve|Cachepath: resolve in mode inline does not work for cachepath
> ---------------------------------------------------------------------
>
>                 Key: IVY-1091
>                 URL: https://issues.apache.org/jira/browse/IVY-1091
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0-RC1, trunk
>            Reporter: Klaas Prause
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.1.0-RC2
>
>         Attachments: build.xml, log.txt
>
>
> I cannot resolve an artifact with the "inline" option and use the resolved information with "cachepath". For some reason the resolve is not known to cachepath and cachepath tries to "resolve" again using the default options and default ivy.dep.file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (IVY-1091) Resolve|Cachepath: resolve in mode inline does not work for cachepath

Posted by "Klaas Prause (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaas Prause closed IVY-1091.
-----------------------------


> Resolve|Cachepath: resolve in mode inline does not work for cachepath
> ---------------------------------------------------------------------
>
>                 Key: IVY-1091
>                 URL: https://issues.apache.org/jira/browse/IVY-1091
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0-RC1, trunk
>            Reporter: Klaas Prause
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: 2.1.0-RC2
>
>         Attachments: build.xml, log.txt
>
>
> I cannot resolve an artifact with the "inline" option and use the resolved information with "cachepath". For some reason the resolve is not known to cachepath and cachepath tries to "resolve" again using the default options and default ivy.dep.file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.