Logtalk 2.28.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1711 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
// =================================================================
|
||||
// Logtalk - Object oriented extension to Prolog
|
||||
// Release 2.27.1
|
||||
// Release 2.28.2
|
||||
//
|
||||
// Copyright (c) 1998-2006 Paulo Moura. All Rights Reserved.
|
||||
// =================================================================
|
||||
|
||||
if (ScriptEngineMajorVersion() < 5 || ScriptEngineMajorVersion() == 5 && ScriptEngineMinorVersion() < 6) {
|
||||
WScript.Echo('Error! WSH 5.6 or later version needed for running this script.');
|
||||
WScript.Quit(1);
|
||||
}
|
||||
|
||||
WScript.Echo('');
|
||||
WScript.Echo('Creating shortcuts for running Logtalk with selected Prolog compilers...');
|
||||
WScript.Echo('');
|
||||
@@ -34,6 +39,9 @@ if (!FSObject.FolderExists(logtalk_home)) {
|
||||
WScript.Quit(1);
|
||||
}
|
||||
|
||||
WScript.Echo('Creating shortcut Logtalk - B-Prolog...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_bplgt.js", true);
|
||||
|
||||
WScript.Echo('Creating shortcut Logtalk - CIAO...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_ciaolgt.js", true);
|
||||
|
||||
@@ -52,24 +60,24 @@ 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 - XSB...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_xsblgt.js", true);
|
||||
|
||||
WScript.Echo('Creating shortcut Logtalk - YAP...');
|
||||
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_yaplgt.js", true);
|
||||
|
||||
WScript.Echo('');
|
||||
WScript.Echo('Done. Links to the created scripts was been added to the Start Menu');
|
||||
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('Done. Links to the created shortcuts are availasble from the Start Menu');
|
||||
WScript.Echo('Logtalk program group. Ensure that the environment variables LOGTALKHOME');
|
||||
WScript.Echo('and 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('Users must run the batch script "cplgtdirs" once prior to using the');
|
||||
WScript.Echo('Logtalk - 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');
|
||||
WScript.Echo('run the corresponding script individually.');
|
||||
WScript.Echo('If you get an unexpected failure when creating or using a shortcut for');
|
||||
WScript.Echo('one of the above Prolog compilers, make sure that the Prolog compiler');
|
||||
WScript.Echo('is properly installed, consult the NOTES file on the scripts directory,');
|
||||
WScript.Echo('and try to run the corresponding script individually.');
|
||||
WScript.Echo('');
|
||||
|
||||
WScript.Quit(0);
|
||||
|
Reference in New Issue
Block a user