Building a standalone : unexpected stack files in build

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Building a standalone : unexpected stack files in build

Post by Simon Knight » Tue Jun 10, 2014 9:37 am

I hope that this is a simple user error on my part: I have an application that uses a splash stack and several library stacks. I build for both Mac and Windows and I expect the windows build to comprise two files and a folder e.g. MyApp.exe , revsecurity.dll and the folder Externals which contains the database drivers. This has been the typical collection of files and folders for the past three months.

Now when I make a build I am getting all the other stacks that are part of my application appearing as files in the build. I have not knowingly made any changes that should cause this new unwanted behaviour and would like to get back to the situation where the stack files are not visible. The Mac OS build has a similar set of readable stack files all contained in the "package" folder whereas earlier builds did not reveal the code.

Any ideas on how I can get back to the situation where library and other stacks are hidden from the endusers file system?

Any ideas how this can just "happen" - the "ghost in the machine" perhaps ?

many thanks

Simon
best wishes
Skids

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Building a standalone : unexpected stack files in build

Post by Mark » Wed Jun 11, 2014 2:16 pm

Hi Simon,

In the Stacks pane of the Standalone Application Settings is an option "Move substacks into individual stackfiles". It looks like this option was accidentally activated. If you turn it off, everything should be back to normal. It is possible that you didn't do this but that installing a test version of LiveCode triggered the setting.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Re: Building a standalone : unexpected stack files in build

Post by Simon Knight » Wed Jun 11, 2014 8:53 pm

Mark,

Thanks for your reply. In fact it was a little strange: the stacks in question were not sub stacks so they should appear as editable stacks in the build ( I did not realise this at the time.) however for a couple of builds they were missing from the builds and when they reappeared I thought something had just gone wrong. Unfortunately I filed a bug report along the lines of my post - oops. Hanson replied explaining the error of my ways and has changed the report from a bug to an enhancement whereby it will be possible to opt to have stacks compiled into the main build.

best wishes

Simon K
best wishes
Skids

Post Reply