1. IvyDE
  2. IVYDE-56

References to dependent *.jar files reference the cache and not the local retrive directory


    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0.beta1
    • Component/s: classpath container
    • Labels:
    • Environment:

      Windows, Eclispe 3.2.0, IvyDE 1.2.0, Ivy 1.4.0, JDK 1.5.x


      On the IvyDE settings screen I have checked the option: "do retrive after resolve".
      I gave a "lib folder" in my Eclispe project as target for the retrive.
      IvyDE still shows in mouse overs on the ivy container classpath entries like: C:{my stuff}\.ivy\cache[org][artifact]-[revision].[ext], the local "lib folder" is ignored.
      In other words, the Eclispe build fails if I manually deleted the cache for some reason, until I do a manual resolve again.

      For my daily work I use Eclipse. For full builds I use Ant. Ant build and Eclipse build should work as similar as possible. While classpath dependencies during compilation from Ant are resloved via the local lib files, Eclipse resolves them via the ivy cash. This happends besides that IvyDE as well copies the files into the project. As a result of this I can't move the project to my note book where I don't have access to my ivy cache directory. (As a workaround I remove the ivy container from .classpath and add the jar files from the "lib folder" manually, however this is error prone.

      Feature Request:
      As like with ant, which retrives all needed *.jar files, I like IvyDE to be able to retrieve into the exact same folder like my ant build.xml. I like the classpath container of Ivy to use this folder to provide the *.jar files on the classpath for eclispe.

      (Sorry for the long description, I liked to make it as clear as possible, as I realy wonder why IvyDE actualy behaves different ;D )

      1. screenshot-1.jpg
        165 kB
        Claudio Miranda
      2. IVYDE-56-r732294.patch
        23 kB
        Nicolas Lalevée

        Issue Links


          angelo.schneider@oomentor.de created issue -
          Nicolas Lalevée made changes -
          Field Original Value New Value
          Attachment IVYDE-56-r732294.patch [ 12397533 ]
          Claudio Miranda made changes -
          Attachment screenshot-1.jpg [ 12428653 ]
          Claudio Miranda made changes -
          Comment [ Is there any plan to resolve this issue ?

          Unfortunately this issue prevent me and my team to use IvyDE, because we have different versions of the same library, and IvyDE uses all libraries, so we run into classpath issues.

          Sorry for the rant, I found Ivy the best tool to manage project dependencies, but it is hard to convince other if the IDE integration doesn't work with multiple projects (with different versions).

          Nicolas Lalevée made changes -
          Fix Version/s 2.2.0 [ 12315245 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Nicolas Lalevée [ hibou ]
          Nicolas Lalevée made changes -
          Link This issue is duplicated by IVYDE-285 [ IVYDE-285 ]


            • Assignee:
              Nicolas Lalevée
            • Votes:
              5 Vote for this issue
              5 Start watching this issue


              • Created: