File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,17 @@ Please ensure that you setup and configured the Google Java Format IntelliJ plug
2525On Windows, to fix using the CLI, you can run the following command in the root directory of the project:
2626
2727``` bash
28- find . -name " *.java" -exec /c/Program \ Files/OpenJDK/jdk-21.0.2/bin/java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -jar /c/ Users/{username}/Downloads/google-java-format-1.24.0-all-deps.jar -r -a --skip-reflowing-long-strings --skip-javadoc-formatting " {}" \;
28+ find . -name " *.java" -exec /c/Users/{username}/Downloads/google-java-format_windows-x86-64.exe -r -a --skip-reflowing-long-strings --skip-javadoc-formatting " {}" \;
2929```
3030
31- Note that the ` .exe ` does not produce the same results - thus the following command does not work :
31+ On Linux, it is similar to following call :
3232
3333``` bash
34- find . -name " *.java" -exec /c/Users/{username}/Downloads/google-java-format_windows-x86-64.exe -r -a --skip-reflowing-long-strings --skip-javadoc-formatting " {}" \;
34+ find . -name " *.java" -exec /c/Program \ Files/OpenJDK/jdk-21.0.2/bin/java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -jar /c/ Users/{username}/Downloads/google-java-format-1.24.0-all-deps.jar -r -a --skip-reflowing-long-strings --skip-javadoc-formatting " {}" \;
3535```
3636
37+ Note that the ` .exe ` does not produce the same results - thus the following command does not work:
38+
3739### ` org.jabref.logic.l10n.LocalizationConsistencyTest findMissingLocalizationKeys ` <span style =" color :red " >FAILED</span >
3840
3941You have probably used Strings that are visible on the UI (to the user) but not wrapped them using ` Localization.lang(...) ` and added them to the [ localization properties file] ( https://github.com/JabRef/jabref/blob/main/src/main/resources/l10n/JabRef_en.properties ) .
You can’t perform that action at this time.
0 commit comments