On Thu, Jul 19, 2007 at 11:03:16PM +0200, Mattias G?rtner wrote:
> > On Thu, Jul 19, 2007 at 06:00:55PM +0200, Mattias G?rtner wrote:
> > > Zitat von Marco van de Voort <[EMAIL PROTECTED]>:
> > >
> > > > On Thu, Jul 19, 2007 at 01:06:36AM +0200, Vincent Snijders wrote:
> > > > >>> This is likely to change before 1.0 to the some applictiondata
> > directory,
> > > > >>> as given by the sysutils.GetAppConfigDir (or what is that function
> > > > >>> name?).
> > > > >> Keep it versioned, or you might loose the ability of having multiple
> > > > >> independant lazarusses?
> > > > >
> > > > > It won't be different from the current situation in *nix: you have to
> > use
> > > > > to pass the config dir on the command line if you want to use 
> > > > > different
> > > > > config files.
> > > >
> > > > Well then I suggest that being fixed too. ( :- )
> > >
> > > Can you elaborate, how such versioned directories should work?
> >
> > I can think of two possible solutions:
> > 1 all files in a directory (versioned) in .lazarus or .lazarus-version
> > 2 letting the name of the directory depend on the binary.
> >  In this case, renaming "lazarus" to "lazarus-version" would fix it.
> >
> > The first is easier, the second more flexible, however will probably be too
> > problematic due to "startlazarus" and Lazarus self building properties.
> >
> > So that leaves us the first point, and a  .lazarus/$lazversion is cleaner
> > than .lazarus-$lazversion I think
> 
> What about projects and packages?

Keep them apart. 

> What should happen when a user starts a lazarus with a new version? Should the
> IDE automatically create copies?

Ask? It can scan the .lazarus directory.

> Is the lazversion enough? Maybe some users needs two different revisions of 
> the
> same 0.9.23.

I was also thinking about that, which was why I came up with the (often
used) second way. Another solution would be to add also $fpcversion, but
that still doesn't cover two snapshots of either from a different date.

> If I understand it right, you want to keep several old lazarus versions. 
> Somehow
> you distinguish them (e.g. icon). Why not simply use the command line
> parameter?

IMHO something as basic as a double installation should be automatic, and
not require config file or commandline hacking.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to