build-java-target-extensions.diff: Allow specifying java target version.
i#93115
This commit is contained in:
committed by
Fridrich Štrba
parent
a6b81f761f
commit
0abe2eea12
@@ -58,7 +58,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -66,7 +66,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist
|
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist
|
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) dist
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -51,7 +51,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -51,7 +51,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -50,7 +50,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -50,7 +50,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -52,7 +52,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
|
|
||||||
|
@@ -50,7 +50,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -50,7 +50,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -50,7 +50,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -50,7 +50,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -50,7 +50,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
|
BUILD_ACTION=$(ANT) -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -60,7 +60,7 @@ JAVA_HOME=
|
|||||||
.EXPORT : JAVA_HOME
|
.EXPORT : JAVA_HOME
|
||||||
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) all
|
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) all
|
||||||
.ELSE
|
.ELSE
|
||||||
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) all
|
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) all
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.ENDIF # $(SOLAR_JAVA)!= ""
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
||||||
|
@@ -49,7 +49,12 @@ ADDITIONAL_FILES = jakarta-servletapi-5/build.xml
|
|||||||
PATCH_FILES=tomcat.patch
|
PATCH_FILES=tomcat.patch
|
||||||
|
|
||||||
BUILD_DIR=jakarta-servletapi-5
|
BUILD_DIR=jakarta-servletapi-5
|
||||||
|
|
||||||
|
.IF "$(JAVACISGCJ)"=="yes"
|
||||||
BUILD_ACTION=$(ANT)
|
BUILD_ACTION=$(ANT)
|
||||||
|
.ELSE
|
||||||
|
BUILD_ACTION=$(ANT) -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER)
|
||||||
|
.ENDIF
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
# --- Targets ------------------------------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user