Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-608

Add support for importing environment variables

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha-2
    • 2.0.0-beta-2
    • Core
    • None

    Description

      Ant supports importing environment variables into properties via the <properties environment="env" /> task. If an ivysettings.xml relies on an environment variable, the lack of support for this feature in Ivy makes it difficult to reuse the same ivysettings.xml in a non-Ant environment, such as in IvyDE. I'm submitting a patch to add the support for JDK 1.5+. This implementation will throw an exception when running in lesser JVMs.

      Attachments

        1. import-env-v2.patch
          17 kB
          Jing Xue
        2. import-env-1.patch
          8 kB
          Jing Xue

        Activity

          People

            maartenc Maarten Coene
            jingxue Jing Xue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: