My app's CFBundleDocumentTypes consists of a single entry for "all"
CFBundleTypeName, "Viewer" CFBundleTypeRole, and "****" for
CFBundleTypeOSTypes.
I tried switching to "Viewer" in case that was needed to pick up
the message, but it didn't make a difference.
You could try seeing what AppleEvent's your application is actually
receiving.
This could be accomplished by setting the following environment
variables.
# For AppleEvent debugging
#export AEDebugSends=1
#export AEDebugReceives=1
You can either make your application's executable a shell script that
sets these (and then runs the JavaApplicationStub) or use
LSEnvironment in your Info.plist http://developer.apple.com/documentation/MacOSX/Conceptual/
BPRuntimeConfig/Articles/EnvironmentVars.html
Try dragging a file you think should work to your application icon.
If the application icon changes appearance to show selected, it
should work, if it doesn't - it shouldn't.
If it doesn't appear like it will work even though the set up seems
correct try duplicating the application and drag to the duplicate.
You may of already made some tweak to the application, changed the
Info.plist or whatever, that has broken some launch services
functionality. If it appears the duplicate will work - delete the
original application and rename the duplicate back to take it's place.
(If this is the case, you could file a bug - my last was closed for
'expected behavior')
_______________________________________________
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