> append/prepend isn't as far a departure from the current 
> model as would be
> allowing complex expressions or arbitrary transformations.

I havent followed the discussion, but read the "append to path" and this
is possible.
You can not append directly to a path, but because paths are - in
contrast to properties - overwritable:

    <macrodef name="addpath">
        <attribute name="topath"/>
        <element name="nested" optional="yes" implicit="true"/>
        <sequential>
            <path id="tmp">
              <pathelement path="${toString:@{topath}}"/>
              <nested/>
            </path>
            <path id="@{topath}"><pathelement
path="${toString:tmp}"/></path>
            <path id="tmp"/>
        </sequential>
    </macrodef>

        <addpath topath="test.classpath">
            <pathelement location="${java.classes}"/>
        </addpath>


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to