On Sat, Apr 3, 2010 at 1:42 PM, Lukas Renggli <reng...@gmail.com> wrote:

> >> > - There is a problem in the tests of  RBInternalSpellChecker  in Linux
> >> > and
> >> > Windows, when you are not connected to internet. There are 13 errors
> >> > tests.
> >> > The SpellChecker uses the MacOS library, but for Linux and Windows it
> >> > uses
> >> > its own. But...it needs to download the file. Thus, it fails if you
> are
> >> > off-line. The place is in
> >> >  RBInternalSpellChecker >> downloadData
> >> > And of course,  self url  is
> >> > 'http://www.lukas-renggli.ch/smalltalk/rb-spelling.dat'.
> >> > As now with Metacello configurations, it is easy to select if you want
> >> > to
> >> > download the tests or not, I would put that file somehow in the image
> >> > (part
> >> > of the test package). The file is 2.1 MB on disk.
> >> > But maybe there is a reason not to do this. Lukas ?
> >>
> >> The file contains a spelling-dictionary for platforms without a spell
> >> checker primitive (Windows, Linux). If the file is in there, the spell
> >> check does not try to download it. So maybe it would make sense for
> >> the Metacello configuration to evaluate "RBInternalSpellChecker new"
> >> to force the download of the dictionary and cache it next to the
> >> image?
> >
> > Yes, that sounds ok. And then, I deliver the PharoDev image with that
> file,
> > isn't it ?
>
> Yes, you can, if you want to make it independent of the internet.
>
>
Ok...done in ConfigurationOfRefactoringBrowser-MarianoMartinezPeck.22

 (ConfigurationOfRefactoringBrowser project version: '1.3-baseline') load


> The problem is that the wordlist cannot be reasonably integrated with
> the source code. It grows the image and the package code unreasonably.
>
>
yes, understandable.


> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to