GT-2913: launch.properties can now take platform-specific VMARGS.

This commit is contained in:
Ryan Kurtz 2019-07-25 11:31:08 -04:00
parent 8c689a0099
commit fa20ba3762
7 changed files with 87 additions and 75 deletions

View file

@ -137,8 +137,8 @@ public class ApplicationUtilities {
throws FileNotFoundException {
// Look for preset cache directory
String cachedir = System.getProperty("application.cachedir");
if (cachedir != null && !cachedir.isEmpty()) {
String cachedir = System.getProperty("application.cachedir", "").trim();
if (!cachedir.isEmpty()) {
return new File(cachedir,
SystemUtilities.getUserName() + "-" + applicationProperties.getApplicationName());
}