Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
Hi Pete, Understood - what I saw in the thread was others offering up tar options that can easily be executed in a shell in much the same manner as the revZip stuff. But, as Phil mentions concerning folders with the revZip functions, tar will automatically pickup the folder structures and comp

Re: Zipping Up an LC standalone program

2012-04-10 Thread Phil Davis
Pete, I wonder if your revZip issue comes from the fact that a .app file is really a folder in disguise. To pick an app via dialog on OS X, you must say "answer file" but then immediately you must treat the .app "file" you picked as a folder containing subfolders and files. Consider this b

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Got it, thanks Warren. Pete On Tue, Apr 10, 2012 at 6:22 PM, Warren Samples wrote: > It was Mark who commented that tar+compression seems like too much work > without any benefit, and my original comment was mostly a response to that > thought. -- Pete Molly's Revenge

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Hi Tim, The origin of this thread was me trying to automate the packaging of the app at my end by writing a script to handle the standaloneSaved message. It used the revZIPxxx commands which, unfortunately, don't seem to work very well, so other scripted solutions were offered, including tar and z

Re: Zipping Up an LC standalone program

2012-04-10 Thread Warren Samples
On 04/10/2012 07:54 PM, Pete wrote: Hi Warren, It's the un-zipping at the other end that concerns me, not the zip on my machine. Sounds like the ability to handle tar files might require a Windows user to install some software. Pete Yes, that is something completely different :D You could off

Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
On Apr 10, 2012, at 5:54 PM, Pete wrote: > Hi Warren, > It's the un-zipping at the other end that concerns me, not the zip on my > machine. Sounds like the ability to handle tar files might require a > Windows user to install some software. You might be surprised at just how many Windows users a

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Hi Warren, It's the un-zipping at the other end that concerns me, not the zip on my machine. Sounds like the ability to handle tar files might require a Windows user to install some software. Pete On Tue, Apr 10, 2012 at 5:25 PM, Warren Samples wrote: > On 04/10/2012 07:04 PM, Pete wrote: > >> I

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Yeah, it was the earlier comment about WIndows that scared me. Now, if only the revZIP commands worked OK, we wouldn't be excahnging these emails! Pete On Tue, Apr 10, 2012 at 5:11 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Pete, > > On Mac, the BOM Archiver can als

Re: Zipping Up an LC standalone program

2012-04-10 Thread Warren Samples
On 04/10/2012 07:04 PM, Pete wrote: I guess my primary concern is that a user can simply download the compressed file and either have his browser autoatically un-compress it or just be able to double-click on it to un-compress it, then have the program be ready to use. I may be misunderstanding

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Hi Pete, On Mac, the BOM Archiver can also decompress tar files. On Windows, additional software is needed. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get th

Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
Pete - Both OS X and Linux will auto-extract tar, tar.gz, tgz, and tar.bz files if that setting is enabled in the browser (safe files) or by double clicking the file. If the user adds WinTAR or a later version of PkZIP or 7zip to their Windows systems, they'll get the same thing there. Tim O

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
I guess my primary concern is that a user can simply download the compressed file and either have his browser autoatically un-compress it or just be able to double-click on it to un-compress it, then have the program be ready to use. I may be misunderstanding but sounds like it might not be that s

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Hi Tim, Yes, you're right, tar is older. Nonetheless, can you think of any other reason why one would want to use tar, except for glueing files together in preparation of compression? I'm not sure what you mean by "property bundle up bits of code". I don't think that tar is available on Windows

Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
On Apr 10, 2012, at 4:02 PM, Mark Schonewille wrote: > Hi, > > Tar is a bad idea because it glues files together and doesn't compress. Tar > was invented to allow gzip to compress multiple files. It is easier and > faster to use the zip command line tool rather than to use both tar and gzip. >

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Hi, Tar is a bad idea because it glues files together and doesn't compress. Tar was invented to allow gzip to compress multiple files. It is easier and faster to use the zip command line tool rather than to use both tar and gzip. Many unix geeks still prefer tar+gzip but I'm not sure why. -- B

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Kee, This doesn't get rid of the .DS_Store files. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Thanks Mark, I'll take a look. Pete On Tue, Apr 10, 2012 at 8:39 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Pete, > > This is a line from my Compression Tool software. It zips without the > .DS_Store files. Item -1 of fld "File" is the name of a file or folder in > the curr

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Pete, This is a line from my Compression Tool software. It zips without the .DS_Store files. Item -1 of fld "File" is the name of a file or folder in the current defaultFolder. put "zip -r" && quote & myZipFile & quote && quote & item -1 of fld "File" & quote && " -x .* *.DS_Store *Icon*" int

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Thanks guys. I was hoping for a way to automate this and a few other steps involved in getting my app ready for release by using the standaloneSaved message, that's why I was using the revZIPxxx commands. I was also hoping that they would get around the problem I came across with the built in Mac

Re: Zipping Up an LC standalone program

2012-04-09 Thread stephen barncard
tar (from the shell) works even better. On 9 April 2012 19:29, Kee Nethery wrote: > Or just use the Mac Archive or Compress menu item in the Finder. It works > great. > > Kee > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please vi

Re: Zipping Up an LC standalone program

2012-04-09 Thread Kee Nethery
Or just use the Mac Archive or Compress menu item in the Finder. It works great. Kee ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runre

Re: Zipping Up an LC standalone program

2012-04-09 Thread Mark Wieder
Pete- Monday, April 9, 2012, 5:19:49 PM, you wrote: > Zipping the same file with the built-in OS X compress function works fine > and so does the CleanARchiver utitlity. > ANy ideas? Don't bother with the revzip things. They've never worked very well. You'll get better results and more features

Zipping Up an LC standalone program

2012-04-09 Thread Pete
Been putting together a litte script to get all my files ready for a release and used the revZIPxxx commands to make a zip file of the LC standalone program - this all on a Mac. The resulting zip file is only 4kb in size, obvioulsy not correct. The code is pretty straightfroward: revZipOpenAr