Hi all,
Ok: After I refactored MAExternalFileModel I found there was also a Pharo20-Model package
… but this version generated 3 failing tests, mine passes all. Besides, I think we do not
need a different solution for Pharo 2.0 as loading of FileSystem will do. I added this to
the configuration and committed all.
Cheers, Diego
On Jul 23, 2013, at 7:23 PM, Diego Lont wrote:
Hi all,
I was testing today how the image look with the new configuration, but it did not work
well. There are a few issues that Pier3 is not yet compatible with Pharo 2.0.
The issue I have been working on is the issue of the MAExternalFileModel. It still uses
FileDirectory, and that is no longer in Pharo 2.0.
So here are the options:
1. I change the implementation to FileSystem, the new implementation in Pharo2.0. This
is also available for Pharo1.4, but not loaded by default. Drawback of course is that I do
not know if this is part of other platforms.
2. I change this to make use of Grease. Problem here is that in Grease I do not have all
functionality, so that means it should be implemented for all platforms. The main method
that I miss is: exitsFileOrDirectory: aString (maybe with a parameter to indicate wether
it needs of a certain type (Directory / File).
I gave a go at the second solution, and now that I am typing this mail, I realize that
this is part of Magritte-Pharo-Model, so that the first solution is probably a better
idea. Are there any objections implementing the first solution?
Cheers,
Diego
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki