diff options
author | Ashlee Young <ashlee@onosfw.com> | 2015-10-23 10:05:40 -0700 |
---|---|---|
committer | Ashlee Young <ashlee@onosfw.com> | 2015-10-23 10:05:40 -0700 |
commit | b9421dc80af485591a9c50cc8921f912e0def11e (patch) | |
tree | 93f0935070ca2b2e661f281ac22761879f7cf893 /framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/calltarget.xml | |
parent | 753a6c60f47f3ac4f270005b65e9d6481de8eb68 (diff) |
Removing sources to replace with download links instead.
Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668
Signed-off-by: Ashlee Young <ashlee@onosfw.com>
Diffstat (limited to 'framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/calltarget.xml')
-rw-r--r-- | framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/calltarget.xml | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/calltarget.xml b/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/calltarget.xml deleted file mode 100644 index 4c3af92e..00000000 --- a/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/calltarget.xml +++ /dev/null @@ -1,120 +0,0 @@ -<?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="calltarget-test" default="testinheritreffileset" basedir="."> - - <import file="../buildfiletest-base.xml"/> - - <target name="setUp"> - <mkdir dir="${output}"/> - </target> - - <target name="mytarget"> - <pathconvert property="myproperty" targetos="unix" refid="myfileset"/> - <echo message="myproperty=${myproperty}"/> - </target> - - <target name="testinheritreffileset"> - <!-- this testcase should show that the fileset defined here - can be read in the called target --> - <fileset dir="." id="myfileset"> - <include name="calltarget.xml"/> - </fileset> - <antcall target="mytarget" inheritrefs="true"/> - </target> - - <target name="copytest2"> - <copy file="${output}/copytest.in" toFile="${output}/copytest1.out" overwrite="true"> - <filterset refid="foo"/> - </copy> - </target> - - <target name="testinheritreffilterset" depends="setUp"> - <echo file="${output}/copytest.in">@@foo@@</echo> - <filterset id="foo" begintoken="@@" endtoken="@@"> - <filter token="foo" value="bar"/> - </filterset> - <antcall target="copytest2" inheritrefs="true"/> - <copy file="${output}/copytest.in" toFile="${output}/copytest2.out" overwrite="true"> - <filterset refid="foo"/> - </copy> - <loadfile srcFile="${output}/copytest2.out" property="copytest2"/> - <loadfile srcFile="${output}/copytest1.out" property="copytest1"/> - <condition property="success"> - <equals arg1="${copytest1}" arg2="${copytest2}"/> - </condition> - <fail message="filterset not properly passed across by antcall" unless="success"/> - </target> - - <property name="multi" value="DEFAULT"/> - - <target name="multi"> - <echo>multi is ${multi}</echo> - </target> - - <target name="call-multi"> - <antcall target="multi"> - <param name="multi" value="SET"/> - </antcall> - </target> - - <target name="blank-target"> - <antcall> - <target name=""/> - </antcall> - </target> - - <target name="multiple-targets"> - <antcall> - <target name="ta"/> - <target name="tb"/> - <target name="tc"/> - </antcall> - </target> - - <target name="multiple-targets-2"> - <ant antfile="ant.xml"> - <target name="tb"/> - <target name="da"/> - </ant> - </target> - - <target name="ta"> - <echo>ta</echo> - </target> - - <target name="tb" depends="da,dc"> - <echo>tb</echo> - </target> - - <target name="tc" depends="db,dc"> - <echo>tc</echo> - </target> - - <target name="da"> - <echo>da</echo> - </target> - - <target name="db"> - <echo>db</echo> - </target> - - <target name="dc"> - <echo>dc</echo> - </target> - -</project> |