53 <if> |
54 <if> |
54 <not> |
55 <not> |
55 <equals arg1="${unix.password.available}" arg2="0"/> |
56 <equals arg1="${unix.password.available}" arg2="0"/> |
56 </not> |
57 </not> |
57 <then> |
58 <then> |
|
59 <!-- Unix username. |
|
60 @type string |
|
61 @scope private |
|
62 --> |
58 <property name="unix.username" value="${env.USERNAME}"/> |
63 <property name="unix.username" value="${env.USERNAME}"/> |
59 <antform title="User login information"> |
64 <antform title="User login information"> |
60 <textProperty label="UNIX login:" property="unix.username"/> |
65 <textProperty label="UNIX login:" property="unix.username"/> |
61 <textProperty label="UNIX password:" property="unix.password" password="true"/> |
66 <textProperty label="UNIX password:" property="unix.password" password="true"/> |
62 </antform> |
67 </antform> |
|
68 <!-- Equal 0 if the unix password if available |
|
69 @type string |
|
70 @scope private |
|
71 --> |
63 <property name="unix.password.available" value="1"/> |
72 <property name="unix.password.available" value="1"/> |
64 </then> |
73 </then> |
65 </if> |
74 </if> |
66 <hlm:filterRecordStopMacro/> |
75 <hlm:filterRecordStopMacro/> |
67 </target> |
76 </target> |
133 <then> |
142 <then> |
134 <echo>Error: Unable to read synergy username and password from .netrc file.</echo> |
143 <echo>Error: Unable to read synergy username and password from .netrc file.</echo> |
135 <property name="skip.password.validation" value="true"/> |
144 <property name="skip.password.validation" value="true"/> |
136 </then> |
145 </then> |
137 <else> |
146 <else> |
|
147 <!-- Contains the user name for CCM by reading the information from .netrc file. |
|
148 @type string |
|
149 @scope private |
|
150 --> |
138 <property name="ccm.user.login" value="${env.USERNAME}"/> |
151 <property name="ccm.user.login" value="${env.USERNAME}"/> |
139 <antform title="Synergy login information"> |
152 <antform title="Synergy login information"> |
140 <label>Unable to read synergy username and password from h:\.netrc file.</label> |
153 <label>Unable to read synergy username and password from h:\.netrc file.</label> |
141 <textProperty label="ccm login:" property="ccm.user.login"/> |
154 <textProperty label="ccm login:" property="ccm.user.login"/> |
142 <textProperty label="ccm password:" property="ccm.user.password" password="true"/> |
155 <textProperty label="ccm password:" property="ccm.user.password" password="true"/> |
143 </antform> |
156 </antform> |
144 <property name="ccm.password.available" value="1"/> |
157 <property name="ccm.password.available" value="1"/> |
|
158 <!-- Unix username. |
|
159 @type string |
|
160 @scope private |
|
161 --> |
145 <property name="unix.username" value="${env.USERNAME}"/> |
162 <property name="unix.username" value="${env.USERNAME}"/> |
|
163 <!-- Unix password |
|
164 @type string |
|
165 @scope private |
|
166 --> |
146 <property name="unix.password" value="${ccm.user.password}"/> |
167 <property name="unix.password" value="${ccm.user.password}"/> |
|
168 <!-- Equal 0 if the unix password if available |
|
169 @type string |
|
170 @scope private |
|
171 --> |
147 <property name="unix.password.available" value="1"/> |
172 <property name="unix.password.available" value="1"/> |
148 </else> |
173 </else> |
149 </if> |
174 </if> |
150 </then> |
175 </then> |
151 <else> |
176 <else> |
|
177 <!-- Contains the user name for CCM by reading the information from .netrc file. |
|
178 @type string |
|
179 @scope private |
|
180 --> |
152 <property name="ccm.user.login" value="${ccm.login.rc}"/> |
181 <property name="ccm.user.login" value="${ccm.login.rc}"/> |
|
182 <!-- Contains the password for CCM user name by reading the information from .netrc file. |
|
183 @type string |
|
184 @scope private |
|
185 --> |
153 <property name="ccm.user.password" value="${ccm.password.rc}"/> |
186 <property name="ccm.user.password" value="${ccm.password.rc}"/> |
154 </else> |
187 </else> |
155 </if> |
188 </if> |
156 <antcall target="ccm-check"/> |
189 <antcall target="ccm-check"/> |
157 <hlm:filterRecordStopMacro/> |
190 <hlm:filterRecordStopMacro/> |