[Gambas-user] libraries and gambas3

Bruce bbruen at ...2308...
Mon Jul 23 05:03:04 CEST 2012


On Mon, 2012-07-23 at 03:56 +0200, Benoît Minisini wrote:
> Hi,
> 
> In revision #4983, the IDE now automatically manage dependencies between 
> library. I mean:
> 
> - If you add a library, all other libraries it depends on are added 
> automatically.
> 
> - You cannot remove a library if another library depends on it.
> 
> These dependencies are updated when you load a project, and when you 
> modify the libraries in the project property dialog.
> 
> Do you think that it can fix the problem?
> 

Hi Benoît,

If there are quick answers to the following, could you clarify what
happens now.

1) Currently, if "myProject" needs "myLib" which needs "otherLib" then I
have to add both libraries to the Project properties in "myProject".
Does this new rev mean that all I need to add is "myLib"?

2) When building the "myLib" executable, does this mean I need to add
"otherLib" to the Requires tab in the Library properties?

3) Does specifically adding "otherLib" to the Libraries in "myProject"
Project properties override the version that was specified to the
"myLib" build.

The last particularly worries me.  Consider the following case.  Say
"myLib" is stable at some version and that version is residing
in /usr/local/... But now we have a new requirement that means some
changes to the underlying library "otherLib".  At the moment, in the
development area I can point the IDE to the stable "mylib" and point the
IDE to the development version of "otherLib".  When the changes are
finished and tested we can move the "otherLib" executable
into /usr/local, overwriting the "production" library there.

If overriding the library in the IDE no longer works then I guess we
will just have to change our work practices.  However, the current way
things are is very handy.

regards
Bruce 





More information about the User mailing list