チェンジセット 35
- コミット日時:
- 2008/12/10 11:17:52 (2 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/org.intra_mart.jst.server.generic.resin/src/org/intra_mart/jst/server/generic/resin/ResinServerBehaviour.java
r29 r35 51 51 52 52 /** 53 * setupLaunchClasspath.<br /> Resin起動前にtools.jarをクラスパスに追加します。<br /> 53 * setupLaunchClasspath.<br /> 54 * Resin起動前にtools.jarをクラスパスに追加します。<br /> 54 55 * Eclipse上で設定されているInstalled JREは、JDKが指定されている必要があります。 55 56 * … … 65 66 @SuppressWarnings("unchecked") 66 67 protected void setupLaunchClasspath(ILaunchConfigurationWorkingCopy workingCopy, IVMInstall vmInstall, List classPathList) { 67 classPathList.add(JavaRuntime.newArchiveRuntimeClasspathEntry(new Path(vmInstall.getInstallLocation().getAbsolutePath() + File.separator + "lib" + File.separator + "tools.jar"))); 68 69 if (System.getProperty("os.name").toLowerCase().startsWith("mac")) { 70 // mac. 71 classPathList.add(JavaRuntime.newArchiveRuntimeClasspathEntry(new Path(new File(vmInstall.getInstallLocation().getParent()).getAbsolutePath() + File.separator + "Classes" + File.separator + "classes.jar"))); 72 } else { 73 // others. 74 classPathList.add(JavaRuntime.newArchiveRuntimeClasspathEntry(new Path(vmInstall.getInstallLocation().getAbsolutePath() + File.separator + "lib" + File.separator + "tools.jar"))); 75 } 76 68 77 super.setupLaunchClasspath(workingCopy, vmInstall, classPathList); 69 78 } … … 121 130 122 131 /** 123 * 設定ファイルを作成します.<br /> 既に設定ファイルが存在する場合は作成しません。 132 * 設定ファイルを作成します.<br /> 133 * 既に設定ファイルが存在する場合は作成しません。 124 134 */ 125 135 protected void createConfigFile() {
