mirror of https://github.com/apache/ant-ivy
58 lines
2.7 KiB
HTML
58 lines
2.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<!--
|
|
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.
|
|
-->
|
|
<html>
|
|
<head>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
|
<script type="text/javascript">var xookiConfig = {level: 1};</script>
|
|
<script type="text/javascript" src="../xooki/xooki.js"></script>
|
|
</head>
|
|
<body>
|
|
<textarea id="xooki-source">
|
|
Sets a variable (by name and value), or set of variables (from file or url) in ivy. <br/>
|
|
Variables are case sensitive.<br/><br/>
|
|
Contrary to ant properties, ivy variables are mutable. But a problem with this is that you do not control when
|
|
variables are substituted, and usually it is done as soon as possible. So changing the value of a variable will
|
|
have no effect if it has already been substituted. Consequently, <b>using this task is NOT recommended</b>.
|
|
See <a href="../reference.html">reference</a> page for details about ivy variables.
|
|
<br/><br/>
|
|
|
|
<table class="ant">
|
|
<thead>
|
|
<tr><th class="ant-att">Attribute</th><th class="ant-desc">Description</th><th class="ant-req">Required</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>name</td><td>the name of the variable to set</td>
|
|
<td>No</td></tr>
|
|
<tr><td>value</td><td>the value of the variable to set</td>
|
|
<td>Yes when using the name attribute</td></tr>
|
|
<tr><td>file</td><td>the filename of the property file to load as ivy variables</td>
|
|
<td rowspan="2">One of these, when <b>not</b> using the name attribute</td></tr>
|
|
<tr><td>url</td><td>the url from which to read ivy variables</td></tr>
|
|
<tr><td>prefix</td><td>Prefix to apply to variables. A "." is appended to the prefix if not specified.</td>
|
|
<td>No</td></tr>
|
|
<tr><td>settingsRef</td><td>A reference to the ivy settings that must be used by this task <span class="since">(since 2.0)</span></td><td>No, 'ivy.instance' is taken by default.</td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</textarea>
|
|
<script type="text/javascript">xooki.postProcess();</script>
|
|
</body>
|
|
</html>
|