Github user kjduling commented on a diff in the pull request:

    https://github.com/apache/incubator-geode/pull/149#discussion_r65782155
  
    --- Diff: geode-assembly/src/main/dist/bin/gfsh.bat ---
    @@ -74,14 +70,14 @@ REM )
     REM  Consider java is from JDK
     @set TOOLS_JAR=%JAVA_HOME%\lib\tools.jar
     @IF EXIST "%TOOLS_JAR%" (
    -    @set CLASSPATH=%CLASSPATH%;%TOOLS_JAR%
    +    @set DEPENDENCIES=%DEPENDENCIES%;%TOOLS_JAR%
     ) ELSE (
         set TOOLS_JAR=
     )
     
     @set LAUNCHER=com.gemstone.gemfire.management.internal.cli.Launcher
     @if defined JAVA_ARGS (
    -@set JAVA_ARGS="%JAVA_ARGS%"
    +    @set JAVA_ARGS="%JAVA_ARGS%"
     )
    -@"%GF_JAVA%" -Dgfsh=true 
-Dlog4j.configurationFile=classpath:log4j2-cli.xml %JAVA_ARGS% %LAUNCHER% %*
    --- End diff --
    
    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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to