What is the correct way to install `SandstoneDb' in Pharo 2.0? With the
approach Pharo book takes[1], Pharo complains about two other packages to be installed as well: `DataStream' and `SmartRefStream'. TIA, [1] http://book.pharo-project.org/book/PharoTools/SandstoneDB -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation, Deployment Consultant |
Hi,
That is because `DataStream' and `SmartRefStream' are old serialisation technologies. There is a port of SandstoneDB using Fuel (and FileSystem), AFAIK. Look at the specific versions on SqueakSource. I can see that the original author made commits as well, which is very good. There is also http://smalltalkhub.com/#!/~gnaritas/SandstoneDb but I don't know how it is related. Sven On 27 May 2013, at 13:46, Bahman Movaqar <[hidden email]> wrote: > What is the correct way to install `SandstoneDb' in Pharo 2.0? With the > approach Pharo book takes[1], Pharo complains about two other packages > to be installed as well: `DataStream' and `SmartRefStream'. > > TIA, > > [1] http://book.pharo-project.org/book/PharoTools/SandstoneDB > -- > Bahman Movaqar (http://BahmanM.com) > ERP Evaluation, Implementation, Deployment Consultant -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org |
There is sample for an alternative technique (the one between "save the full image" and "sandstone". I kind of ported the example for my own use by using Fuel based saves.http://www.smalltalkhub.com/#!/~philippeback/DripfeedIt/packages/DripfeedIt-Persistence You may need the DripfeedIt-Domain package as well as it contains the domain objects (basic objects mind you). On Mon, May 27, 2013 at 1:58 PM, Sven Van Caekenberghe <[hidden email]> wrote: Hi, |
On 2013-05-27 16:48, [hidden email] wrote:
> There is sample for an alternative technique (the one between "save the > full image" and "sandstone". > > I kind of ported the example for my own use by using Fuel based saves. > > http://www.smalltalkhub.com/#!/~philippeback/DripfeedIt/packages/DripfeedIt-Persistence @Phil: The site says "Page does not exist" which is weird. > You may need the DripfeedIt-Domain package as well as it contains the > domain objects (basic objects mind you). > > > On Mon, May 27, 2013 at 1:58 PM, Sven Van Caekenberghe <[hidden email] > <mailto:[hidden email]>> wrote: > > Hi, > > That is because `DataStream' and `SmartRefStream' are old > serialisation technologies. > There is a port of SandstoneDB using Fuel (and FileSystem), AFAIK. > Look at the specific versions on SqueakSource. > I can see that the original author made commits as well, which is > very good. @Sven: Thanks for the explanation. I tried the "Fuel" approach using these instructions[1] but there were errors during compilation. Pharo complained about `SDFileStore' not existing in the image and was unable to compile `SDFuelSerializer'. > There is also http://smalltalkhub.com/#!/~gnaritas/SandstoneDb but I > don't know how it is related. > > Sven > > On 27 May 2013, at 13:46, Bahman Movaqar <[hidden email]> wrote: > > > What is the correct way to install `SandstoneDb' in Pharo 2.0? > With the > > approach Pharo book takes[1], Pharo complains about two other packages > > to be installed as well: `DataStream' and `SmartRefStream'. > > > > TIA, > > > > [1] http://book.pharo-project.org/book/PharoTools/SandstoneDB [1] http://marianopeck.wordpress.com/2011/08/19/boosting-sandstonedb-with-fuel/ -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation, Deployment Consultant |
In reply to this post by bahman
On 2013-05-27 16:16, Bahman Movaqar wrote:
> What is the correct way to install `SandstoneDb' in Pharo 2.0? With the > approach Pharo book takes[1], Pharo complains about two other packages > to be installed as well: `DataStream' and `SmartRefStream'. > > TIA, > > [1] http://book.pharo-project.org/book/PharoTools/SandstoneDB Ah...stupid me. Once I added the `SandstoneDb' repository, I could follow the instructions in `SandstoneDb' package which read "For Pharo2, load SandstoneDb, SandstoneDbTests, SandstoneDbFileSystemStore, and SandstondDbFuel (required) in this order." And apparently it is installed now. Now I just need to figure out a way to check if it's really installed :-) Thank you people. -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation, Deployment Consultant |
Doesn't it have tests? I remember it did... On Mon, May 27, 2013 at 10:11 AM, Bahman Movaqar <[hidden email]> wrote:
Mariano http://marianopeck.wordpress.com |
On 2013-05-27 17:42, Mariano Martinez Peck wrote:
> Doesn't it have tests? I remember it did... Yes, it does. But as a Smalltalk newbie I have to figure out how to run them :-) > On Mon, May 27, 2013 at 10:11 AM, Bahman Movaqar <[hidden email] > <mailto:[hidden email]>> wrote: > > On 2013-05-27 16:16, Bahman Movaqar wrote: > > What is the correct way to install `SandstoneDb' in Pharo 2.0? > With the > > approach Pharo book takes[1], Pharo complains about two other packages > > to be installed as well: `DataStream' and `SmartRefStream'. > > > > TIA, > > > > [1] http://book.pharo-project.org/book/PharoTools/SandstoneDB > > Ah...stupid me. Once I added the `SandstoneDb' repository, I could > follow the instructions in `SandstoneDb' package which read > > "For Pharo2, load SandstoneDb, SandstoneDbTests, > SandstoneDbFileSystemStore, and SandstondDbFuel (required) in > this order." > > And apparently it is installed now. Now I just need to figure out a way > to check if it's really installed :-) > > Thank you people. -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation, Deployment Consultant |
Free forum by Nabble | Edit this page |