I know that Info.plist can contain pseudo-variables $APP_PACKAGE and
$JAVAROOT which expands to the root of the current application
and its
classpath.
Is there any way to reference to the user's home directory?
Not that I know of. What are you trying to accomplish by such a
scheme?
The "user.home" property will be the user's home dir, which you may
be able
to expand or apply when your program runs. It depends on what you're
trying to accomplish.
I've created an .app launcher for an application created with the
NetBeans OpenIDE platform.
Usually such applications are run by a generated shell script, but I
don't like this approach
on Mac OS (while it's fine for Linux). The OpenIDE runtime wants that
a special directory where
the workspace is created, and that directory is passed on the command
line - it should be
$HOME/Library/Application Support/app_name.
I hoped to pass that info by just inserting the proper stuff into
Info.plist, but as you are
confirming that there's no way for this approach, I'll try to write a
small Java wrapper.
_______________________________________________
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