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



--- "Thomas Schmidt" <email@hidden> wrote:
Unless you need to install files to multiple directories, you
shouldn't be using a package. Just compress the Application Bundle
using zip or tar+gz and let people put it where they want.


> Hello all,
>
> when I build my application, I
>
> 1) start with a jar-file,
> 2) then use JarBundler to turn it into a proper MAC application and
>
> 3) then use PackageMaker to turn the MAC application from step 2)
> into an
> installation package
>
> All of this is working fine, so now I am trying to understand what
> actually
> happens (the motivation being that I want to use ANT to automate
> the build
> on a windows machine), and I'm getting very confused:
>
> I understand that the application is nothing more than a directory
> with the
> suffix ".app" in its name, a specific folder structure and some
> specific
> files like "info.plist" etc. Right?
> I also understand that the package is nothing more than a directoy
> with the
> suffix ".pkg", a specific folder structure and some specific files.
> Right?
>
> 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.
>
> My question then is: what has happened to the application I created
> with
> JarBundler? Is my step 2 necessary at all or could I also directly
> create a
> package from my jar file? I hope this won't confuse you as much as
> me...
>
> -Thomas





__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
_______________________________________________
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.