t.setProperty("client.facade.jar.path", clientFacadeJARPath());
t.setProperty("client.security", "<all-permissions/>");
final ApplicationClientDescriptor acDesc = dHelper.appClientDesc();
/*
* Set the JNLP information title to the app client module's display name,
* if one is present.
*/
String displayName = acDesc.getDisplayName();
String jnlpInformationTitle =
(displayName != null && displayName.length() > 0) ?
displayName : localStrings.get("jws.information.title.prefix") + " " + dHelper.appName();
t.setProperty("appclient.main.information.title", jnlpInformationTitle);
t.setProperty("appclient.client.information.title", jnlpInformationTitle);
/*
* Set the one-line description the same as the title for now.
*/
t.setProperty("appclient.main.information.description.one-line", jnlpInformationTitle);
t.setProperty("appclient.client.information.description.one-line", jnlpInformationTitle);
/*
*Set the short description to the description from the descriptor, if any.
*/
String description = acDesc.getDescription();
String jnlpInformationShortDescription =
(description != null && description.length() > 0) ?
description : jnlpInformationTitle;
t.setProperty("appclient.main.information.description.short", jnlpInformationShortDescription);
t.setProperty("appclient.client.information.description.short", jnlpInformationShortDescription);