FileSystem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

FileSystem

Chris Cunnington-3

>Could you point me to what's the best way to install latest FS into
>trunk?  Thanks!
Chris


(Installer wiresong project: 'mc')

  addPackage: 'FS-Core';

  addPackage: 'FS-Disk';

  addPackage: 'FS-Memory';

  addPackage: 'FS-AnsiStreams';

  addPackage: 'FS-Zip';

  addPackage: 'FS-FileStream';

  addPackage: 'FS-Tests-Core';

  addPackage: 'FS-Tests-AnsiStreams';

  addPackage: 'FS-Tests-Xtreams';

  addPackage: 'FS-Tests-Zip';

  addPackage: 'FS-Tests-Disk';

  addPackage: 'FS-Tests-FileStream';

  install.


You could also add:

  addPackage: 'FS-Xtreams';


Reply | Threaded
Open this post in threaded view
|

Re: FileSystem

Colin Putney-3



On Mon, May 27, 2013 at 7:32 PM, Chris Cunnington <[hidden email]> wrote:

>Could you point me to what's the best way to install latest FS into
>trunk?  Thanks!
Chris


(Installer wiresong project: 'mc')

  addPackage: 'FS-Core';

  addPackage: 'FS-Disk';

  addPackage: 'FS-Memory';

  addPackage: 'FS-AnsiStreams';

  addPackage: 'FS-Zip';

  addPackage: 'FS-FileStream';

  addPackage: 'FS-Tests-Core';

  addPackage: 'FS-Tests-AnsiStreams';

  addPackage: 'FS-Tests-Xtreams';

  addPackage: 'FS-Tests-Zip';

  addPackage: 'FS-Tests-Disk';

  addPackage: 'FS-Tests-FileStream';

  install.


You could also add:

  addPackage: 'FS-Xtreams';




Yup. Note that AnsiStreams works, but it's obsolete.

So, taking that into account:

(Installer wiresong project: 'mc')
  addPackage: 'FS-Core';
  addPackage: 'FS-Disk';
  addPackage: 'FS-Memory';
  addPackage: 'FS-Zip';
  addPackage: 'FS-FileStream';
  addPackage: 'FS-Tests-Core';
  addPackage: 'FS-Tests-Zip';
  addPackage: 'FS-Tests-Disk';
  addPackage: 'FS-Tests-FileStream';
  install.

Colin


Reply | Threaded
Open this post in threaded view
|

Re: FileSystem

Frank Shearar-3
On 28 May 2013 04:05, Colin Putney <[hidden email]> wrote:

>
>
>
> On Mon, May 27, 2013 at 7:32 PM, Chris Cunnington <[hidden email]> wrote:
>>
>>
>> >Could you point me to what's the best way to install latest FS into
>> >trunk?  Thanks!
>>
>> Chris
>>
>>
>> (Installer wiresong project: 'mc')
>>
>>   addPackage: 'FS-Core';
>>
>>   addPackage: 'FS-Disk';
>>
>>   addPackage: 'FS-Memory';
>>
>>   addPackage: 'FS-AnsiStreams';
>>
>>   addPackage: 'FS-Zip';
>>
>>   addPackage: 'FS-FileStream';
>>
>>   addPackage: 'FS-Tests-Core';
>>
>>   addPackage: 'FS-Tests-AnsiStreams';
>>
>>   addPackage: 'FS-Tests-Xtreams';
>>
>>   addPackage: 'FS-Tests-Zip';
>>
>>   addPackage: 'FS-Tests-Disk';
>>
>>   addPackage: 'FS-Tests-FileStream';
>>
>>   install.
>>
>>
>> You could also add:
>>
>>   addPackage: 'FS-Xtreams';
>>
>>
>>
>
> Yup. Note that AnsiStreams works, but it's obsolete.
>
> So, taking that into account:
>
> (Installer wiresong project: 'mc')
>   addPackage: 'FS-Core';
>   addPackage: 'FS-Disk';
>   addPackage: 'FS-Memory';
>   addPackage: 'FS-Zip';
>   addPackage: 'FS-FileStream';
>   addPackage: 'FS-Tests-Core';
>   addPackage: 'FS-Tests-Zip';
>   addPackage: 'FS-Tests-Disk';
>   addPackage: 'FS-Tests-FileStream';
>   install.

Thanks!

I have some errors:

FSDiskFilesystemTest>>#testCopy
FSFileHandleTest>>#testIncomplete
FSFileHandleTest>>#testReadBufferTooLarge

 and some failures:

FSPlatformResolverTest>>#testDesktop
FSPlatformResolverTest>>#testDocuments

though, in a fresh-ish 4.5-12582.

Those failures are probably because I'm running the Squeak from my
/home/frank/Documents/squeak-ci/ directory, so FSUnixResolver new home
returns /Desktop. That... might possibly work on some OSes but in
Ubuntu it'd be ~/Desktop.

The errors look like they're from Xtreams not being loaded!
FSFileHandle >> #read:into:at: references Incomplete! Adding
FS-Xtreams fixes the failures, of course. But given that you described
FS-Xtreams as optional, I'd expect a green bar on running the tests
without that package. Easily fixed, I think, by moving FSHandleTest >>
#testIncomplete and friends to FS-Tests-Xtreams.

frank

> Colin