Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
JarBundler: icons and document types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JarBundler: icons and document types



I'm trying to use JarBundler to set up icons and associated documents for my application, and the results are sporadic at best. Once or twice I've managed to get the icon to show up in the Finder. However, usually I get a generic app icon. However, I do see the correct icon in the dock when the application is running.

Document types don;t appear to get associated at all.


I'm using JarBundler 1.8.1 with this ant task:

<target name="app" depends="jar">
<delete dir="dist/Amateur.app"/>
<jarbundler dir="dist" jars="dist/${name}-${version}.jar"
name="Amateur"
mainclass="com.elharo.quicktime.Main"
infostring=" ${version}"
version=" ${version}"
screenmenu="true"
signature="QTAM"
bundleid="com.elharo.quicktime"
icon="Amateur.icns"
>
<documenttype name="Amateur Media"
mimetypes="image/jpeg image/png image/gif video/mpeg video/quicktime audio/mpeg"
role="Viewer"/>


          <documenttype name="Amateur Media"
                    extensions="jpg mov mpg mp3 gif png pdf"
                    role="Viewer"/>

        </jarbundler>
    </target>


Any ideas what I might be doing wrong?

--
Elliotte Rusty Harold  email@hidden
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.