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

        

Reply via email to