On Aug 11, 2013, at 10:57 AM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
Strange that you find these problems when you load Moose as a dependent project, but I do not stumble across them when I just load Moose.
Anyway, good points. I fixed and committed them.
Tx more to come ;)
every 20 min because this is the time it takes me to restart :)
Cheers, Doru
On Sun, Aug 11, 2013 at 10:31 AM, Stéphane Ducasse stephane.ducasse@inria.fr wrote: 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
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev