IvyDE
  1. IvyDE
  2. IVYDE-174

The sources/javadocs are not added for dependencies which dont have a fixed revision

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0.final
    • Fix Version/s: 2.0.0.final
    • Component/s: None
    • Labels:
      None
    • Environment:

      Eclipse 3.4.2 sr2 _x64

      Description

      When we attach dependencies which are not having a fixed revision, the sources/javadoc are not attached in case ivy resolve does not find them.

      To be more extact the code which accounts for ivy not finding sources/javadoc is not triggered.

      How to reproduce:

      Add following dependency.

      <dependency org="org.springframework" name="spring-context"
      rev="2.5.+" conf="default" transitive="false"/>
      or
      <dependency org="org.springframework" name="spring-context"
      rev="latest.integration" conf="default" transitive="false"/>
      Clean all your ivy cache. Do resolve.

      If you want the dependency to add the javasource/javadoc you have to use fixed revision number

      <dependency org="org.springframework" name="spring-context"
      rev="2.5.6" conf="default" transitive="false"/>

      1. IVYDE-174_patch.txt
        2 kB
        Daniel Becheanu

        Activity

        Nicolas Lalevée made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Nicolas Lalevée [ hibou ]
        Fix Version/s 2.0.0.final [ 12313533 ]
        Resolution Fixed [ 1 ]
        Daniel Becheanu made changes -
        Description
        When we attach dependencies which are not having a fixed revision, the sources/javadoc are not attached in case ivy resolve does not find them.

        To be more extact the code which accounts for ivy not finding sources/javadoc is not triggered.

        How to reproduce:

        Add following dependency.

        <dependency org="org.springframework" name="spring-context"
        rev="2.5.+" conf="default" transitive="false"/>
        or
        <dependency org="org.springframework" name="spring-context"
        rev="latest.integration" conf="default" transitive="false"/>
        Clean all your ivy cache. Do resolve.

        If you want the dependency to add the javasource/javadoc you have to use fixed revision number

        <dependency org="org.springframework" name="spring-context"
        rev="2.5.5" conf="default" transitive="false"/>
        When we attach dependencies which are not having a fixed revision, the sources/javadoc are not attached in case ivy resolve does not find them.

        To be more extact the code which accounts for ivy not finding sources/javadoc is not triggered.

        How to reproduce:

        Add following dependency.

        <dependency org="org.springframework" name="spring-context"
        rev="2.5.+" conf="default" transitive="false"/>
        or
        <dependency org="org.springframework" name="spring-context"
        rev="latest.integration" conf="default" transitive="false"/>
        Clean all your ivy cache. Do resolve.

        If you want the dependency to add the javasource/javadoc you have to use fixed revision number

        <dependency org="org.springframework" name="spring-context"
        rev="2.5.6" conf="default" transitive="false"/>
        Daniel Becheanu made changes -
        Attachment IVYDE-174_patch.txt [ 12404800 ]
        Daniel Becheanu made changes -
        Attachment IVYDE-174_patch_with_handling_alreadydownloaded_artifacts.txt [ 12404799 ]
        Daniel Becheanu made changes -
        Attachment IVYDE-174_patch.txt [ 12404724 ]
        Daniel Becheanu made changes -
        Attachment IVYDE-174_patch_with_handling_alreadydownloaded_artifacts.txt [ 12404799 ]
        Daniel Becheanu made changes -
        Field Original Value New Value
        Attachment IVYDE-174_patch.txt [ 12404724 ]
        Daniel Becheanu created issue -

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            Daniel Becheanu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development