Re: where to put script libraries

2010-09-29 Thread Monte Goulding
> I've seen from some previous emails that if you put a script library in:
> 
>  revEnvironmentUserPluginsPath() && "../resources/script libraries/"
> 
> it will be picked automatically by standalone builder in case it is needed.
> Can someone (Monte?) confirm that this still the case?

Sorry Andre, after some testing I found that unfortunately this has been broken 
some time between when I wrote the standalone builder and now. That's a fair 
while so I'm not all that surprised given it was an undocumented and unused 
feature. It's only partly broken though because the library still appears in 
the list of inclusions. From memory my intention was to follow this feature up 
with a script library stack manager in the IDE but funds at RunRev were very 
tight at the time and I got into other projects.

You could make it work by trapping savingStandalone and copying a library 
loader into the build (or just adding to the stackfiles property if you want to 
start using only by script) then trapping standaloneSaved and copying the 
stackfiles into the build. Don't forget to pass these messages or you may break 
revObjective and the InstallGadget plugin.

Cheers

--
Monte Goulding
M E R Goulding Software Development
Bespoke application development for vertical markets

InstallGadget - How to create an installer in 10 seconds
revObjective  - Making behavior scripts behave

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


where to put script libraries

2010-09-29 Thread Andre Garzia
Folks,

I've seen from some previous emails that if you put a script library in:

  revEnvironmentUserPluginsPath() && "../resources/script libraries/"

it will be picked automatically by standalone builder in case it is needed.
Can someone (Monte?) confirm that this still the case?

I am building a new version of my LiveCode package manager and this would be
a wonderful thing to support. To be able to quickly install a library from
remote and have it constantly available for your IDE use and be included
automatically on standalones.

If someone could spare a word or two on this would be great! I am aware that
I will need a plugin to put all the library stacks into use when the IDE
launches.

andre

-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution