X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fdistribution%2Fopendaylight%2Frun.bat;fp=opendaylight%2Fdistribution%2Fopendaylight%2Frun.bat;h=0000000000000000000000000000000000000000;hp=f219828bad3dc0c927689e2bbc33f04f066984f0;hb=530f16aabf749e45477e8467d73ad0921fc7bb99;hpb=723a5d5b870e81f4f0fe0fa5641b31fe4a609e93 diff --git a/opendaylight/distribution/opendaylight/run.bat b/opendaylight/distribution/opendaylight/run.bat deleted file mode 100644 index f219828bad..0000000000 --- a/opendaylight/distribution/opendaylight/run.bat +++ /dev/null @@ -1,23 +0,0 @@ -rem Inject the sanitytest jar as a controller plugin -copy .\target\dependency\sanitytest*.jar .\target\distribution.opendaylight-osgipackage\opendaylight\plugins - -rem Store the current working directory in a variable so that we can get back to it later -set cwd=%cd% - -rem Switch to the distribution folder -cd .\target\distribution.opendaylight-osgipackage\opendaylight - -rem Run the controller -cmd.exe /c run.bat - -rem Store the exit value of the controller in a variable -set success=%ERRORLEVEL% - -rem Switch back to the directory from which this script was invoked -cd %cwd% - -rem Remove the sanitytest jar from the plugins directory -del .\target\distribution.opendaylight-osgipackage\opendaylight\plugins\sanitytest*.jar - -rem Exit using the exit code that we had captured earlier after running the controller -exit /b %SUCCESS% \ No newline at end of file