Pharo-SQLite3 icon indicating copy to clipboard operation
Pharo-SQLite3 copied to clipboard

How to load with Glorp?

Open labordep opened this issue 1 year ago • 1 comments

Hi,

I'm attempting to simply load this project with Glorp, but unfortunately, I'm unable to do so :(

  1. When I load using this order I have an Iceberg exception "MetacelloConflictingProjectError: Load Conflict between existing BaselineOfGlorp [baseline] from github://pharo-rdbms/glorp and BaselineOfGlorp [baseline] from github://pharo-rdbms/glorp:v9.0.6/" :
Metacello new
	repository: 'github://pharo-rdbms/glorp';
	baseline: 'Glorp';
	load.

Metacello new
  repository: 'github://pharo-rdbms/Pharo-SQLite3/src';
  baseline: 'SQLite3';
  load.

image

And this is not possible to proceed the loading...

  1. When I load only this project...
Metacello new
  repository: 'github://pharo-rdbms/Pharo-SQLite3/src';
  baseline: 'SQLite3';
  load.

...and after I try to load manually "Glorp" packages:

image

I have this error:

Warning: Package *SQLite3-Glorp depends on the following classes:
  DatabaseDriver
You must resolve these dependencies before you will be able to load these definitions: 
  SQLite3Driver
  SQLite3Driver>>#basicExecuteSQLString:
  SQLite3Driver>>#basicExecuteSQLString:binding:
  SQLite3Driver>>#beginTransaction
  SQLite3Driver>>#commitTransaction
  SQLite3Driver>>#connect:
  SQLite3Driver>>#connectionClass
  SQLite3Driver>>#initialize
  SQLite3Driver>>#isConnected
  SQLite3Driver>>#logout
  SQLite3Driver>>#rollbackTransaction
  SQLite3Driver>>#rowCount

So how to load Glorp+Pharo-SQLite3 with Glorp package correctly ? How to integrate that in my project baselineOf ?

I have a naive approach to try to make it as clear as possible for beginners. Thanks :)

labordep avatar Jan 20 '24 13:01 labordep