Hi Stef,
The error was that insertInto:from:to: was not implemented in Group.
Now it is, it works and it is tested. You have to update Moose-Core.
This raises another issue: it would probably be a good idea to have
MooseGroup use Nile traits, but that is for another day.
Cheers,
Doru
On 27 Nov 2009, at 22:22, Stéphane Ducasse wrote:
Hi Stef,
Both of these should work. Why do you say it does not work. What
exactly do you get?
I get an error:
FAMIXFolderGroup DNU insertInto:from:to:
Then, how do you obtain the folders/files? What code do you use to
import? Is it in CAnalyzer?
If you load Canalyser
| model importer |
model := MooseModel new.
importer := CXMLFileImporter inModel: model.
importer loadFolderFile: '/Users/ducasse/Workspace/FirstCircle/
Writing/Working/2009MoosePortFolio/Code/CairoSrc188'.
model install
Stef
Cheers,
Doru
On 27 Nov 2009, at 12:35, Stéphane Ducasse wrote:
doru
do you have an idea why
| f ff|
f := folderGroup entities.
ff := f flatCollect: [:each | each allRecursiveFolders].
does not work?
We cannot do a flat collect on array?
| f ff|
f := folderGroup.
ff := f flatCollect: [:each | each allRecursiveFolders].
does not work either. i'm confused
Stef
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Live like you mean it."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every now and then stop and ask yourself if the war you're fighting
is the right one."