import org.argeo.slc.ui.launch.EmbeddedSlcSystem;\r
import org.argeo.slc.ui.launch.SlcSystem;\r
import org.argeo.slc.ui.launch.SlcUiLaunchPlugin;\r
-import org.argeo.slc.ui.launch.preferences.SlcPreferencePage;\r
+import org.argeo.slc.ui.launch.preferences.SlcLaunchPreferencePage;\r
import org.eclipse.core.resources.IFile;\r
import org.eclipse.core.resources.IProject;\r
import org.eclipse.core.resources.ResourcesPlugin;\r
public final static String ANT_MAIN = "org.apache.tools.ant.Main";\r
public final static String SLC_MAIN = "org.argeo.slc.cli.SlcMain";\r
\r
+ @SuppressWarnings("deprecation")\r
public void launch(ILaunchConfiguration configuration, String mode,\r
ILaunch launch, IProgressMonitor monitor) throws CoreException {\r
if (!saveBeforeLaunch(configuration, mode, monitor))\r
if (slcSystem == null) {\r
String slcRuntimePath = SlcUiLaunchPlugin.getDefault()\r
.getPreferenceStore().getString(\r
- SlcPreferencePage.PREF_SLC_RUNTIME_LOCATION);\r
+ SlcLaunchPreferencePage.PREF_SLC_RUNTIME_LOCATION);\r
if (slcRuntimePath == null || slcRuntimePath.equals("")) {\r
showError("SLC Runtime path is not set. Set it in Windows > Preferences > SLC");\r
return null;\r