Class BackportEnglish
- java.lang.Object
-
- org.apache.tomcat.buildutil.translate.BackportBase
-
- org.apache.tomcat.buildutil.translate.BackportEnglish
-
public class BackportEnglish extends BackportBase
Generates a set of English property files to back-port updates to a previous version. Where a key exists in the source and target versions the value is copied from the source to the target, overwriting the value in the target, except for a small number of keys that are known to be different between versions. The expectation is that the changes will be manually reviewed before committing them.
-
-
Field Summary
-
Fields inherited from class org.apache.tomcat.buildutil.translate.BackportBase
sourceEnglish, sourceTranslations, storageDir, targetEnglish, targetRoot, targetTranslations
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBackportEnglish(java.lang.String[] args)Constructs a BackportEnglish instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute()Executes the back-port operation.static voidmain(java.lang.String... args)Entry point for the English back-port tool.
-
-
-
Method Detail
-
main
public static void main(java.lang.String... args) throws java.io.IOExceptionEntry point for the English back-port tool.- Parameters:
args- command line arguments; a single argument specifying the target directory- Throws:
java.io.IOException- if an I/O error occurs
-
execute
protected void execute() throws java.io.IOExceptionDescription copied from class:BackportBaseExecutes the back-port operation.- Specified by:
executein classBackportBase- Throws:
java.io.IOException- if an I/O error occurs
-
-