aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/taskdefs/optional/sos/sos.xml
blob: 982b47ca97981db3cd114072ce7f4f6c3cc02160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?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="sos-test" basedir="." default="sosget.1">

    <!--
    ===========================================================================
     Test SOSGet missing attributes
    ===========================================================================
    -->
    <target name="sosget.1">
        <sosget/>
    </target>

    <target name="sosget.2">
        <sosget sosserverpath="192.168.0.1:8888"/>
    </target>

    <target name="sosget.3">
        <sosget sosserverpath="192.168.0.1:8888"
            username="ant"/>
    </target>

    <target name="sosget.4">
        <sosget sosserverpath="192.168.0.1:8888"
            username="ant"
            vssserverpath="\\server\vss\srcsafe.ini"/>
    </target>

    <!--
    ===========================================================================
     Test SOSCheckin missing attributes
    ===========================================================================
    -->
    <target name="soscheckin.1">
        <soscheckin/>
    </target>

    <target name="soscheckin.2">
        <soscheckin sosserverpath="192.168.0.1:8888"/>
    </target>

    <target name="soscheckin.3">
        <soscheckin sosserverpath="192.168.0.1:8888"
            username="ant"/>
    </target>

    <target name="soscheckin.4">
        <soscheckin sosserverpath="192.168.0.1:8888"
            username="ant"
            vssserverpath="\\server\vss\srcsafe.ini"/>
    </target>

    <!--
    ===========================================================================
     Test SOSCheckout missing attributes
    ===========================================================================
    -->
    <target name="soscheckout.1">
        <soscheckout/>
    </target>

    <target name="soscheckout.2">
        <soscheckout sosserverpath="192.168.0.1:8888"/>
    </target>

    <target name="soscheckout.3">
        <soscheckout sosserverpath="192.168.0.1:8888"
            username="ant"/>
    </target>

    <target name="soscheckout.4">
        <soscheckout sosserverpath="192.168.0.1:8888"
            username="ant"
            vssserverpath="\\server\vss\srcsafe.ini"/>
    </target>

    <!--
    ===========================================================================
     Test SOSLabel missing attributes
    ===========================================================================
    -->
    <target name="soslabel.1">
        <soslabel/>
    </target>

    <target name="soslabel.2">
        <soslabel sosserverpath="192.168.0.1:8888"/>
    </target>

    <target name="soslabel.3">
        <soslabel sosserverpath="192.168.0.1:8888"
            username="ant"/>
    </target>

    <target name="soslabel.4">
        <soslabel sosserverpath="192.168.0.1:8888"
            username="ant"
            vssserverpath="\\server\vss\srcsafe.ini"/>
    </target>

    <target name="soslabel.5">
        <soslabel sosserverpath="192.168.0.1:8888"
            username="ant"
            vssserverpath="\\server\vss\srcsafe.ini"
            projectpath="$/SourceRoot/Project"/>
    </target>

</project>