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

GEODE-1331: gfsh.bat on Windows is incorrect #149

Closed
wants to merge 2 commits into from
Closed

GEODE-1331: gfsh.bat on Windows is incorrect #149

wants to merge 2 commits into from

Conversation

kjduling
Copy link

  • Renamed internal variable from CLASSPATH to DEPENDENCIES.
  • Verified @SETLOCAL was not altering the System environment variables for the shell.
  • Launch with -classpath param like the bash script does.
  • Ensured command-line arguments match bash script's order of arguments.

* Renamed internal variable from CLASSPATH to DEPENDENCIES.
* Verified @SETLOCAL was not altering the System environment variables for the shell.
* Launch with -classpath param like the bash script does.
* Ensured command-line arguments match bash script's order of arguments.
)
@"%GF_JAVA%" -Dgfsh=true -Dlog4j.configurationFile=classpath:log4j2-cli.xml %JAVA_ARGS% %LAUNCHER% %*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not very good at scripting language at all, but could the problem be fixed by just adding
-classpath %CLASSPATH% in the final command line?

It seems that we don't need to introduce DEPENDENCIES variable.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It certainly could be done that way. I think I defined a new variable to be clear that we prepend to an existing CLASSPATH if there is one. If there isn't, then we only use what we define in the script.

Added some comments to clarify
@asfgit asfgit closed this in 8e21638 Jun 6, 2016
robbadler pushed a commit to smgoller/geode that referenced this pull request Jul 12, 2022
* Convert all references to apache/geode-benchmarks to
  gemfire/gemfire-benchmarks
* Add github and gcp credentials in order to access protected items.
* pass commercial repo credentials via ssh
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.

2 participants