| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project name="directoryscanner-test" basedir="."> |
| |
| <property name="tmp.dir" location="tmp"/> |
| |
| <target name="setup"> |
| <mkdir dir="${tmp.dir}/alpha/beta/gamma"/> |
| <touch file="${tmp.dir}/alpha/beta/gamma/gamma.xml"/> |
| <touch file="${tmp.dir}/alpha/beta/beta.xml"/> |
| </target> |
| |
| <target name="extended-setup" depends="setup"> |
| <mkdir dir="${tmp.dir}/delta"/> |
| <touch file="${tmp.dir}/delta/delta.xml"/> |
| </target> |
| |
| <target name="children-of-excluded-dir-setup" depends="extended-setup" /> |
| |
| <target name="cleanup"> |
| <delete dir="${tmp.dir}" quiet="true"/> |
| </target> |
| |
| <target name="symlink-setup" depends="setup"> |
| <mkdir dir="${tmp.dir}/epsilon/gamma"/> |
| <delete dir="${tmp.dir}/alpha/beta"/> |
| <symlink link="${tmp.dir}/alpha/beta" resource="${tmp.dir}/epsilon"/> |
| <touch file="${tmp.dir}/alpha/beta/gamma/gamma.xml"/> |
| </target> |
| |
| </project> |