On Tue, Jan 7, 2014 at 2:28 AM, sergio_101 <sergio.rrd@gmail.com> wrote:

I am currently converting TF-Login to use Fuel, so i can use it in Pharo 2.


What is TF?
One issue i am currently stuck on..�

How do i go about serializing an object to a file using a path? it seems like all the files are dumped into the resource directory. In order to run the plugin (and the test) i need to dump everything into a named directory.


mmm I am not sure if I get the problem. FLSerializer provides class side methods like #serialize: anObject on: aStream � so....the aStream could be whatever you want. In addition, we also provide #serialize:toFileNamed: �and the filename could be either without full path (then it is in same folder of image) or with full path. Example:

FLSerializer new serialize: 'foo' toFileNamed: '/Users/mariano/test.fuel'

Anyone have any ideas?�

Thanks!



--
Mariano
http://marianopeck.wordpress.com