Uploaded image for project: 'IvyDE'
  1. IvyDE
  2. IVYDE-174

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

        Hide
        daniel.becheanu Daniel Becheanu added a comment - - edited

        removed the comment

        Show
        daniel.becheanu Daniel Becheanu added a comment - - edited removed the comment
        Hide
        abryzak Adam Bryzak added a comment -

        I don't see this issue with my local repository. All of our dependencies are marked as latest.integration to make it simple to upgrade them and as long as the prefix of the jar filename is the same, IvyDE finds the javadocs and sources.

        Show
        abryzak Adam Bryzak added a comment - I don't see this issue with my local repository. All of our dependencies are marked as latest.integration to make it simple to upgrade them and as long as the prefix of the jar filename is the same, IvyDE finds the javadocs and sources.
        Hide
        daniel.becheanu Daniel Becheanu added a comment -

        Did you use the trunk (from hudson) or the ivyde beta 1 from http://www.apache.org/dist/ant/ivyde/updatesite?

        Show
        daniel.becheanu Daniel Becheanu added a comment - Did you use the trunk (from hudson) or the ivyde beta 1 from http://www.apache.org/dist/ant/ivyde/updatesite?
        Hide
        hibou Nicolas Lalevée added a comment -

        Daniel, I think I have found a simpler solution to this issue, see r768297.
        Please reopen if I missed something.
        By the way thanks for attaching a patch which was pointing me to the faulty code.

        Show
        hibou Nicolas Lalevée added a comment - Daniel, I think I have found a simpler solution to this issue, see r768297. Please reopen if I missed something. By the way thanks for attaching a patch which was pointing me to the faulty code.
        Hide
        abryzak Adam Bryzak added a comment -

        Sorry for not replying, for some reason I don't seem to get emails from this JIRA. I was running off the hudson builds.

        Show
        abryzak Adam Bryzak added a comment - Sorry for not replying, for some reason I don't seem to get emails from this JIRA. I was running off the hudson builds.
        Hide
        hibou Nicolas Lalevée added a comment -

        Adam, to be notified of any change of this issue, you should be a "watcher" of it, see the "Watch it" link on the left.

        Show
        hibou Nicolas Lalevée added a comment - Adam, to be notified of any change of this issue, you should be a "watcher" of it, see the "Watch it" link on the left.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development