[INFO] exporting and importing code with Tonel
Nov. 26, 2023
4:01 p.m.
Hi Guys, I've to move my code from Pharo8 to Pharo10, here: https://lists.pharo.org/empathy/thread/BMON6SATURPEHBHCWYOMOXCYMWEK7YE6?hash... , Esteban suggests to use Tonel, I've no experience with it and after looking for info on the web, I summarize here these 2 statements To export a package named MyPackage: [ :packageName :directory |    TonelWriter fileOut:  packageName asPackage mcWorkingCopy on: directory. ] value: 'MyPackage' value: '/aSelected/directory' asFileReference To import the package into another image: (TonelReader on: '/aSelected/directory' asFileReference  fileName: 'MyPackage') version load. HTH Cheers Davide
977
Age (days ago)
977
Last active (days ago)
0 comments
1 participants
participants (1)
-
Davide Varvello