[Gambas-user] can't create a new project!

Jose J. Rodriguez joe1962 at ...626...
Wed Aug 9 17:01:03 CEST 2006


On 8/9/06, Benoit Minisini <gambas at ...1...> wrote:
> On Wednesday 09 August 2006 04:40, Jose J. Rodriguez wrote:
> > Actually, followind that line of reasoning, how about a "data"
> > directory for data files, instead of picking them from the root level
> > of the project? These two changes would be a nice step forward in
> > organisation of our gambas projects, IMHO.
> >
>
> There is another constraint: the data file hierarchy should stay at the root
> of the project directory, otherwise you will have to always add this
> directory before any file you have to access, and then all current Gambas
> project will be heavily broken. If only the source files move, then the
> change will be less intrusive.
>

But a dedicated "data" directory wil help keep things so much
cleaner... you won't need to worry so much about having extraneous
stuff in the project, like for example I used to have some info or
notes text files as well as spare icons to test, etc, until I noticed
them becoming part of the project data and getting compiled in the
executable. It can be created by the new project wizard at the same
time it creates the "src" directory. Regarding current projects, not
such a problem if you simply keep the old behaviour if the "data"
directory doesn't exist.

IMHO, it makes sense to rethink the whole project structure now and
get things right, since you are already making one change. And you
might want to change to "# Gambas Project File 2.0" in the .project
file, if only to add a warning popup when an attempt is made to open a
1.0 version project. Would help to avoid loosing the GUI design in
such a case!

Regards,
Joe1962




More information about the User mailing list