summaryrefslogtreecommitdiff
path: root/manual/javacprops.html
diff options
context:
space:
mode:
authorNicolas Lalevee <hibou@apache.org>2011-03-23 23:38:00 +0000
committerNicolas Lalevee <hibou@apache.org>2011-03-23 23:38:00 +0000
commit11616a619f29c7b3d532f5922d1dd8a2f5c8a6f9 (patch)
treea260e970b7f1fc2d06d4267db49e816efa3ec726 /manual/javacprops.html
parenteb330f6be5b095cc6cdaa9a853106e23f60703f4 (diff)
downloadant-11616a619f29c7b3d532f5922d1dd8a2f5c8a6f9.tar.gz
The site is now at https://svn.apache.org/repos/asf/ant/site/ant/sources
Only the manual will be in the distribution git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1084809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'manual/javacprops.html')
-rw-r--r--manual/javacprops.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/manual/javacprops.html b/manual/javacprops.html
new file mode 100644
index 000000000..6cab07c46
--- /dev/null
+++ b/manual/javacprops.html
@@ -0,0 +1,53 @@
+<!--
+ 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.
+-->
+<html>
+
+<head>
+<meta http-equiv="Content-Language" content="en-us">
+<link rel="stylesheet" type="text/css" href="stylesheets/style.css">
+<title>Properties controlling javac</title>
+</head>
+
+<body>
+
+<p>The source and target attributes of <code>&lt;javac&gt;</code>
+don't have any default values for historical reasons. Since the
+underlying javac compiler's default depends on the JDK you use, you
+may encounter build files that don't explicitly set those attributes
+and that will no longer compile using a newer JDK. If you cannot
+change the build file, Apache Ant provides two properties that help you
+setting default values for these attributes. If the attributes have
+been set explicitly, the properties listed here will be ignored.</p>
+
+<h2><a name="source">ant.build.javac.source</a></h2>
+
+<p><em>Since Ant 1.7</em></p>
+
+<p>Provides a default value for <code>&lt;javac&gt;</code>'s and
+<code>&lt;javadoc&gt;</code>'s source attribute.</p>
+
+<h2><a name="target">ant.build.javac.target</a></h2>
+
+<p><em>Since Ant 1.7</em></p>
+
+<p>Provides a default value for <code>&lt;javac&gt;</code>'s target
+attribute.</p>
+
+
+</body>
+</html>
+