-nice number A niceness value for the main thread:
1 (lowest) to 10 (highest); 5 is the default
-nouserlib Run ant without using the jar files from ${user.home}/.ant/lib
-noclasspath Run ant without using CLASSPATH
</pre>
<p>For more information about <code>-logger</code> and
<code>-listener</code> see
@@ -122,26 +124,29 @@ default directories scanned are ANT_HOME/lib and a user specific directory,
${user.home}/.ant/lib. This arrangement allows the Ant installation to be
shared by many users while still allowing each user to deploy additional jars.
Such additional jars could be support jars for Ant's optional tasks or jars
containing third-party tasks to be used in the build. It also allows the main Ant
installation to be locked down which will please system adminstrators.
containing third-party tasks to be used in the build. It also allows the main Ant installation to be locked down which will please system adminstrators.
</p>
<p>
Additional directories to be searched may be added by using the -lib option.
The -lib option specifies a search path. Any jars or classes in the directories
of the path will be added to Ant's classloader. The order in which jars are
added to the classpath is as follows
added to the classpath is as follows:-
</p>
<ul>
<li>-lib jars in the order specified by the -lib elements on the command line</li>
<li>jars from ${user.home}/.ant/lib</li>
<li>jars from ${user.home}/.ant/lib (unless -nouserlib is set)</li>
<li>jars from ANT_HOME/lib</li>
</ul>
<p>
Note that the CLASSPATH environment variable is passed to Ant using a -lib
option. Ant itself is started with a very minimalistic classpath.
option. Ant itself is started with a very minimalistic classpath.
Ant should work perfectly well with an empty CLASSPATH environment variable,
something the the -noclasspath option actually enforces. We get many more support calls related to classpath problems (especially quoting problems), than
we like.
</p>
<p>
@@ -213,14 +218,14 @@ set):</p>
</ul>
<h3><a name="sysprops">Java System Properties</a></h3>
<p>Some of Ants core classes ant tasks can be configured via system properties.</p>
<p>So here the result of a search through the codebase. Because system properties are
<p>Some of Ant's core classes ant tasks can be configured via system properties.</p>
<p>Here is the result of a search through the codebase. Because system properties are
available via Project instance, I searched for them with a
<pre>
grep -r -n "getPropert" * > ..\grep.txt
</pre>
command. After that I filtered out the often-used but not-so-important values (most of them
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.