#960 fix launchQP

This commit is contained in:
Scott Fennell 2020-02-21 13:51:44 -06:00
parent 898fc68017
commit 6f85dc19b4

View File

@ -411,17 +411,12 @@ public class TrickDPActionController {
String fileSeparator = java.io.File.separator;
String pathSeparator = System.getProperty("path.separator");
String javaPath = UIUtils.getTrickHome() + fileSeparator + "libexec/trick" + fileSeparator + "java";
String distPath = javaPath + fileSeparator + "dist";
String libPath = javaPath + fileSeparator + "lib";
String classPath = distPath + fileSeparator + "*" + pathSeparator +
libPath + fileSeparator + "*" + pathSeparator +
libPath + fileSeparator;
String javaPath = UIUtils.getTrickHome() + fileSeparator + "libexec" + fileSeparator + "trick" + fileSeparator + "java";
String buildPath = javaPath + fileSeparator + "build";
command.add("java");
command.add("-cp");
command.add(classPath);
command.add("trick.dataproducts.trickqp.TrickQPApplication");
command.add("-jar");
command.add(buildPath + fileSeparator + "QP.jar");
if (initialArgs != null) {
for (String arg : initialArgs) {