소스 검색

HPCC-10001 If classpath not set use default

Helpful on environments that have been upgraded from 3.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 년 전
부모
커밋
1fa70170e5
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      plugins/javaembed/javaembed.cpp

+ 4 - 0
plugins/javaembed/javaembed.cpp

@@ -88,6 +88,10 @@ public:
             newPath.append(ENVSEPCHAR);
             newPath.append(ENVSEPCHAR);
             conf->getProp("classpath", newPath);
             conf->getProp("classpath", newPath);
         }
         }
+        else
+        {
+            newPath.append(ENVSEPCHAR).append(INSTALL_DIR).append(PATHSEPCHAR).append("classes");
+        }
         newPath.append(ENVSEPCHAR).append(".");
         newPath.append(ENVSEPCHAR).append(".");