Mariano wrote:
>What about using "FileDirectory slash" ?
You dont seem to understand the issue. On Linux
and Mac you can write
/home/foo/test
in your spec but on Windows you will never start a
folder name with a slash since you typically write the drive
letter first:
c:/temp/foo
Therefore the test in #extractTypeFromDescription: who checks
(description beginsWith: '/') ifTrue: [ ^'directory' ].
works only for mac/linux folders. For the Windows folder
name it will return false and therefore lead to an HTTP Repo
which later crashes since you can download from
http://c:/temp/fooBy extending #extractTypeFromDescription: like this
((description beginsWith: '/') or: [description second = $:]) ifTrue: [ ^'directory' ].
it will work on Windows too.
It's now fixed in Metacello-Core-tbn.362 on
http://seaside.gemstone.com/ss/metacelloThanks
Bye
T.
--
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
Bis zu 150 EUR Startguthaben inklusive!
http://portal.gmx.net/de/go/dsl_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project