DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40129





------- Additional Comments From [EMAIL PROTECTED]  2006-07-28 10:40 -------
Interesting. I thought maybe it was from using property value and not property
location bindings, but changing that shows the same problem

<project name="dir-up-test" default="all">
  <property name="super-super-fail" location="${basedir}/../../res" />
  <property name="super-super-ok" location="../../res" />

  <target name="print">
    <echo message="basedir:          ${basedir}" />
    <echo message="super-super-fail: ${super-super-fail}" />
    <echo message="super-super-ok:   ${super-super-ok}" />
  </target>

  <target name="bug">
    <copy todir=".">
      <fileset dir="${super-super-fail}" />
    </copy>
  </target>

  <target name="ok">
    <copy todir=".">
      <fileset dir="${super-super-ok}" />
    </copy>
  </target>

  <target name="all" depends="print,ok,bug" />
</project>

C:\Java\Apache\Ant\incoming\updir-test>ant -Dbasedir=build/node
Buildfile: build.xml

print:
     [echo] basedir:          build/node
     [echo] super-super-fail: C:\Java\Apache\Ant\incoming\updir-test\build\node\
res
     [echo] super-super-ok:   C:\Java\Apache\Ant\incoming\updir-test\res

ok:

bug:

BUILD FAILED
C:\Java\Apache\Ant\incoming\updir-test\build.xml:12: C:\Java\Apache\Ant\incoming
\updir-test\build\node\res not found.

Total time: 0 seconds

That is, <property name="super-super-fail" location="${basedir}/../../res" />

is resolving (incorrectly) to 
C:\Java\Apache\Ant\incoming\updir-test\build\node\res

thoughts, anyone?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to