java/ant/test/org/apidesign/infra/ant/copy.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 03 Apr 2020 16:32:36 +0200
changeset 416 9ed8788a1a4e
parent 268 fb9bf90251e3
permissions -rw-r--r--
Using HTTPS to download the libraries
jtulach@268
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@268
     2
<project name="testing build script" default="all" basedir=".">
jtulach@274
     3
    <taskdef name="grepcopy" classname="org.apidesign.infra.ant.GrepCopy"/>
jtulach@274
     4
    <fail unless="out.dir"/>
jtulach@274
     5
    
jtulach@268
     6
    <target name="all">
jtulach@268
     7
        <grepcopy target="${out.dir}">
jtulach@268
     8
            <fileset dir="${dir1}">
jtulach@268
     9
                <include name="${include1}"/>
jtulach@268
    10
            </fileset>    
jtulach@268
    11
        </grepcopy>
jtulach@268
    12
    </target>
jtulach@268
    13
jtulach@274
    14
    <target name="url">
jtulach@274
    15
        <grepcopy target="${out.dir}" baseurl="${out.url}">
jtulach@274
    16
            <fileset dir="${dir1}">
jtulach@274
    17
                <include name="${include1}"/>
jtulach@274
    18
            </fileset>    
jtulach@274
    19
        </grepcopy>
jtulach@274
    20
    </target>
jtulach@268
    21
</project>