// add the launch specific application arguments
_appargs.addAll(_envc.appArgs);
+
+ // add startupFiles
+ for (File f : startupFiles) {
+ _appargs.add("-open");
+ _appargs.add(f.getAbsolutePath());
+ }
// look for custom arguments
fillAssignmentListFromPairs("extra.txt", _txtJvmArgs);
{
return new File(appdir, path);
}
+
+ public void addStartupFile (File f) {
+ startupFiles.add(f);
+ }
protected final EnvConfig _envc;
protected File _config;
protected List<String> _jvmargs = new ArrayList<>();
protected List<String> _appargs = new ArrayList<>();
+ protected List<File> startupFiles = new ArrayList<>();
protected String[] _optimumJvmArgs;