@echo off
REM
REM Batch script to uninstall XL Deploy JCR->SQL migrator
REM
cd %~dp0\..

del bin\uninstall-jcr-to-sql-migrator.sh
del conf\xl-migration.conf
del lib\xld-jcr-migrations-9.5.7.jar
del lib\xld-jcr-upgrades-9.5.7.jar
del lib\xld-jcr-ci-migration-9.5.7.jar
del lib\xld-jcr-archive-migration-9.5.7.jar
del lib\xl-security-jackrabbit-2019.3.13.jar
del lib\xl-repository-jackrabbit-2019.3.13.jar
del lib\appserver-migrations-jcr-2019.3.13.jar
del lib\xl-security-jcr-2019.3.13.jar
del lib\xl-repository-jcr-2019.3.13.jar
del lib\jackrabbit-core-2.14.0.jar
del lib\engine-spi-jcr-2019.3.13.jar
del lib\jackrabbit-data-2.14.0.jar
del lib\jackrabbit-spi-commons-2.14.0.jar
del lib\jcr-2.0.jar
del lib\jackrabbit-api-2.14.0.jar
del lib\jackrabbit-jcr-commons-2.14.0.jar
del lib\concurrent-1.3.4.jar
del lib\commons-dbcp-1.3.jar
del lib\jackrabbit-spi-2.14.0.jar
del lib\tika-core-1.7.jar
del lib\lucene-core-3.6.0.jar
del lib\commons-pool-1.5.4.jar

echo Uninstall script done.
pause

echo Now follows a last "The batch file cannot be found" as we also delete the currently executing script
del bin\uninstall-jcr-to-sql-migrator.cmd
