Standalone Build Problem
bonnmike at gmail.com
Tue Jun 2 14:16:43 EDT 2015
if I recall correctly, all you have to do is add substack to your
splashstack named "Data Grid Templates Dud"
Then, even if you do manual inclusions of everything else, the way toe
standalone builder works (or used to) it will still realize you need the
datagrid support stuff, and will include it.
I do seem to recall a version of LC that did NOT properly include the
required support, but I forget which version that was and under what
circumstances it occurred.
One moment, going to try it real quick with 7.0.5..
Ok, heres what I did (and it works)
Create my launcher stack.
Add a substack named "Data Grid Templates Dud"
Adjust the standalone settings to pick inclusions. I added support for
sqlite and left everything else alone.
I added a button to let me pick an lc file and then "go stack <the chosen
Saved it, made a standalone, ran it, and chose a stack with a datagrid, and
it worked fine.
Then I chose a stack that uses an sqlite database and it worked fine too.
I did notice something weird. I set up the stack, except for the button to
choose the file and saved the stack.
Then I added the button to pick a file and went directly to the standalone
build which then prompts for a stack save. When I ran the standalone, the
button wasn't there as if the save didn't take.
I went back to lc, manually saved again (ctrl-s) then rebuilt and poof. It
I think there may be a bug in there somewhere.
I'm wondering when and how you are choosing to launch your stack? Maybe
the request to go to the stack occurs before everything is done loading
with the splash stack?
On Tue, Jun 2, 2015 at 11:48 AM, William Prothero <prothero at earthednet.org>
> I’ve searched around for the “DataGrid Templates” stack and can’t find it.
> For manual inclusion, I would need to add it to the “Stacks” panel in the
> standalones setting.
> > On Jun 2, 2015, at 9:46 AM, Mike Bonner <bonnmike at gmail.com> wrote:
> > Yep, it won't find the inclusions, you need to pick and choose yourself
> > because the splashstack is mostly empty of code. The can't figure out
> > you need from code that isn't there.
> > As for the datagrid, I wonder.. If I recall, you don't actually have to
> > include a datagrid for it to work. Check out this link which mentions
> > building using the splashstack method..
> > If you want to search for inclusions automagically, I guess you could
> > also.
> > Make a handler that never gets called. You want sqlite support? put in
> > revopendatabase call. Same for any other support you need, put in a line
> > of code that requires whatever support you're looking to add to the
> > splashstack, to this non-functional handler, so that the build process
> > decide that you need <whatever you need>
> > Its pretty easy though to manually choose inclusions.
> > On Tue, Jun 2, 2015 at 10:35 AM, Bob Sneidar <
> bobsneidar at iotecdigital.com>
> > wrote:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode