Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Thierry Goubier
Le 20/11/2015 21:44, Juraj Kubelka a écrit : On Nov 20, 2015, at 17:36, Thierry Goubier wrote: Le 20/11/2015 21:16, Juraj Kubelka a écrit : If I remember well, ZIP in Pharo supports only one file (one stream of data). There is no support for directories. At least, when I have intended it som

Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Juraj Kubelka
> On Nov 20, 2015, at 17:36, Thierry Goubier wrote: > > Le 20/11/2015 21:16, Juraj Kubelka a écrit : >> If I remember well, ZIP in Pharo supports only one file (one stream >> of data). There is no support for directories. At least, when I have >> intended it some time ago, I failed. > > No, zip

Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Thierry Goubier
Le 20/11/2015 21:16, Juraj Kubelka a écrit : If I remember well, ZIP in Pharo supports only one file (one stream of data). There is no support for directories. At least, when I have intended it some time ago, I failed. No, zip in Pharo works with directories. However I think the zip Filesystem

Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Juraj Kubelka
> On Nov 20, 2015, at 17:21, Mariano Martinez Peck > wrote: > > Well, you could use OSProcess right? Yes, it was my first solution. But we need something based on Pharo 5 image. And OSProcess is not in Pharo 5, right? We do not want to load more packages into default Pharo 5. This is the rea

Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Mariano Martinez Peck
Well, you could use OSProcess right? On Fri, Nov 20, 2015 at 5:16 PM, Juraj Kubelka wrote: > If I remember well, ZIP in Pharo supports only one file (one stream of > data). There is no support for directories. At least, when I have intended > it some time ago, I failed. > > I do not stand on usi

Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Juraj Kubelka
If I remember well, ZIP in Pharo supports only one file (one stream of data). There is no support for directories. At least, when I have intended it some time ago, I failed. I do not stand on using *.tar.gz, but I have not found better solution for my setup: Directory is compressed on Linux ma

Re: [Pharo-users] Stuck at lookup implementation in "Building ObjVlisp" tutorial

2015-11-20 Thread Edouard Delbar
Thanks for the reply. > what do you return when you do not find the class I guess you are talking about this block: "[ self objSuperclassId ifNotNil: [ self objSuperclass lookup: selector ]]". This code is based on the assumption that the entire block returns "nil" when "self objSuperclassId" is

Re: [Pharo-users] Stuck at lookup implementation in "Building ObjVlisp" tutorial

2015-11-20 Thread Edouard Delbar
Hi, I found "testNilWhenErrorInLookup" indeed, sorry for that. "testRaisesErrorSendWhenErrorInLookup" is still missing though. Maybe the name has changed to this one: testMethodNotFoundRaiseError "(self  run: #testMethodNotFoundRaiseError)" self should: [aPoint unarySend: #zork] raise: Error.

Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Tudor Girba
Why not use Zip files? There already exists direct support for that (hopefully it still works). Doru > On Nov 20, 2015, at 4:16 PM, Juraj Kubelka wrote: > > Hi, > > is there a way to extract *.tar.gz files using plain Pharo 5 image? Without > loading extra packages? It could be OS depende

[Pharo-users] Extracting *.tar.gz file in Pharo 5

2015-11-20 Thread Juraj Kubelka
Hi, is there a way to extract *.tar.gz files using plain Pharo 5 image? Without loading extra packages? It could be OS dependent. Maybe calling external linux tar application. I have done it with ExternalUnixOSProcess object, but it is not standard part of Pharo 5. Thanks for any comment. Jura