On Wed, 7 Jun 2017 09:38:52 -0400
PICCORO McKAY Lenz <mckaygerh...@gmail.com> wrote:

> 2017-06-07 7:33 GMT-04:00 Christof Thalhofer <chri...@deganius.de>:
> > Am 06.06.2017 um 16:13 schrieb alexchernoff:
> >> The goal is to edit shared centralised modules and having all
> >> projects see the changes.
> >
> > You can do this by creating a project as library. After you compiled it
> > once and mad an executable with Ctrl-Alt-X, all modules and classes with
> > the magic word "Export" in the beginning are shared by the library and
> > can be used in other projects.
> umm i was triying in the past that but not was as expected, i dont
> remenber why, i try right now and report feedback here... due i'm in
> same problem
> 
> >
> > You have to choose the library inside the other projects' definition
> > dialog (in the IDE).
> >
> > So you can outsource common code and use it in a lot of projects.
> >
> > http://gambaswiki.org/wiki/doc/library
> 
> umm seems the complication in the past was the locations of the
> codes.. all of this have hardcoded paths... in git submodules there-s
> no hardcode depends, due submodules can work off-line independen of..
> 
> if i moved the library from original path to another path, all the
> depends break down..
> 
> i'll try and later report feedback
> 
> >
> > Alles Gute
> >
> > Christof Thalhofer
> >
> > --
> > Dies ist keine Signatur
> >
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

gerhard

I think you need to understand a lot more about libraries and components. 
Libraries are useful for one developer trying to re-use code between projects 
on a single machine. If you are talking about deploying shared code in a way 
that it can be used by different people developing different projects on 
different machines then you need to look at the component mechanism.  There is 
really no programming difference between a library and a component (except when 
talking about gui controls).  The difference is how and where they are deployed.
Libraries are (or were,until the naming convention changed :-< ) simple and 
easy. Components offer more deployment options but require a bit more packaging 
effort.

b

-- 
B Bruen <adamn...@gnail.com (sort of)>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to