mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
#960 fix launchQP
This commit is contained in:
parent
898fc68017
commit
6f85dc19b4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user