[Gambas-user] can i specify a path to my modules or libs please how?

PICCORO McKAY Lenz mckaygerhard at gmail.com
Fri Jun 29 18:23:44 CEST 2018


well all the currently behaviours are inneficient for mixed development
environment with java like profiles..

the path provided by Tobias have better possibilities combined with
"Component.Load" .. due i can autodetects the current runing path and then
set absolute from runtime!

those path must be a option and must be included in gambas main..

the current options that need a valid home for loadin libraries or
compoents are xtremedly unflexible for professional profile developments

*the best its a dinamically loading of libraries/components using relative
or absolute paths alongside the actual behaviour.. that's permit a better
team development without hardcoded paths of home users!*

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2018-04-17 15:22 GMT-04:00 Benoît Minisini <g4mba5 at gmail.com>:

> Le 17/04/2018 à 21:02, PICCORO McKAY Lenz a écrit :
>
>> umm interesting way Tobias .. i get that mail and read it too!
>>
>> umm in conclusion "it cannot be", but now i ask something about gambas
>> library/modules
>>
>> if i have in my project only module sources and in last step i poin that
>> use library, this mix can be done?
>>
>> i mean, that the  final product due the sources are "linked" or not real
>> in the project will use the library?
>>
>>
> Component.Load(":<vendor>/<lib>:<version>") will search for a Gambas
> executable name "<lib>:<version>.gambas" in the
> "$XDG_DATA_HOME/gambas3/lib/<vendor>" directory - $XDG_DATA_HOME being
> "~/.local/share/" by default.
>
> If you can compile and install your plugin there, you will be able to load
> it on demand. No need to patch the interpreter then.
>
> You just need a home directory for the user running your program.
>
> Regards,
>
> --
> Benoît Minisini
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180629/7a104310/attachment.html>


More information about the User mailing list