Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application / Package confusion



On Tuesday, April 27, 2004, Greg Guerin wrote:

"Thomas Schmidt" <email@hidden> wrote:

What I do not understand is where my application ends up inside the package
file. When I open the package, I see a file called "archive.pax" which I
can open with any decompression software (I use WinRar), and this
"archive.pax" file seems to be identical to the jar-file that I started out
with.

That should not be happening.

You should see at least an executable file at Contents/MacOS/YourAppName,
along with the jar and an icns file in Contets/Resources.

It seems like the package is not being correctly built, or the original
app-bundle isn't.

It looks alright to me.

When I look inside a PackageMaker .pkg dir, I see the files Archive.bom,
Archive.pax.gz, Info.plist, PkgInfo, and a Resources dir containing the
files I've specified for the license and background image, the preflight
and postflight scripts, <myname>.bom, <myname>.info, <myname>.pax.gz and
<myname>.sizes.

I would only expect to see Contents/MacOS/MyAppName inside a .app dir.

However, as others have pointed out, unless you have additional things
to do in your installer beyond simply copying the app to the Applications
folder, you don't need an installer.

In another post Mac OS disk images were mentioned, with the note that
they can only be built on Mac OS X. You can also do it from OS 9, using
Disk Copy. Such disk images use a suffix of .img (not .dmg) and are
different from the OS X .dmg images, but OS X can mount them. Mac OS 9
cannot mount .dmg images. If you need to be compatible with OS 9, and
want to use a disk image, you need to build it on OS 9 with Disk Copy.

It is still problematic to build Mac disk images on Windows or Linux.


Doug Zwick, Software Developer /---------------------------------------------/
http://www.elluminate.com/ / "Thank God we don't get all the Government
email@hidden / we pay for." -- Will Rogers
============================/
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.