@ echo off
rem $Id: startNmsToolkit.bat,v 1.13 2001/08/08 16:19:02 srikrishnan Exp $
rem This script is used to popup a launcher

rem  If you start NMS Server from a shell with classpath already set to
rem NMS classes, some of the RMI APIs won't bind to registry (especially
rem DeviceConfigurationAPI). So, we unset the CLASSPATH value before 
rem starting the nms server.

set CLASSPATH=

call .\setEnv.bat

rem set path to NMS_HOME/lib to load the lib/ws2ping.dll 

set PATH=%NMS_HOME%\lib;%PATH%

rem CLASSPATH variable is changed to CLASS_PATH . If the classpath is set by usi
rem ng #the CLASSPATH variable ,RMI will load the classes from the CLASSPATH and
rem not from the  codebase.

rem  LICENSE_PATH variable is to locate AdventNetLicense.ali directory path.

set CLASS_PATH=%NMS_CLASSES%;%JIMI_CLASSPATH%;%XML_CLASSPATH%;%NMS_CLASSES%\AdventNetUpdateManager.jar;%LICENSE_PATH%;%NMS_CLASSES%\ApiUtils.jar;%UPDATE_MANAGER_CLASSPATH%;%OTHER_CLASSPATH%

%JAVA_HOME%\bin\java -cp %CLASS_PATH%  -Dtools.policy="policy3" com.adventnet.tools.launcher.Launcher -c "conf" 
