IvyDE
  1. IvyDE
  2. IVYDE-295

Order of properties loaded by ivysettings.xml indeterminate; cannot substitute variables within the properties file itself

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We load ivysettings.properties with a <properties file=...> in ivysettings.xml. Inside, we define a repository.id property; we can't then reference that ($

      {repository.id}) later in the same file.

      e.g
      repository.id=project1
      localrepo.dir=${ivy.default.ivy.user.dir}/local-${repository.id}

      // repository.id not "resolved"

      Running in debug, it looks like the "substituted" property is loaded/defined before the repository.id one.

      There are a few different workarounds, but is this expected behaviour?

        Activity

        Glenn J. Mason created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Glenn J. Mason
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development