| <?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> |
| <property name="testclasses" location="../../../../../../build/testcases"/> |
| |
| <path id="all-test-classes.id"> |
| <pathelement location="../../../../build/testcases" /> |
| <pathelement path="${java.class.path}" /> |
| </path> |
| |
| <path id="example-classes.id"> |
| <pathelement location="${testclasses}/org/apache/tools/ant/util/facade" /> |
| </path> |
| |
| <path id="test-classes.id"> |
| <pathelement location="${testclasses}" /> |
| </path> |
| |
| <target name="simple"> |
| <jdepend> |
| <classespath refid="example-classes.id"/> |
| </jdepend> |
| </target> |
| |
| <target name="xml"> |
| <jdepend format="xml"> |
| <classespath refid="example-classes.id"/> |
| </jdepend> |
| </target> |
| |
| <target name="fork"> |
| <jdepend fork="yes" includeruntime="yes"> |
| <classespath refid="example-classes.id"/> |
| </jdepend> |
| </target> |
| |
| <target name="fork-xml"> |
| <jdepend fork="yes" format="xml" includeruntime="yes"> |
| <classespath refid="example-classes.id"/> |
| </jdepend> |
| </target> |
| |
| <target name="fork-timeout"> |
| <jdepend fork="yes" timeout="10" includeruntime="yes"> |
| <classespath refid="test-classes.id"/> |
| </jdepend> |
| </target> |
| |
| <target name="fork-timeout-not"> |
| <jdepend fork="yes" timeout="100000" includeruntime="yes"> |
| <classespath refid="example-classes.id"/> |
| </jdepend> |
| </target> |
| |
| </project> |