Community
Participate
Working Groups
Put these two files in ${user.home}/.ant/scripts/import: - defaults.xml : <project basedir="." default="x"> <property file="${user.home}/.ant/scripts/import/defaults.properties"/> </project> - defaults.properties: prop=${basedir}/blabla Also create a small Eclipse project with the following buildfile, e.g. in c:\tmp\test: - build.xml: <project basedir="." xmlns:u="defaults"> <import file="${user.home}/.ant/scripts/import/defaults.xml"/> <target name="justatest"> <echo>prop : ${prop}</echo> </target> </project> If you execute the target 'justatest', then prop will resolve to the correct value: c:\tmp\test\blabla However if you hover over ${prop} of build.xml in Eclipse, then you get: c:\Documents and Settings\dto\.ant\scripts\import\blabla which is incorrect. To know why the latter value is incorrect, you should read the specs of the <import> statement of ANT 1.6.5.
Thank you for the bug report. On 3.3 I20070418-1012, I cannot reproduce the problem. The hover is consistent with the expected output. I believe this to be a duplicate of bug 174759. *** This bug has been marked as a duplicate of bug 174759 ***