Community
Participate
Working Groups
if(value.toString().indexOf("probe") != -1)
{
TI_JVM_FLAG = TI_PROBE_JVM_FLAG;
String VMArgs = launchConfiguration.getAttribute("executableArgs", "");
String VMArgs = launchConfiguration.getAttribute("executab1leArgs", "");
TI_JVM_FLAG = VMArgs + " " + TI_JVM_FLAG ;
//255813 need to deal with the Remote Java Application use case
//where the specified classpath needs to be added to the bootclasspath
String classpath = launchConfiguration.getAttribute(IProfileLaunchConfigurationConstants.ATTR_CLASSPATH, (String)null);
if(classpath != null) {
StringBuffer bootClassPath = new StringBuffer();
bootClassPath.append("-Xbootclasspath/p:"); //$NON-NLS-1$
/* If this is a Windows operating system, add quotes to the beginning and end of
* the value passed to bootclasspath. This is done in case there are spaces in the
* path(s) specified. */
boolean isWindows = false;
if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1) //$NON-NLS-1$ //$NON-NLS-2$
bootClassPath.append("\""); //$NON-NLS-1$
isWindows = true;
}
bootClassPath.append(classpath);
if (isWindows)
VMArgs += " " + bootClassPath.toString(); //$NON-NLS-1$
TI_JVM_FLAG = VMArgs + " " + TI_JVM_FLAG ; //$NON-NLS-1$
isCGProf = false;
break;