public class RenameSourceFilesForJava11Build extends Object
ManAttr_8.java ManAttr_11.java11If we change a java11 file, we need to temporarily rename the Java 8 version to '*.java8' and rename the java11 version to '*.java', compile with Java 11, copy the corresponding Java 11 .class files to the resource dir, reverse the renaming, and recompile back to Java 8. It's messy, but is infrequent enough to justify the process. Renames java source files:
MyClass_X.javaX -> MyClass_X.java MyClass_Y.java -> MyClass_Y.javaYWhere X and Y are supplied as local variables
javaNum
and {$code textNum}, respectively.Modifier and Type | Class and Description |
---|---|
static class |
RenameSourceFilesForJava11Build._11_will_become_java_files_from_17 |
static class |
RenameSourceFilesForJava11Build._11_will_become_java_files_from_8
IMPORTANT: define env var:
|
static class |
RenameSourceFilesForJava11Build._17_will_become_java_files |
static class |
RenameSourceFilesForJava11Build._8_will_become_java_files |
Constructor and Description |
---|
RenameSourceFilesForJava11Build() |
Copyright © 2024. All rights reserved.