Hi,

I want to use apply with a different destination directory and target file
name. To this regard could any tell me how to access the targetfile and
source file as property after the following mapping happen

            <mapper type="glob" from="*.aidl" to="*.java"/>

e.g if a.exe takes src and dst file then I would like to have some thing
like this

<apply executable="a.exe">           
            <fileset dir="${android-aidls}">
                <include name="**/*.aidl"/>
            </fileset>
            <mapper type="glob" from="*.aidl" to="*.java"/>
            <arg line="-I${android-aidls}"/>
<srcfile/>
${dest}/${glob.targetfile} etc..
</apply>

I am aware of using <targetfile> to the mapped value however I need to
prefix some other dest directory to the targetfile as this help the exe to
use another directory as dest.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com

-- 
View this message in context: 
http://www.nabble.com/How-to-append-to-target-file-name-in-apply-with-mapper.-tp15585812p15585812.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to