Page 1 of 1

Building a standalone : unexpected stack files in build

Posted: Tue Jun 10, 2014 9:37 am
by Simon Knight
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

Re: Building a standalone : unexpected stack files in build

Posted: Wed Jun 11, 2014 2:16 pm
by Mark
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

Re: Building a standalone : unexpected stack files in build

Posted: Wed Jun 11, 2014 8:53 pm
by Simon Knight
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