|
Lines 18-24
Link Here
|
| 18 |
import java.net.URL; |
18 |
import java.net.URL; |
| 19 |
import java.util.ArrayList; |
19 |
import java.util.ArrayList; |
| 20 |
import java.util.List; |
20 |
import java.util.List; |
| 21 |
import java.util.Map; |
|
|
| 22 |
|
21 |
|
| 23 |
import javax.xml.parsers.DocumentBuilder; |
22 |
import javax.xml.parsers.DocumentBuilder; |
| 24 |
import javax.xml.parsers.DocumentBuilderFactory; |
23 |
import javax.xml.parsers.DocumentBuilderFactory; |
|
Lines 30-37
Link Here
|
| 30 |
import org.eclipse.core.runtime.IBundleGroupProvider; |
29 |
import org.eclipse.core.runtime.IBundleGroupProvider; |
| 31 |
import org.eclipse.core.runtime.Platform; |
30 |
import org.eclipse.core.runtime.Platform; |
| 32 |
import org.eclipse.core.runtime.Status; |
31 |
import org.eclipse.core.runtime.Status; |
| 33 |
import org.eclipse.jdt.launching.IVMInstall; |
|
|
| 34 |
import org.eclipse.jdt.launching.IVMRunner; |
| 35 |
import org.eclipse.jdt.launching.JavaRuntime; |
32 |
import org.eclipse.jdt.launching.JavaRuntime; |
| 36 |
import org.eclipse.jface.dialogs.ErrorDialog; |
33 |
import org.eclipse.jface.dialogs.ErrorDialog; |
| 37 |
import org.eclipse.jface.dialogs.IDialogConstants; |
34 |
import org.eclipse.jface.dialogs.IDialogConstants; |
|
Lines 40-46
Link Here
|
| 40 |
import org.eclipse.swt.layout.GridData; |
37 |
import org.eclipse.swt.layout.GridData; |
| 41 |
import org.eclipse.swt.widgets.Display; |
38 |
import org.eclipse.swt.widgets.Display; |
| 42 |
import org.eclipse.swt.widgets.Shell; |
39 |
import org.eclipse.swt.widgets.Shell; |
| 43 |
import org.eclipse.tptp.platform.agentcontroller.config.Logger; |
|
|
| 44 |
import org.eclipse.tptp.platform.iac.administrator.AdminPlugin; |
40 |
import org.eclipse.tptp.platform.iac.administrator.AdminPlugin; |
| 45 |
import org.eclipse.tptp.platform.iac.administrator.internal.config.ConfigGenerator; |
41 |
import org.eclipse.tptp.platform.iac.administrator.internal.config.ConfigGenerator; |
| 46 |
import org.eclipse.tptp.platform.iac.administrator.internal.preference.PreferenceMessages; |
42 |
import org.eclipse.tptp.platform.iac.administrator.internal.preference.PreferenceMessages; |
|
Lines 488-494
Link Here
|
| 488 |
//242291 |
484 |
//242291 |
| 489 |
if(iacExecutable != null){ |
485 |
if(iacExecutable != null){ |
| 490 |
String configDir = (new IACConfigUtil()).getACConfigDirectory(getIACHome(), true, true).getAbsolutePath(); |
486 |
String configDir = (new IACConfigUtil()).getACConfigDirectory(getIACHome(), true, true).getAbsolutePath(); |
| 491 |
iacExecutable = iacExecutable + " -d " + "\"" + configDir + "\""; |
487 |
if(CommonConstants.OPERATING_SYSTEM.indexOf("windows") != -1 ) |
|
|
488 |
iacExecutable = iacExecutable + " -d " + "\"" + configDir + "\""; |
| 489 |
else |
| 490 |
iacExecutable = iacExecutable + " -d " + configDir; |
| 492 |
} |
491 |
} |
| 493 |
|
492 |
|
| 494 |
return iacExecutable; |
493 |
return iacExecutable; |