ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn J. Mason (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVYDE-295) Order of properties loaded by ivysettings.xml indeterminate; cannot substitute variables within the properties file itself
Date Tue, 21 Feb 2012 02:03:38 GMT
Order of properties loaded by ivysettings.xml indeterminate; cannot substitute variables within
the properties file itself
--------------------------------------------------------------------------------------------------------------------------

                 Key: IVYDE-295
                 URL: https://issues.apache.org/jira/browse/IVYDE-295
             Project: IvyDE
          Issue Type: Bug
            Reporter: Glenn J. Mason
            Priority: Minor


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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message