[Gambas-user] Restructuring the official Gambas examples

Tobias Boege taboege at ...626...
Tue Apr 30 20:47:52 CEST 2013


On Tue, 30 Apr 2013, Beno?t Minisini wrote:
> Le 30/04/2013 15:39, Tobias Boege a ?crit :
> > On Mon, 29 Apr 2013, Beno?t Minisini wrote:
> >> I have never found the time to write good examples so you have my full
> >> blessing.
> >>
> >> Just don't work directly on the current examples
> >> (/trunk/examples/example). Just create a new directory
> >> ('/trunk/examples/src' for... example) where you will store all the
> >> example projects, with the structure you want. Once done, I will modify
> >> the IDE to point at the new structure.
> >>
> >
> > I merely thought of just adding a Niveau=X token to the .project file of
> > examples.
> 
> I don't like that, changing the .project file stucture just for a very 
> specific case. Why don't you just use the directory structure?
> 
> /Examples/Beginner/xxx
> /Examples/Advanced/xxx
> 
> It's far easier to change the directory structure, and it will need far 
> less work for me.

Then we must do some work to retain the grouping into "Basic", "Control",
"Games", etc.. Managing a bunch of symlinks seems hard to maintain. IMHO,
the grouping shouldn't go away with the relatively small addition of
separating beginner and advanced examples.

I understand your first argument, that this is only a special case, although
a Niveau= line in any other .project wouldn't hurt the least. But let's
leave it so, as a matter of principle.

As for the second, I didn't know what would be necessary to integrate the
new view into the IDE but you don't have to do it. I thought I would modify
the IDE locally anyway before I commit the new example structure...

Any better way (than the Niveau= line) to merge the two example structures
(topic, niveau) into one directory structure? Or should anyone of both go
away then? I mean, we don't even need a separation of beginner and advanced,
in this case I'll just tidy up the examples.

Regards,
Tobi




More information about the User mailing list