Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix validate.bat java execution bug #764

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Fix validate.bat java execution bug #764

merged 2 commits into from
Nov 17, 2023

Conversation

jordanpadams
Copy link
Member

@jordanpadams jordanpadams commented Nov 17, 2023

🗒️ Summary

Fix bug with placement of quotes in validate.bat when trying to run java via command-line. Not sure why this breaks in the environment we have setup, and it has not been noticed by other users, but this should work for others as well.

C:\Users\jpadams\Downloads\validate-3.3.1-bin\validate-3.3.1\bin>validate.bat --help
usage: validate <target> <options>
    --add-context-products <dir/files>   Explicitly specify a JSON file (or
                                         directory of files) containing
                                         additional context product information
                                         used for validation. WARNING: This
                                         should only be used for development
                                         purposes. All context products must be
                                         registered for validity of a product in
                                         an archive.
    --allow-unlabeled-files              Tells the tool to not check for
                                         unlabeled files in a bundle or
                                         collection.
    --alternate_file_paths <path>        This flag will allow for additional
                                         paths to be specified when attempting
                                         referential integrity validation
                                         (pds4.bundle or pds4.collection rules).
                                         FOR DEVELOPMENT PURPOSES ONLY
 -B,--base-path <path>                   Specify a path for the tool to use in
...

@jordanpadams jordanpadams requested a review from a team as a code owner November 17, 2023 21:02
@jordanpadams jordanpadams changed the title Fix validate.bat bug Fix validate.bat java execution bug Nov 17, 2023
@jordanpadams jordanpadams merged commit 964b9a6 into main Nov 17, 2023
2 checks passed
@jordanpadams jordanpadams deleted the i763 branch November 17, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant