1 | <!--
|
---|
2 | Licensed to the Apache Software Foundation (ASF) under one or more
|
---|
3 | contributor license agreements. See the NOTICE file distributed with
|
---|
4 | this work for additional information regarding copyright ownership.
|
---|
5 | The ASF licenses this file to You under the Apache License, Version 2.0
|
---|
6 | (the "License"); you may not use this file except in compliance with
|
---|
7 | the License. You may obtain a copy of the License at
|
---|
8 |
|
---|
9 | http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 |
|
---|
11 | Unless required by applicable law or agreed to in writing, software
|
---|
12 | distributed under the License is distributed on an "AS IS" BASIS,
|
---|
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
14 | See the License for the specific language governing permissions and
|
---|
15 | limitations under the License.
|
---|
16 | -->
|
---|
17 | <html>
|
---|
18 |
|
---|
19 | <head>
|
---|
20 | <meta http-equiv="Content-Language" content="en-us">
|
---|
21 | <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
|
---|
22 | <title>build.sysclasspath</title>
|
---|
23 | </head>
|
---|
24 |
|
---|
25 | <body>
|
---|
26 |
|
---|
27 | <h2><a name="sysclasspath">build.sysclasspath</a></h2>
|
---|
28 | <p>The value of the build.sysclasspath property
|
---|
29 | control how the system classpath, ie. the classpath in effect when
|
---|
30 | Ant is run, affects the behaviour of classpaths in Ant.
|
---|
31 | The default behavior varies from Ant to Ant task.</p>
|
---|
32 |
|
---|
33 | The values and their meanings are:
|
---|
34 |
|
---|
35 | <table border="1" cellpadding="2" cellspacing="0">
|
---|
36 | <tr>
|
---|
37 | <td align="left" valign="top">only</td>
|
---|
38 | <td>Only the system classpath is used and classpaths specified in build files,
|
---|
39 | etc are ignored. This situation could be considered as the person running
|
---|
40 | the build file knows more about the environment than the person writing the
|
---|
41 | build file
|
---|
42 | </td>
|
---|
43 | </tr>
|
---|
44 |
|
---|
45 | <tr>
|
---|
46 | <td align="left" valign="top">ignore</td>
|
---|
47 | <td>
|
---|
48 | The system classpath is ignored. This situation is the reverse of the
|
---|
49 | above. The person running the build trusts the build file writer to get the
|
---|
50 | build file right
|
---|
51 | </td>
|
---|
52 | </tr>
|
---|
53 |
|
---|
54 | <tr>
|
---|
55 | <td align="left" valign="top">last</td>
|
---|
56 | <td>
|
---|
57 | The classpath is concatenated to any specified classpaths at the end. This
|
---|
58 | is a compromise, where the build file writer has priority.
|
---|
59 | </td>
|
---|
60 | </tr>
|
---|
61 |
|
---|
62 | <tr>
|
---|
63 | <td align="left" valign="top">first</td>
|
---|
64 | <td>
|
---|
65 | Any specified classpaths are concatenated to the system classpath. This is
|
---|
66 | the other form of compromise where the build runner has priority.
|
---|
67 | </td>
|
---|
68 | </tr>
|
---|
69 | </table>
|
---|
70 |
|
---|
71 | <p><em>Since Ant 1.7</em> the value of this property also affects the
|
---|
72 | bootclasspath settings--it combines the bootclasspath that has been
|
---|
73 | specified for a task with the bootclasspath of the Java VM running
|
---|
74 | Ant. If the property has not been set, it defaults to "ignore" in
|
---|
75 | this case.</p>
|
---|
76 |
|
---|
77 |
|
---|
78 | </body>
|
---|
79 | </html>
|
---|
80 |
|
---|