|
Ant example source code file (dynamicfilter.xml)
The dynamicfilter.xml source code<?xml version="1.0"?> <project default="cleanup" basedir="."> <target name="init"> <mkdir dir="result" /> </target> <target name="cleanup"> <delete dir="result"/> </target> <target name="dynamicfilter"> <path id="test-classes"> <pathelement location="../../../../build/testcases" /> <pathelement path="${java.class.path}" /> </path> <typedef name="customfilter" classname="org.apache.tools.ant.filters.DynamicFilterTest$CustomFilter"> <classpath refid="test-classes"/> </typedef> <concat destfile="result/input"> hello world </concat> <copy file="result/input" tofile="result/dynamicfilter"> <filterchain> <customfilter replace="o" with="O"/> </filterchain> </copy> </target> </project> Other Ant examples (source code examples)Here is a short list of links related to this Ant dynamicfilter.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.