2017-10-03 13:54 GMT+02:00 Guillermo Polito <[email protected]>:
> Could you write a blog post? :D > > - What is the good practice > - extending FileLocator > - managing paths in a platform independent way (what to extend for unix, > mac, windows, default values for unknown platforms...) > I am not sure about last point. I thought it is solved by FileSystem itself. > > On Tue, Oct 3, 2017 at 12:52 PM, Denis Kudriashov <[email protected]> > wrote: > >> Ok. No objections yet. >> I will prepare pull requests >> >> 2017-10-03 12:04 GMT+02:00 Guillermo Polito <[email protected]>: >> >>> Yes yes yes >>> >>> On Fri, Sep 29, 2017 at 3:58 PM, Stephane Ducasse < >>> [email protected]> wrote: >>> >>>> Hi denis >>>> >>>> I like it!. >>>> >>>> Stef >>>> >>>> On Fri, Sep 29, 2017 at 10:31 AM, Denis Kudriashov < >>>> [email protected]> wrote: >>>> > Hi. >>>> > >>>> > Many times I was trying to find "global" files of some packages in >>>> system. >>>> > >>>> > For example do you know how to find epicea session logs? >>>> > There is class side method for this at EpMonitor: >>>> > >>>> > EpMonitor logsDirectory >>>> > >>>> > Is it easy to find when you never look at it? No. >>>> > >>>> > Do you know how to find sources file? There is message in Smalltalk >>>> global: >>>> > >>>> > Smalltalk sourcesFile >>>> > >>>> > Is it easy to find? No. >>>> > >>>> > And there are many other examples. >>>> > >>>> > But if you read about FileSystem library. You know the common place >>>> where to >>>> > find well known files. It is FileLocator. >>>> > For example changes file is here: >>>> > >>>> > FileLocator changes. >>>> > >>>> > So my idea is to introduce kind of pattern, the good style, how to >>>> access >>>> > global application files: they should be in FileLocator as extensions. >>>> > Then it would be super easy to find files of any applications. >>>> > >>>> > What do you think? >>>> > >>>> > If it is good idea then we should fix current places in system to >>>> follow >>>> > this pattern. >>>> > >>>> > Best regards, >>>> > Denis >>>> >>>> >>> >>> >>> -- >>> >>> >>> >>> Guille Polito >>> >>> Research Engineer >>> >>> Centre de Recherche en Informatique, Signal et Automatique de Lille >>> >>> CRIStAL - UMR 9189 >>> >>> French National Center for Scientific Research - *http://www.cnrs.fr >>> <http://www.cnrs.fr>* >>> >>> >>> *Web:* *http://guillep.github.io* <http://guillep.github.io> >>> >>> *Phone: *+33 06 52 70 66 13 <+33%206%2052%2070%2066%2013> >>> >> >> > > > -- > > > > Guille Polito > > Research Engineer > > Centre de Recherche en Informatique, Signal et Automatique de Lille > > CRIStAL - UMR 9189 > > French National Center for Scientific Research - *http://www.cnrs.fr > <http://www.cnrs.fr>* > > > *Web:* *http://guillep.github.io* <http://guillep.github.io> > > *Phone: *+33 06 52 70 66 13 <+33%206%2052%2070%2066%2013> >
