Fwd: Re: Info.plist Questions
Fwd: Re: Info.plist Questions
- Subject: Fwd: Re: Info.plist Questions
- From: Paul Roebuck <email@hidden>
- Date: Thu, 18 Jul 2002 01:20:53 -0500
Any framework engineers that can verify the following or suggest
workarounds that do not include "well, don't do that" responses.
Date: Wed, 17 Jul 2002 09:46:27 -0700
Subject: Re: Info.plist Questions
Cc: email@hidden
To: Paul Roebuck <email@hidden>
From: Mike Ferris <email@hidden>
You cannot do any of this stuff, to my knowledge. XML property
lists have a specific DTD and a specific parser that is not a
general XML parser.
You should talk to the frameworks folks (maybe on the cocoa-dev
list) if you have suggestions for extending the permitted format of
XML property lists.
From: Paul Roebuck <email@hidden>
Date: Wed Jul 17, 2002 9:30:15 AM US/Pacific
To: email@hidden
Subject: Info.plist Questions
I have several questions concerning 'Info.plist' but have been unable
to get answers in the java development mailing list.
Can someone here provide answers or links to appropriate documentation?
------------------------------------------------------------------
1) Why don't internal general entities seem to work?
I tried the following:
<?xml ...?>
<!DOCTYPE ...>
<!ENTITY appname "App">
<plist ...>
<dict>
<key>CFBundleName</key>
<string>&appname;</string>
...
</dict>
</plist>
Double-clicking on the application bundle afterwards shows
the zoom out from the double-click, then nothing.
------------------------------------------------------------------
2) How to emulate "==" in string value
I was trying to emulate the following:
-Djava.security.manager
-Djava.security.policy==App.policy
In the application bundle, I have copied the policy to $JAVAROOT.
Using "==" instructs the JVM to use only the application-specific
permissions file and ignore the other two permissions files,
tightening the sandbox. Don't seem to be able to express the
preceding equals in order to get it to work.
<key>java.security.manager</key>
<string></string>
<key>java.security.policy</key>
<string>$JAVAROOT/App.policy</string> # works but not same
<!--
<string>=$JAVAROOT/App.policy</string> # doesn't work
-->
------------------------------------------------------------------
3) How to reference $HOME in string value
Have a need to define my data directory in terms of $HOME.
Something like the following but didn't read anywhere that
environment variables were available.
<key>app.data.dir</key>
<string>$HOME/Documents/App</string>
How is it done?
--
----------------------------------------------------------
Out of the 10Base-T, through the router, down the T1, over the
leased line, off the bridge, past the firewall... nothing but Net.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.