Create junction links for help instead of symlinks

This commit is contained in:
Peter Dell 2022-12-26 04:02:58 +01:00
parent e46bd1f5fb
commit fb2baa3290

View File

@ -6,16 +6,13 @@ rem This way, the Eclipse build uses the latest versions automatically.
rem The HTML files for the online help are original in the com.wudsn.ide.lng/help" folder.
rem They have to be copied into the Joomla using the "export.bat" script when something is changed.
rem
rem Important: Run this script in an Administrator shell.
rem
echo on
setlocal
set REPOSITORY=C:\jac\system\Java\Programming\Repositories\WUDSN-IDE
set SITE=C:\jac\system\WWW\Sites\www.wudsn.com
set SYMBOLIC_LINK=%REPOSITORY%\com.wudsn.ide.lng\help\productions\java\ide
set REAL_FOLDER=%SITE%\productions\java\ide
rmdir %SYMBOLIC_LINK%
mklink /D %SYMBOLIC_LINK% %REAL_FOLDER%
if exist %SYMBOLIC_LINK% rmdir %SYMBOLIC_LINK%
mklink /J %SYMBOLIC_LINK% %REAL_FOLDER%
pause