public String getCompileClassPath() { String compileClassPath = StringHelper.removeQuotesOS("\".") + File.pathSeparator + Oncotcap.getInstallDir() + "bin" + File.pathSeparator + Oncotcap.getProgramDir() + File.pathSeparator + Oncotcap.getInstallDir() + "lib" + File.separator + "tools.jar" + File.pathSeparator + Oncotcap.getInstallDir() + "lib" + File.separator + "protege.jar" + File.pathSeparator + FileHelper.sansTrailingSeparator(Oncotcap.getTempPath()); // packageBaseName; String xtraPath = Oncotcap.getExtraCompilerClassPath().trim(); if (xtraPath != null && !xtraPath.equals("")) { if (!xtraPath.startsWith(File.pathSeparator)) compileClassPath = compileClassPath + File.pathSeparator; compileClassPath = compileClassPath + xtraPath; } String strPluginDir = Oncotcap.getInstallDir() + "plugins"; if (FileHelper.fileExists(strPluginDir)) { strPluginDir = strPluginDir + File.separator; File pluginDir = new File(strPluginDir); { if (pluginDir.isDirectory()) { File[] jars = pluginDir.listFiles(); if (jars != null) { for (int n = 0; n < jars.length; n++) { if (jars[n].getName().endsWith(".jar")) compileClassPath = compileClassPath + File.pathSeparator + strPluginDir + jars[n].getName(); } } } } } compileClassPath = compileClassPath + StringHelper.removeQuotesOS("\""); return (compileClassPath); }