2006-09-11 04:19:00 +00:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
2001-03-03 13:10:45 +00:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Language" content="en-us">
|
2005-04-29 18:58:16 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="stylesheets/style.css">
|
2002-02-04 20:57:49 +00:00
|
|
|
<title>build.sysclasspath</title>
|
2001-03-03 13:10:45 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2018-02-08 22:52:33 +01:00
|
|
|
<h2 id="sysclasspath">build.sysclasspath</h2>
|
2018-02-28 07:58:59 +01:00
|
|
|
<p>The value of the <code>build.sysclasspath</code> property
|
2009-06-29 22:42:40 +00:00
|
|
|
controls how the system classpath, i.e. the classpath in effect when
|
2010-11-11 17:04:16 +00:00
|
|
|
Apache Ant is run, affects the behavior of classpaths in Ant.
|
2009-06-29 22:42:40 +00:00
|
|
|
The default behavior varies from task to task.</p>
|
2001-03-03 13:10:45 +00:00
|
|
|
|
|
|
|
The values and their meanings are:
|
|
|
|
|
2018-02-08 22:52:33 +01:00
|
|
|
<table>
|
2018-05-15 10:29:27 +02:00
|
|
|
<tr><th scope="col">value</th><th scope="col">meaning</th></tr>
|
2001-03-03 13:10:45 +00:00
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>only</td>
|
2001-03-03 13:10:45 +00:00
|
|
|
<td>Only the system classpath is used and classpaths specified in build files,
|
|
|
|
etc are ignored. This situation could be considered as the person running
|
|
|
|
the build file knows more about the environment than the person writing the
|
2009-06-29 22:42:40 +00:00
|
|
|
build file.
|
2001-03-03 13:10:45 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>ignore</td>
|
2001-03-03 13:10:45 +00:00
|
|
|
<td>
|
|
|
|
The system classpath is ignored. This situation is the reverse of the
|
|
|
|
above. The person running the build trusts the build file writer to get the
|
2009-06-29 22:42:40 +00:00
|
|
|
build file right. This mode is recommended for portable scripts.
|
2001-03-03 13:10:45 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>last</td>
|
2001-03-03 13:10:45 +00:00
|
|
|
<td>
|
|
|
|
The classpath is concatenated to any specified classpaths at the end. This
|
|
|
|
is a compromise, where the build file writer has priority.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>first</td>
|
2001-03-03 13:10:45 +00:00
|
|
|
<td>
|
|
|
|
Any specified classpaths are concatenated to the system classpath. This is
|
|
|
|
the other form of compromise where the build runner has priority.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
2005-01-14 09:45:54 +00:00
|
|
|
<p><em>Since Ant 1.7</em> the value of this property also affects the
|
2018-02-28 07:58:59 +01:00
|
|
|
bootclasspath settings—it combines the bootclasspath that has been
|
|
|
|
specified for a task with the bootclasspath of the JVM running
|
|
|
|
Ant. If the property has not been set, it defaults to <q>ignore</q> in
|
2005-01-14 09:45:54 +00:00
|
|
|
this case.</p>
|
|
|
|
|
2001-03-03 13:10:45 +00:00
|
|
|
</body>
|
|
|
|
</html>
|