From c1cac02eeeb604138fa617df7199f5c032e8d7c2 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 20 Feb 2024 13:44:24 +0100 Subject: [PATCH] Remove unused method. --- .../class/installLanguage.version..st | 17 ----------------- .../Polyglot.class/methodProperties.json | 1 - 2 files changed, 18 deletions(-) delete mode 100644 src/TruffleSqueak-Core.package/Polyglot.class/class/installLanguage.version..st diff --git a/src/TruffleSqueak-Core.package/Polyglot.class/class/installLanguage.version..st b/src/TruffleSqueak-Core.package/Polyglot.class/class/installLanguage.version..st deleted file mode 100644 index 7d432bdfd..000000000 --- a/src/TruffleSqueak-Core.package/Polyglot.class/class/installLanguage.version..st +++ /dev/null @@ -1,17 +0,0 @@ -helpers -installLanguage: languageId version: version - | downloader modulesPath | - [ downloader := Java type: 'org.graalvm.maven.downloader.Main' ] - on: Error - do: [ self error: 'Unable to find Maven Downloader. Additional languages can only be installed in a JVM standalone of TruffleSqueak.']. - modulesPath := (FSLocator vmDirectory resolve: '../modules'). - modulesPath isDirectory ifFalse: [ self error: 'Unable to find modules/ directory.' ]. - 'Installing language and its dependencies...' displayProgressFrom: 0 to: 1 during: [ :bar | - bar value: 0. - downloader main: { - '-o'. modulesPath fullName. - '-v'. version. - '-a'. languageId - }. - ]. - self inform: 'Success! Please restart TruffleSqueak for the language to become available. You can also install more languages now.' \ No newline at end of file diff --git a/src/TruffleSqueak-Core.package/Polyglot.class/methodProperties.json b/src/TruffleSqueak-Core.package/Polyglot.class/methodProperties.json index 1202f135b..96d281af9 100644 --- a/src/TruffleSqueak-Core.package/Polyglot.class/methodProperties.json +++ b/src/TruffleSqueak-Core.package/Polyglot.class/methodProperties.json @@ -34,7 +34,6 @@ "import:" : "fn 11/11/2018 21:34", "initialize" : "fn 1/24/2020 14:41", "installLanguage" : "fn 2/17/2024 17:05", - "installLanguage:version:" : "fn 2/17/2024 13:19", "installLanguage:version:path:" : "fn 2/17/2024 17:06", "isPermitted:" : "fn 1/26/2021 17:27", "isPolyglotEvalAllowed" : "fn 5/13/2020 17:37",