You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Daniel Becheanu (JIRA)" <ji...@apache.org> on 2009/04/09 17:53:12 UTC

[jira] Created: (IVYDE-176) Refresh action is detaching javadoc and sources

Refresh action is detaching javadoc and sources
-----------------------------------------------

                 Key: IVYDE-176
                 URL: https://issues.apache.org/jira/browse/IVYDE-176
             Project: IvyDE
          Issue Type: Bug
         Environment: linux eclipse 3.4.2 sr2 x64
            Reporter: Daniel Becheanu
             Fix For: 2.0.0.final


If you do refresh after a successful resolve (properly get sources/javadocs for your artifacts) the sources/javadocs are removed.



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


[jira] Resolved: (IVYDE-176) Refresh action is detaching javadoc and sources

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-176.
-----------------------------------

    Resolution: Fixed
      Assignee: Nicolas Lalevée

I have implemented a fix that use the Ivy API to get metadata from the cache about some source artifacts. As far as I could test I works now correctly.
Please let me know if it doesn't fix your use case.

> Refresh action is detaching javadoc and sources
> -----------------------------------------------
>
>                 Key: IVYDE-176
>                 URL: https://issues.apache.org/jira/browse/IVYDE-176
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: linux eclipse 3.4.2 sr2 x64
>            Reporter: Daniel Becheanu
>            Assignee: Nicolas Lalevée
>             Fix For: 2.0.0.final
>
>         Attachments: IVYDE-176_patch.txt
>
>
> If you do refresh after a successful resolve (properly get sources/javadocs for your artifacts) the sources/javadocs are removed.

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


[jira] Commented: (IVYDE-176) Refresh action is detaching javadoc and sources

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702428#action_12702428 ] 

Nicolas Lalevée commented on IVYDE-176:
---------------------------------------

I have reproduced the bug.

I have not tested your patch, but it seems it tries to download the artifact which have the extra attributes m:classifier=sources.
First it seems to me wrong to try to download something which doing a simple refresh, you should only try with the data in cache. And then this solution would only work on mavenish module descriptor due to the extra attribute.

Looking closer to the code, I think it fails beacuse in the IvyResolveJob, when it tries to parse the resolve report, it doesn't fill the 'artifactsByDependency' map. So we should better use the ivy api to get from the cache the info to populate that map.

> Refresh action is detaching javadoc and sources
> -----------------------------------------------
>
>                 Key: IVYDE-176
>                 URL: https://issues.apache.org/jira/browse/IVYDE-176
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: linux eclipse 3.4.2 sr2 x64
>            Reporter: Daniel Becheanu
>             Fix For: 2.0.0.final
>
>         Attachments: IVYDE-176_patch.txt
>
>
> If you do refresh after a successful resolve (properly get sources/javadocs for your artifacts) the sources/javadocs are removed.

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


[jira] Updated: (IVYDE-176) Refresh action is detaching javadoc and sources

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

Daniel Becheanu updated IVYDE-176:
----------------------------------

    Attachment:     (was: IVYDE-176.txt)

> Refresh action is detaching javadoc and sources
> -----------------------------------------------
>
>                 Key: IVYDE-176
>                 URL: https://issues.apache.org/jira/browse/IVYDE-176
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: linux eclipse 3.4.2 sr2 x64
>            Reporter: Daniel Becheanu
>             Fix For: 2.0.0.final
>
>         Attachments: IVYDE-176_patch.txt
>
>
> If you do refresh after a successful resolve (properly get sources/javadocs for your artifacts) the sources/javadocs are removed.

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


[jira] Updated: (IVYDE-176) Refresh action is detaching javadoc and sources

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

Daniel Becheanu updated IVYDE-176:
----------------------------------

    Attachment: IVYDE-176.txt

> Refresh action is detaching javadoc and sources
> -----------------------------------------------
>
>                 Key: IVYDE-176
>                 URL: https://issues.apache.org/jira/browse/IVYDE-176
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: linux eclipse 3.4.2 sr2 x64
>            Reporter: Daniel Becheanu
>             Fix For: 2.0.0.final
>
>         Attachments: IVYDE-176.txt
>
>
> If you do refresh after a successful resolve (properly get sources/javadocs for your artifacts) the sources/javadocs are removed.

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


[jira] Updated: (IVYDE-176) Refresh action is detaching javadoc and sources

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

Daniel Becheanu updated IVYDE-176:
----------------------------------

    Attachment: IVYDE-176_patch.txt

> Refresh action is detaching javadoc and sources
> -----------------------------------------------
>
>                 Key: IVYDE-176
>                 URL: https://issues.apache.org/jira/browse/IVYDE-176
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: linux eclipse 3.4.2 sr2 x64
>            Reporter: Daniel Becheanu
>             Fix For: 2.0.0.final
>
>         Attachments: IVYDE-176_patch.txt
>
>
> If you do refresh after a successful resolve (properly get sources/javadocs for your artifacts) the sources/javadocs are removed.

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