From 52045d8f59076cb98c444ed5c52970af618d100f Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Thu, 28 Oct 2004 11:34:12 +0000
Subject: [PATCH] Some words of warning - always specify -target and -source or
you are lost with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276974 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/CoreTasks/javac.html | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/docs/manual/CoreTasks/javac.html b/docs/manual/CoreTasks/javac.html
index 5f901f7e7..d928ca069 100644
--- a/docs/manual/CoreTasks/javac.html
+++ b/docs/manual/CoreTasks/javac.html
@@ -239,7 +239,7 @@ invoking the compiler.
particular, if you use JDK 1.4+ the generated classes will not be
usable for a 1.1 Java VM unless you explicitly set this attribute
to the value 1.1 (which is the default value for JDK 1.1 to
- 1.3).
+ 1.3). We highly recommend to always specify this attribute.
No |
@@ -316,9 +316,11 @@ invoking the compiler.
running in a 1.3 VM) and jikes
.
If you use this
attribute together with jikes
, you must make sure
that your version of jikes supports the -source
- switch.
Legal values are 1.3
, 1.4
and 1.5
- – by default, no -source
argument will be used
- at all.
+ switch. By default, no -source
argument will be used
+ at all.
+ Note that the default value depends on the JVM that is running
+ Ant. We highly recommend to always specify this
+ attribute.
No |