From 8e1a6e8b486832d430d55d570c6942b2f20dcff6 Mon Sep 17 00:00:00 2001 From: Peter Dell Date: Mon, 26 Dec 2022 04:02:58 +0100 Subject: [PATCH] Create junction links for help instead of symlinks --- com.wudsn.ide.lng/help/create-help-links.bat | 7 ++----- com.wudsn.ide.lng/help/productions/java/ide.txt | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/com.wudsn.ide.lng/help/create-help-links.bat b/com.wudsn.ide.lng/help/create-help-links.bat index 6e7a4ee9..cb3f2501 100644 --- a/com.wudsn.ide.lng/help/create-help-links.bat +++ b/com.wudsn.ide.lng/help/create-help-links.bat @@ -5,17 +5,14 @@ rem The are linked into the "com.wudsn.ide.lng/help/productions/java/ide project 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 diff --git a/com.wudsn.ide.lng/help/productions/java/ide.txt b/com.wudsn.ide.lng/help/productions/java/ide.txt index f216624b..f46fde4f 100644 --- a/com.wudsn.ide.lng/help/productions/java/ide.txt +++ b/com.wudsn.ide.lng/help/productions/java/ide.txt @@ -1 +1 @@ -This "ide" folder is only a symbolic link to the "ide" folder of the web site. \ No newline at end of file +This "ide" folder is only a junction link to the "ide" folder of the web site to access images from the help files. \ No newline at end of file