source: other-projects/trunk/realistic-books/packages/AntInstaller/web/manual1.7.0/manual/javacprops.html@ 19253

Last change on this file since 19253 was 19253, checked in by davidb, 15 years ago

Establishing a source code repository for Veronica's Realistic Book's software

File size: 1.9 KB
Line 
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>Properties controlling javac</title>
23</head>
24
25<body>
26
27<p>The source and target attributes of <code>&lt;javac&gt;</code>
28don't have any default values for historical reasons. Since the
29underlying javac compiler's default depends on the JDK you use, you
30may encounter build files that don't explicitly set those attributes
31and that will no longer compile using a newer JDK. If you cannot
32change the build file, Ant provides two properties that help you
33setting default values for these attributes. If the attributes have
34been set explicitly, the properties listed here will be ignored.</p>
35
36<h2><a name="source">ant.build.javac.source</a></h2>
37
38<p><em>Since Ant 1.7</em></p>
39
40<p>Provides a default value for <code>&lt;javac&gt;</code>'s and
41<code>&lt;javadoc&gt;</code>'s source attribute.</p>
42
43<h2><a name="target">ant.build.javac.target</a></h2>
44
45<p><em>Since Ant 1.7</em></p>
46
47<p>Provides a default value for <code>&lt;javac&gt;</code>'s target
48attribute.</p>
49
50
51</body>
52</html>
53
Note: See TracBrowser for help on using the repository browser.