Logtalk 2.26.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1486 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// =================================================================
|
||||
// Logtalk - Object oriented extension to Prolog
|
||||
// Release 2.25.1
|
||||
// Release 2.26.2
|
||||
//
|
||||
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
|
||||
// =================================================================
|
||||
@@ -23,6 +23,17 @@ else {
|
||||
WScript.Quit(1);
|
||||
}
|
||||
|
||||
var FSObject = new ActiveXObject("Scripting.FileSystemObject");
|
||||
|
||||
if (!FSObject.FolderExists(logtalk_home)) {
|
||||
WScript.Echo("The environment variable LOGTALKHOME points to a non-existing directory!");
|
||||
WScript.Echo("Its current value is: %LOGTALKHOME%");
|
||||
WScript.Echo("The variable must be set to your Logtalk installation directory!");
|
||||
WScript.Echo("");
|
||||
usage_help();
|
||||
WScript.Quit(1);
|
||||
}
|
||||
|
||||
WScript.Echo('Creating shortcut Logtalk - CIAO...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_ciaolgt.js", true);
|
||||
|
||||
@@ -41,6 +52,9 @@ WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_sicstuslgt.js", true);
|
||||
WScript.Echo('Creating shortcut Logtalk - SWI-Prolog...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_swilgt.js", true);
|
||||
|
||||
WScript.Echo('Creating shortcut Logtalk - XSB CVS...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_xsbcvslgt.js", true);
|
||||
|
||||
WScript.Echo('Creating shortcut Logtalk - YAP...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_yaplgt.js", true);
|
||||
|
||||
@@ -49,6 +63,9 @@ WScript.Echo('Done. Links to the created scripts was been added to the Start Me
|
||||
WScript.Echo('Programs. Make sure that the environment variables LOGTALKHOME and');
|
||||
WScript.Echo('LOGTALKUSER are defined for all users wishing to use the shortcuts.');
|
||||
WScript.Echo('');
|
||||
WScript.Echo('Users must run the batch script "cplgtdirs" before using the Logtalk -');
|
||||
WScript.Echo('Prolog integration scripts.');
|
||||
WScript.Echo('');
|
||||
WScript.Echo('If you get an unexpected failure to create a shortcut for one of the');
|
||||
WScript.Echo('above Prolog compilers, make sure that the Prolog compiler is properly');
|
||||
WScript.Echo('installed, consult the NOTES file on the scripts directory, and try to');
|
||||
|
Reference in New Issue
Block a user