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

Benoit Minisini gambas at ...1...
Wed Aug 9 13:14:35 CEST 2006


On Wednesday 09 August 2006 04:40, Jose J. Rodriguez wrote:
> On 8/8/06, Benoit Minisini <gambas at ...1...> wrote:
> > On Wednesday 09 August 2006 04:18, Jose J. Rodriguez wrote:
> > > On 8/8/06, Benoit Minisini <gambas at ...1...> wrote:
> > > > Bingo! I am plain stupid :-)
> > > >
> > > > The archiver (the program that makes executables) don't pack *.class,
> > > > *.module, *.form files. It should do that only when they are at the
> > > > root of the project directory...
> > > >
> > > > Now I see that this design is painful. Source files should be put in
> > > > their own hidden directory in the project.
> > > >
> > > > Note that with this new design, old projects won't be usable anymore.
> > > > But I think I have to do that now!
> > >
> > > I'm not sure I understand. Do you mean that a project's source files
> > > will be inside a further hidden directory now? I'm afraid this will
> > > not place nicely with projects handled by cvs, svn, etc.
> > >
> > > Regards,
> > > Joe1962
> >
> > This is what I meant. If this directory is not hidden, will it be a
> > problem then?
>
> Hmm... I think I originally reacted because I'm used to working with
> the source code at the root level of the project, but looking at other
> open source projects (granted, those are mostly in C), they do tend to
> have a "src" directory. I guess we can live with, and get used to,
> working that way. But yes, not hidden will work better, thanks.
>
> 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.
>
> Regards,
> Joe1962
>

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.

Regards,

-- 
Benoit Minisini





More information about the User mailing list