~ubuntu-branches/ubuntu/utopic/ant/utopic

« back to all changes in this revision

Viewing changes to src/etc/testcases/taskdefs/dynamictask.xml

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-05-15 16:19:56 UTC
  • mfrom: (1.3.3) (5.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130515161956-vd4ht4u68rok767b
Tags: 1.9.1-1
* New upstream release
  - Refreshed the patches
  - Removed patch 0001-detect-classpath-based-JVM (merged upstream)
* Enabled hardening for the -gcj packages
* Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<!--
3
 
  Licensed to the Apache Software Foundation (ASF) under one or more
4
 
  contributor license agreements.  See the NOTICE file distributed with
5
 
  this work for additional information regarding copyright ownership.
6
 
  The ASF licenses this file to You under the Apache License, Version 2.0
7
 
  (the "License"); you may not use this file except in compliance with
8
 
  the License.  You may obtain a copy of the License at
9
 
 
10
 
      http://www.apache.org/licenses/LICENSE-2.0
11
 
 
12
 
  Unless required by applicable law or agreed to in writing, software
13
 
  distributed under the License is distributed on an "AS IS" BASIS,
14
 
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 
  See the License for the specific language governing permissions and
16
 
  limitations under the License.
17
 
-->
18
 
 
19
 
<project name="dynamic-test" default="simple">
20
 
 
21
 
  <path id="testclasses">
22
 
    <pathelement location="../../../../build/testcases" />
23
 
    <pathelement path="${java.class.path}" />
24
 
  </path>
25
 
 
26
 
  <target name="simple">
27
 
    <taskdef name="dyna"
28
 
             classname="org.apache.tools.ant.taskdefs.DynamicTask">
29
 
      <classpath refid="testclasses" />
30
 
    </taskdef>
31
 
    <dyna prop1="1" prop2="2">
32
 
      <sub prop3="3"/>
33
 
      <anything prop4="4"/>
34
 
    </dyna>
35
 
  </target>
36
 
 
37
 
</project>
 
1
<?xml version="1.0"?>
 
2
<!--
 
3
  Licensed to the Apache Software Foundation (ASF) under one or more
 
4
  contributor license agreements.  See the NOTICE file distributed with
 
5
  this work for additional information regarding copyright ownership.
 
6
  The ASF licenses this file to You under the Apache License, Version 2.0
 
7
  (the "License"); you may not use this file except in compliance with
 
8
  the License.  You may obtain a copy of the License at
 
9
 
 
10
      http://www.apache.org/licenses/LICENSE-2.0
 
11
 
 
12
  Unless required by applicable law or agreed to in writing, software
 
13
  distributed under the License is distributed on an "AS IS" BASIS,
 
14
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
15
  See the License for the specific language governing permissions and
 
16
  limitations under the License.
 
17
-->
 
18
 
 
19
<project name="dynamic-test" default="simple">
 
20
 
 
21
  <path id="testclasses">
 
22
    <pathelement location="../../../../build/testcases" />
 
23
    <pathelement path="${java.class.path}" />
 
24
  </path>
 
25
 
 
26
  <target name="simple">
 
27
    <taskdef name="dyna"
 
28
             classname="org.apache.tools.ant.taskdefs.DynamicTask">
 
29
      <classpath refid="testclasses" />
 
30
    </taskdef>
 
31
    <dyna prop1="1" prop2="2">
 
32
      <sub prop3="3"/>
 
33
      <anything prop4="4"/>
 
34
    </dyna>
 
35
  </target>
 
36
 
 
37
</project>