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: Create a dmg file from java?



I agree, Brad, that it sounds like too much work to make our build go a bit more automatically.  I do know that the ej-technologies guys have implemented the ISO9660 file system and can create ISO9660 dmg files - just not with the compression etc. that the native format entails. 

Still looking for appropriate documentation for how these files are put together...  Anyone know of any?

-pete
peter m. murray
email@hidden

On 3/15/06, Brad Barclay <email@hidden> wrote:
On 15-Mar-06, at 12:37 , Peter Murray wrote:

Does anyone know if the native .dmg file format is documented anywhere in enough detail to implement a Java interface to it?

An interesting idea -- but I think implementing this idea might be quite a bit bigger than you are expecting.

The problem is that DMG is just a container format for virtualizing a disk as a file.  The virtualized "disk" still needs a filesystem.  Thus, at the very least, you're going to need to implement both the DMG container creation code, and a filesystem handler in Java (probably good to start with just HFS).  Then, if you want it, there are the compression (ZLIB) and encryption (AES-256) layers to implement, although Java routines already exist to handle these on their own, making DMG compression and exception somewhat easier.

Sounds like an interesting possibility for an Open Source project to me.  

Brad BARCLAY,

Lead Developer & Project Administrator,

The jSyncManager Project.


=-=-=-=-=-=-=-=-=-=

>From the Mac OS X Desktop of Brad BARCLAY

E-Mail:  email@hidden     Web:  http://www.jsyncmanager.org







--
-pete
peter m. murray
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Create a dmg file from java? (From: "Peter Murray" <email@hidden>)
 >Re: Create a dmg file from java? (From: Steve Roy <email@hidden>)
 >Re: Create a dmg file from java? (From: "Peter Murray" <email@hidden>)



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.