diff options
author | Nicolas Lalevee <hibou@apache.org> | 2011-03-23 23:38:00 +0000 |
---|---|---|
committer | Nicolas Lalevee <hibou@apache.org> | 2011-03-23 23:38:00 +0000 |
commit | 11616a619f29c7b3d532f5922d1dd8a2f5c8a6f9 (patch) | |
tree | a260e970b7f1fc2d06d4267db49e816efa3ec726 /manual/javacprops.html | |
parent | eb330f6be5b095cc6cdaa9a853106e23f60703f4 (diff) | |
download | ant-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.html | 53 |
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><javac></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><javac></code>'s and +<code><javadoc></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><javac></code>'s target +attribute.</p> + + +</body> +</html> + |