Browse Source

looking at the Gump build for java-service-wrapper, -source 1.2 seems to work

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277472 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
6080a1bee5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java View File

@@ -326,8 +326,8 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter {
if (t.equals("1.1") || t.equals("1.2") || t.equals("1.3")
|| t.equals("1.4")) {
String s = t;
if (t.equals("1.1") || t.equals("1.2")) {
// 1.5.0 doesn't support -source 1.1 or -source 1.2
if (t.equals("1.1")) {
// 1.5.0 doesn't support -source 1.1
s = "1.3";
}
attributes.log("", Project.MSG_WARN);


Loading…
Cancel
Save