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

Benoit Minisini gambas at ...1...
Tue Nov 18 17:52:53 CET 2003


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 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.

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.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list