If I recall correctly, when something goes wrong while launching an
application package, launch services sets a flag somewhere
indicating that there is a problem with it and thus cannot be
launched. And sometimes that flag can remain set even after you
have corrected the original problem. So you might try one of two
things: 1) do some googling to find out where that flag is, so you
can maybe figure out a way to reset it; or 2) make a new
application package, copying or moving the files from the broken
package.
From my .bash_profile
alias lsregister=/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/LaunchServices.framework/
Support/lsregister
might be the Launch Services interface you're talking about and what
you'd want to google on.
No args gives you some usage info.
This a sort of interesting somewhat recent post http://lists.apple.com/archives/Java-dev/2006/Sep//msg00023.html
for regex parsing the dump output.
To reset with "-kill" you reset the entire ls database. So sort of a
last resort there but it should clear any error flags there might be.
Actually I have this... http://users.spacestar.net/mikehall/javasrc.html#appedit
that does some poking around application bundles.
Bit of a mess. http://www.spacestar.net/users/mikehall/AppEditVerify.dmg
is an application that is supposed to do a diagnosis of applications
that fail to launch.
One reason it's standalone is so it's not quite so caught up in all
the mess of the appedit stuff.
Drag yours to it if you want to try it. You might make it a duplicate
to yours that you drag to be safe.
If it doesn't help on your problem but you figure out what is wrong
with yours you could let me know and I could add checks to this code
for your problem.
_______________________________________________
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