////////////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///////////
Traverse jars in a directory under Windows and assign them to the variable classpath
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326942021&siteId=291194637
Recommended
Ranking