Description
The following test script:
<ivy:settings/>
<echo message="ivy.dep.file = ${ivy.dep.file}"/>
<ivy:resolve/>
<echo message="ivy.dep.file = ${ivy.dep.file}"/>
Produces this output:
[echo] ivy.dep.file = ${ivy.dep.file}
[ivy:resolve] :: Ivy 2.0.0-beta2-local-20080108025749 - 20080108025749 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file = C:\svn\ARCH-TOOL\ivy\hss-ivysettings.xml
[ivy:resolve] :: resolving dependencies :: hss#ef.srv;working@EDW-DV-GStOnge
[ivy:resolve] confs: [compile, war, schema, spec-pdf, spec-html, javadocs]
[ivy:resolve] :: resolution report :: resolve 172ms :: artifacts dl 0ms
[echo] ivy.dep.file = ivy.xml
Interestingly, the deprecated <ivy:configure> works properly:
<ivy:configure/>
<echo message="ivy.dep.file = ${ivy.dep.file}"/>
<ivy:resolve/>
<echo message="ivy.dep.file = ${ivy.dep.file}"/>
Produces output:
[ivy:configure] ivy:configure is deprecated, please use the data type ivy:settings instead
[echo] ivy.dep.file = ivy.xml
no settings file found, using default...
[ivy:resolve] :: Ivy 2.0.0-beta2-local-20080108025749 - 20080108025749 :: http://ant.apache.org/ivy/ ::
:: loading settings :: url = jar:file:/C:/svn/ARCH-TOOL/ivy/apache.ivy_2.0.0.beta2_20080108025749.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: hss#ef.srv;working@EDW-DV-GStOnge
[ivy:resolve] confs: [compile, war, schema, spec-pdf, spec-html, javadocs]
[ivy:resolve] :: resolution report :: resolve 125ms :: artifacts dl 0ms
[echo] ivy.dep.file = ivy.xml
I encountered this problem when trying to use the ivy.dep.file property as a default value in macros.