|
Ant example source code file (makeurl.xml)
The makeurl.xml source code<?xml version="1.0"?> <project name="to-url" > <target name="testEmpty"> <makeurl/> </target> <target name="testNoProperty"> <makeurl file="foo"/> </target> <target name="testNoFile"> <makeurl property="foo"/> </target> <target name="testWorks"> <makeurl property="testWorks" file="foo" validate="false"/> <fail unless="testWorks" /> </target> <target name="testIllegalChars"> <makeurl property="testIllegalChars" file="fo o%" validate="false"/> </target> <target name="testRoundTrip"> <makeurl property="testRoundTrip" file="${ant.file}"/> </target> <target name="testIllegalCombinations"> <makeurl property="testIllegalCombinations" file="foo" validate="false"> <fileset dir="." includes="*.xml" /> </makeurl> </target> <target name="testFileset"> <makeurl property="testFileset"> <fileset dir="." includes="*.xml" /> </makeurl> </target> <target name="testFilesetSeparator"> <makeurl property="testFilesetSeparator" separator='","'> <fileset dir="." includes="*.xml" /> </makeurl> </target> <target name="testValidation"> <makeurl property="testValidation" file="absent" validate="true"/> </target> <target name="testPath"> <path id="test.path"> <pathelement location="." /> <fileset dir="." includes="*.xml"/> </path> <makeurl property="testPath"> <path refid="test.path" /> </makeurl> </target> </project> Other Ant examples (source code examples)Here is a short list of links related to this Ant makeurl.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.