|
Ant example source code file (filelist.xml)
The filelist.xml source code<project name="test"> <target name="simple"> <filelist id="filelist" dir="${basedir}" files="a"/> <pathconvert targetos="unix" refid="filelist" property="property"> <map from="${basedir}" to="/abc"/> </pathconvert> <echo>${property} </target> <target name="double"> <filelist id="filelist" dir="${basedir}" files="a b"/> <pathconvert targetos="unix" refid="filelist" property="property"> <map from="${basedir}" to="/abc"/> </pathconvert> <echo>${property} </target> <target name="nested"> <filelist id="filelist" dir="${basedir}"> <file name="a"/> <file name="b"/> </filelist> <pathconvert targetos="unix" refid="filelist" property="property"> <map from="${basedir}" to="/abc"/> </pathconvert> <echo>${property} </target> </project> Other Ant examples (source code examples)Here is a short list of links related to this Ant filelist.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.