-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[java-source-utils] Add response file support (#744)
Add support for ["response files"][0] to `java-source-utils.jar`, allowing `java-source-utils.jar` options to be present within a plain- text file, and the file provided as an option: $ cat >response-file <<EOF --help EOF $ java -jar java-source-utils.jar @response-file # equivalent to: java -jar java-source-utils.jar --help In this case, the "scare quotes" is because of limitations when parsing the response file: only one value per line. Blank lines are ignored, as are lines starting with `#`. Thus, a response file with contents: --source /path/to/source/directory is fine, while a response file with the contents: --source /path/to/source/directory will not be parsed properly. [0]: https://docs.microsoft.com/en-us/windows/win32/midl/response-files
- Loading branch information
Showing
2 changed files
with
118 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters