Hello!
I’m experimenting with the ada-ado ORM and I’ve had some success, but I’m having problems with generating a project using dynamo.
I’ve read all the relevant documentation (although they were written 10+ years ago), but I haven’t gotten any further.
First I installed dynamo with the alr install dynamo command.
I tried to use it by first creating an alire project:
alr init --bin ado-test
cd ado-test
alr with ado
alr with ado_postgresql
Then I tried to create an ADO project with dynamo:
alr exec -- dynamo create-project --ado ado_test ptihanyi@mail.local
The result:
Generating file ‘LICENSE.txt’
error: Cannot generate file: ‘ado_test.gpr’ exists already.
Generating file ‘ado_test_config.gpr’
error: Cannot generate file: ‘alire.toml’ already exists.
Generating file ‘Makefile’
Generating file ‘ado_test.properties’
ERROR: Bundle asf not found
ERROR: Cannot localize dates: No bundle ‘asf’
Generating file ‘./src/ado_test.ads’
ERROR: Bundle asf not found
ERROR: Cannot localize dates: No bundle ‘asf’
Generating file ‘./src/ado_test-main.adb’
Your project is now created.
make generate build
After this, I also tried to remove the dynamo installed with the “alr install” command and build it with alire, the same result.
From the error messages regarding ASF, I associated it with the “Ada Server Faces” package. I tried installing this too (alr install serverfaces && alr install serverfaces_unit) but of course it didn’t help.
I downloaded the ada-asf repo, built it with alire and installed it alongside dynamo (make install using same prefix as dynamo). This didn’t help either.
What could be the problem?