IvyDE
  1. IvyDE
  2. IVYDE-311

IvyDE does not allow setting of Ivy Home or honor setting of IVY_HOME environment variable

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0.beta1
    • Fix Version/s: 2.2.0.final
    • Component/s: ivysettings editor
    • Labels:
      None
    • Environment:

      MyEclipse 9.1 64-bit, JDK 1.6.0_31 64-bit, Windows 7 Enterprise SP1 64-bit

      Description

      IvyDE does not seem to honor the setting of the environment variable IVY_HOME, nor does it allow you to configure where you want your Ivy Home to be. It should work like the Ant plugin does, and allow you to configure, at a workspace level, the location Ivy Home.

      This is important because for many users, the default C:\Users\<username\.ivy2 directory is not on a fast storage device (like an SSD), and things run much faster with the ivy cache running on an SSD or RAM drive. We are currently using linkd.exe to create an NTFS junction to the location where we want Ivy Home.

      This however, is also somewhat of a performance hit as going through an NTFS junction causes some overhead. We can tell, because with a command-line build with IVY_HOME set to an SSD, it completes 30 seconds faster than with the IVY_HOME unset buy going through the NTFS junction point (9:30 vs. 10:30).

        Activity

        Hide
        Nicolas Lalevée added a comment -

        Actually Ivy is sensible to the variable 'ivy.home', and not the environment variable IVY_HOME. I guess you have some Ant task which transform one into the other.
        You could set the 'ivy.home' variable via a property in an ivysettings.xml, or via a Java system property to be set on Eclipse in its eclipse.ini.

        But a UI would make sense, maybe by implementing IVYDE-282.

        Show
        Nicolas Lalevée added a comment - Actually Ivy is sensible to the variable 'ivy.home', and not the environment variable IVY_HOME. I guess you have some Ant task which transform one into the other. You could set the 'ivy.home' variable via a property in an ivysettings.xml, or via a Java system property to be set on Eclipse in its eclipse.ini. But a UI would make sense, maybe by implementing IVYDE-282 .
        Hide
        Nicolas Lalevée added a comment -

        I have added a configuration parameter called 'Ivy user dir', configurable at the workspace level or project by project.

        Show
        Nicolas Lalevée added a comment - I have added a configuration parameter called 'Ivy user dir', configurable at the workspace level or project by project.

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            J.C. Hamlin
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development