ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/admin/antsyntax.htm

85 lines
4.2 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Syntax and parameters</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="antsyntax"></a>Syntax and parameters</h4>
<p>For more information about running ANT commands, see the <a href="http://jakarta.apache.org/ant/manual/index.html" target="_blank">Apache ANT User Manual</a>. <img src="www.gif" width="19" height="15" alt="Link outside Information Center" border="0"></p>
<p><strong>Authority</strong></p>
<p>To run this script your user profile must have *ALLOBJ authority.</p>
<p><strong>Syntax</strong></p>
<p>The syntax of the ws_ant script is:</p>
<pre>ws_ant [ <em>target</em> ] [ -instance <em>instance</em> ] [-find <em>file</em>]
[-buildfile <em>buildfile</em>] [-listener <em>listenerclass</em>]
[-logger <em>loggerclass</em>] [-logfile <em>logfile</em>] [-emacs] [-debug]
[-verbose] [-quiet] [-version] [-projecthelp] [-help]</pre>
<strong>Parameters</strong>
<p>The parameters of the ws_ant script are:</p>
<ul>
<li><p><strong><em>target</em></strong><br>
This is an optional parameter. The value <em>target</em> specifies the name of the target to execute in the buildfile. If this parameter is not specified, the script calls the default target of your buildfile.</p></li>
<li><p><strong>-instance</strong><br>
This is an optional parameter. The value <em>instance</em> specifies the name of your instance. The default value is <tt>default</tt>.</p></li>
<li><p><strong>-find</strong><br>
This is an optional parameter. The value <em>file</em> specifies to search towards the root of the file system for the buildfile to be used. For example, if you run the ws_ant command from /QIBM/ProdData/WebASE51/ASE/bin and specify -find myfile.xml, the script searches the file system in this order:</p>
<ol>
<li>/QIBM/ProdData/WebASE51/ASE/bin/myfile.xml</li>
<li>/QIBM/ProdData/WebASE51/ASE/myfile.xml</li>
<li>/QIBM/ProdData/WebASE51/myfile.xml</li>
<li>/QIBM/ProdData/myfile.xml</li>
<li>/QIBM/myfile.xml</li>
<li>/myfile.xml</li>
</ol><p></p></li>
<li><p><strong>-buildfile</strong><br>
This is an optional parameter. The value <em>buildfile</em> specifies the fully qualified name of the buildfile that contains the target definition. The default value is build.xml.</p></li>
<li><p><strong>-listener</strong><br>
This is an optional parameter. The value <em>listenerclass</em> specifies a class name to be added as a project listener.</p></li>
<li><p><strong>-logger</strong><br>
This is an optional parameter. The value <em>loggerclass</em> specifies a class name to be used for logging.</p></li>
<li><p><strong>-logfile</strong><br>
This is an optional parameter. The value <em>logfile</em> specifies the name of the file that to which the script writes logging information.</p></li>
<li><p><strong>-emacs</strong><br>
This is an optional parameter. By default, ANT adds the name of the current task to the beginning of all logging messages. If you specify the -emacs parameter, the script does not add the name of the task to the messages.</p></li>
<li><p><strong>-debug</strong><br>
This is an optional parameter. If you specify this parameter, the script displays debugging information.</p></li>
<li><p><strong>-verbose</strong><br>
This optional parameter turns on verbose messages, which can be helpful if you need to debug the script.</p></li>
<li><p><strong>-quiet</strong><br>
This is an optional parameter. If you specify this parameter, the script does not display any progress messages.</p></li>
<li><p><strong>-version</strong><br>
This is an optional parameter. If you specify -version, the script displays version information.</p></li>
<li><p><strong>-projecthelp</strong><br>
This optional parameter displays the project help message.</p></li>
<li><p><strong>-help</strong><br>
This optional parameter displays the syntax help message.</p></li>
</ul>
</body>
</html>