Hi doru
while reloading/retrying I looked the generated spec and I noted some points that may
reveal missing dependencies
* #('Famix-Tests-C-AndreHora.6.mcz'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/' 'Famix-Tests-C' )
#('Famix-Tests-Extensions-TudorGirba.23.mcz'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/'
'Famix-Tests-Extensions' )
#('Dynamix-Tests-Core-TudorGirba.17.mcz'
'http://www.smalltalkhub.com/mc/Moose/DynaMoose/main/'
'Dynamix-Tests-Core' )
arrive quite earrly even before magritte fame….
Now I found some bugs in Moose configurations:
Problem 1
--------------
* Moose-Hismo arrives before FAMIX-Core.
And this is false.
This package depends on the following classes:
FAMIXPackage
FAMIXEntity
FAMIXInheritance
You must resolve these dependencies before y
So I cannot reload our application (our application is simple is basically only depend on
Moose and PetitParser. I checked all the
configurations and they are simple and small.
I saw that Moose defines
package: 'Moose-Hismo' with: [spec requires: 'Moose-Core'];
so may be this should be FAMIX-Core?
Or the extensions should be moved to another package but it will complexify the system.
I modified the moose configuration and the order looks better to me.
#('Moose-GenericImporter-Nicolasanquetil.47.mcz'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/'
'Moose-GenericImporter' )
#('Famix-Core-TudorGirba.222.mcz'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/' 'Famix-Core' )
#('Famix-SourceAnchor-TudorGirba.38.mcz'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/' 'Famix-SourceAnchor' )
#('Moose-Hismo-JurajKubelka.69.mcz'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/' 'Moose-Hismo' )
#('Famix-File-NicolasAnquetil.40.mcz'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/' 'Famix-File' )
#('Famix-Java-TudorGirba.74.mcz' 'http://w
Problem 2
--------------
Now I found another problem
Algo-Clustering
MalArrayVector MalVectorDecorator MalSymetricMatrix MalVector
arrives before
LinearAlgebra
package: 'Moose-Algos-Clustering' ;
package: 'Moose-Algos-LinearAlgebra';
So I moved package: 'Moose-Algos-LinearAlgebra'; before
and I added a dependency
package: 'Moose-Algos-Clustering' with: [spec requires:
'Moose-Algos-LinearAlgebra'] ;
Of course the feedback loop is quite long….
So testing until the next problem. I think that we should build a tool that check
dependencies.
could you change this information or do I do it?
Stef