On Mon, 14 Oct 2002, Costin Manolache <[EMAIL PROTECTED]> wrote:

> I think I found the real problem - Echo is calling 
> Project.replaceProperties() in addText(), but since properties
> are evaluated later this will fail.

Hmm?

[EMAIL PROTECTED] jakarta-ant]$ cat > /tmp/echo.xml
<project default="foo">
  <target name="foo">
    <property name="bar" value="baz"/>
    <echo>${bar}</echo>
  </target>
</project>
[EMAIL PROTECTED] jakarta-ant]$ ant -f /tmp/echo.xml 
Buildfile: /tmp/echo.xml

foo:
     [echo] baz

BUILD SUCCESSFUL
Total time: 1 second

what is the problem?  This works with Ant 1.5.1 and CVS HEAD.

The problem is the load of tasks that do not expand properties
themselves - or taken the other way around, that IntrospectionHelper
hasn't done so to begin with.

Stefan

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

Reply via email to