阅读更多
////////////begin///////////
@REM define jar source set
set QSNODE_JAR_SET=%QSNODE_COMM%\*.jar,%APPLICATION_LIB%\*.jar,%QSNODE_LIB%\*.jar
echo Begin to append needed jar file
set TMP_CLASSPATH=
@REM append jar in a-z order
for %%i in (%QSNODE_JAR_SET%) do (call :append %%i)
goto okClasspath
:append
set TMP_CLASSPATH=%TMP_CLASSPATH%;%1
goto :end
:okClasspath
set CLASSPATH=%CLASSPATH%%TMP_CLASSPATH%;%QSNODE_CONF%;%APPLICATION_CONF%
echo CLASSPATH is [%CLASSPATH%]
echo Finish doing append needed jar file
:end
////////////end///////////