[Gambas-user] Stratoria V0.0.28b dispo pour test/dispo for testing

Olivier Coquet olivier at ...289...
Tue Nov 18 19:14:54 CET 2003


Le Mardi 18 Novembre 2003 17:52, Benoit Minisini a écrit :
> Hi,
>
> This is a important note for Olivier and other Gambas beginner. Maybe this
> warning should go on the wiki.
>
> You CAN'T put configuration file INSIDE the project, except if you are sure
> you won't modify them.

?????

>
> When you make an 'executable', i.e. an compiled archive of your project,
> all files that were inside the project go in the archive, and then become
> read-only !

when  i make an executable, i have only one file !!!!!!!
probably you want speak of archive which is not an executable?
>
> When you are developing in the IDE, Gambas does not prevent you from
> modifying these project files if you use absolute paths - Yes, it is not a
> good thing, but at the moment testing that is an overhead.

I use only Application.Path to create and after to read my conf file, it's not 
an absolute path.

"a priori" conf and filter must not exist at the first start of my prog.

>
> So, Olivier, your configuration file must be stored:
> - Under user home directory - The standard path is ~/.gambas/MyProg.conf
> - Under /etc or /opt/Myprogram/etc, but this need root rights... Your
> program can do that when it is launched as root.
or in Application.Path maybe :=)

I made an error, effectively, archive must not contain anny conf (.conf) or 
filter (.flt), i've just forgoten to delete them before archiving, thanks for 
the suggest.

>
> Regards,
Regards
Olivier





More information about the User mailing list