[566997] remove extra scriptlet indentation Change-Id: I7c9ddc553de62220901a3d91bd63307bda8e5504
diff --git a/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/JSPTranslationExtension.java b/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/JSPTranslationExtension.java index 2e488e1..737c3fc 100644 --- a/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/JSPTranslationExtension.java +++ b/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/JSPTranslationExtension.java
@@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2011 IBM Corporation and others. + * Copyright (c) 2004, 2020 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -271,11 +271,8 @@ preDelimiterWhitespace = preDelimiterWhitespace.replaceAll("\r", ""); //$NON-NLS-1$ //$NON-NLS-2$ preDelimiterWhitespace = preDelimiterWhitespace.replaceAll("\n", ""); //$NON-NLS-1$ //$NON-NLS-2$ - // need to determine indent for that first line... - String initialIndent = getInitialIndent(result); - // fix the first line of java code - result = TextUtilities.getDefaultLineDelimiter(sDoc) + initialIndent + result; + result = TextUtilities.getDefaultLineDelimiter(sDoc) + result; result = adjustIndent(result, preDelimiterWhitespace, TextUtilities.getDefaultLineDelimiter(sDoc)); @@ -349,27 +346,6 @@ } - private String getInitialIndent(String result) { - // BUG188636 - just get initial indent from code formatter - String indent = getCodeFormatter().createIndentationString(1); - // // get indent after 2nd line break - // String indent = ""; //$NON-NLS-1$ - // StringTokenizer st = new StringTokenizer(result, "\r\n", false); - // //$NON-NLS-1$ - // if (st.countTokens() > 1) { - // String tok = st.nextToken(); - // tok = st.nextToken(); - // int index = 0; - // if (tok != null) { - // while (tok.charAt(index) == ' ' || tok.charAt(index) == '\t') { - // indent += tok.charAt(index); - // index++; - // } - // } - // } - return indent; - } - private CodeFormatter getCodeFormatter() { if (fCodeFormatter == null) fCodeFormatter = ToolFactory.createCodeFormatter(null);
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/format/TestContentFormatter.java b/web/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/format/TestContentFormatter.java index 480192d..664b80d 100644 --- a/web/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/format/TestContentFormatter.java +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/format/TestContentFormatter.java
@@ -250,4 +250,46 @@ JSPUIPlugin.getInstance().getPreferenceStore().setValue(JSPUIPreferenceNames.USE_HTML_FORMATTER, true); } } + + public void testFormatJava1() throws UnsupportedEncodingException, IOException, CoreException { + String beforePath = "/" + PROJECT_NAME + "/WebContent/format_java1.jsp"; + String afterPath = "/" + PROJECT_NAME + "/WebContent/format_java1-fmt.jsp"; + formatAndAssertSignificantEquals(beforePath, false); + formatAndAssertEquals(beforePath, afterPath, true); + } + + public void testFormatJava2() throws UnsupportedEncodingException, IOException, CoreException { + String beforePath = "/" + PROJECT_NAME + "/WebContent/format_java2.jsp"; + String afterPath = "/" + PROJECT_NAME + "/WebContent/format_java2-fmt.jsp"; + formatAndAssertSignificantEquals(beforePath, false); + formatAndAssertEquals(beforePath, afterPath, true); + } + + public void testFormatJava3() throws UnsupportedEncodingException, IOException, CoreException { + String beforePath = "/" + PROJECT_NAME + "/WebContent/format_java3.jsp"; + String afterPath = "/" + PROJECT_NAME + "/WebContent/format_java3-fmt.jsp"; + formatAndAssertSignificantEquals(beforePath, false); + formatAndAssertEquals(beforePath, afterPath, true); + } + + public void testFormatJava4() throws UnsupportedEncodingException, IOException, CoreException { + String beforePath = "/" + PROJECT_NAME + "/WebContent/format_java4.jsp"; + String afterPath = "/" + PROJECT_NAME + "/WebContent/format_java4-fmt.jsp"; + formatAndAssertSignificantEquals(beforePath, false); + formatAndAssertEquals(beforePath, afterPath, true); + } + + public void testFormatJava5() throws UnsupportedEncodingException, IOException, CoreException { + String beforePath = "/" + PROJECT_NAME + "/WebContent/format_java5.jsp"; + String afterPath = "/" + PROJECT_NAME + "/WebContent/format_java5-fmt.jsp"; + formatAndAssertSignificantEquals(beforePath, false); + formatAndAssertEquals(beforePath, afterPath, true); + } + + public void testFormatJava6() throws UnsupportedEncodingException, IOException, CoreException { + String beforePath = "/" + PROJECT_NAME + "/WebContent/format_java6.jsp"; + String afterPath = "/" + PROJECT_NAME + "/WebContent/format_java6-fmt.jsp"; + formatAndAssertSignificantEquals(beforePath, false); + formatAndAssertEquals(beforePath, afterPath, true); + } }
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java1-fmt.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java1-fmt.jsp new file mode 100644 index 0000000..c09c101 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java1-fmt.jsp
@@ -0,0 +1,12 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title> +</head> +<body> + <%="hello, world!"%> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java1.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java1.jsp new file mode 100644 index 0000000..0a874f9 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java1.jsp
@@ -0,0 +1,16 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title> +</head> +<body> +<%= + + "hello, world!" + +%> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java2-fmt.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java2-fmt.jsp new file mode 100644 index 0000000..f7b5c48 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java2-fmt.jsp
@@ -0,0 +1,19 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title> +</head> +<body> + <p> + <% + String a = "hello, world!"; + int b = 5; + + out.println(a + b); + %> + </p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java2.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java2.jsp new file mode 100644 index 0000000..359c608 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java2.jsp
@@ -0,0 +1,20 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title> +</head> +<body><p> +<% + + String a = + "hello, world!"; + int b = 5; + + out.println(a + b); + +%></p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java3-fmt.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java3-fmt.jsp new file mode 100644 index 0000000..1a867c8 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java3-fmt.jsp
@@ -0,0 +1,14 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title> +</head> +<body> + <p> + <%!String a = "hello, world!"; + int b = 5;%></p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java3.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java3.jsp new file mode 100644 index 0000000..a0ec627 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java3.jsp
@@ -0,0 +1,20 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title> +</head> +<body><p> +<%! + + String a = + "hello, world!"; + int b = 5; + + + +%></p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java4-fmt.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java4-fmt.jsp new file mode 100644 index 0000000..c7a4a2e --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java4-fmt.jsp
@@ -0,0 +1,23 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title><%!int addOne(int before) { + return before + 1; + }%> +</head> +<body> + <p> + <% + String a = "hello, world!"; + int b = 5; + + if (a != null && addOne(b) > 4) { + out.print(a); + } + %> + </p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java4.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java4.jsp new file mode 100644 index 0000000..4512107 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java4.jsp
@@ -0,0 +1,25 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title><%!int addOne(int before) { + return before +1; +} + %> +</head> +<body><p> +<% + + String a = + "hello, world!"; + int b = 5; + + if (a != null && addOne(b) > 4) { +out.print(a); + } + +%></p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java5-fmt.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java5-fmt.jsp new file mode 100644 index 0000000..427fc4f --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java5-fmt.jsp
@@ -0,0 +1,27 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title><%!int addOne(int before) { + return before + 1; + } + + String ret(String original) { + return original; + }%> +</head> +<body> + <p> + <% + String a = "hello, world!"; + int b = 5; + + if (ret(a) != null && addOne(b) > 4) { + out.print(a); + } + %> + </p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java5.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java5.jsp new file mode 100644 index 0000000..fac34b4 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java5.jsp
@@ -0,0 +1,25 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title><%!int addOne(int before) { + return before +1; +}String ret(String original) {return original;} + %> +</head> +<body><p> +<% + + String a = + "hello, world!"; + int b = 5; + + if (ret(a) != null && addOne(b) > 4) { +out.print(a); + } + +%></p> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java6-fmt.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java6-fmt.jsp new file mode 100644 index 0000000..f76e1c1 --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java6-fmt.jsp
@@ -0,0 +1,31 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title><%!int addOne(int before) { + return before + 1; + } + + String ret(String original) { + return original; + }%> +</head> +<body> + <table> + <tr> + <td> + <% + String a = "hello, world!"; + int b = 5; + + if (ret(a) != null && addOne(b) > 4) { + out.print(a); + } + %> + </td> + </tr> + </table> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java6.jsp b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java6.jsp new file mode 100644 index 0000000..139c9dd --- /dev/null +++ b/web/tests/org.eclipse.jst.jsp.ui.tests/testfiles/jspformatting/WebContent/format_java6.jsp
@@ -0,0 +1,26 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Insert title here</title><%!int addOne(int before) { + return before +1; +}String ret(String original) {return original;} + %> +</head> +<body> +<table><tr><td> +<% + + String a = + "hello, world!"; + int b = 5; + + if (ret(a) != null && addOne(b) > 4) { +out.print(a); + } + +%></td></tr></table> +</body> +</html> \ No newline at end of file
diff --git a/web/tests/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch b/web/tests/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch index b97efab..352f4b7 100644 --- a/web/tests/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch +++ b/web/tests/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch
@@ -1,46 +1,46 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig"> - <booleanAttribute key="append.args" value="true"/> - <booleanAttribute key="askclear" value="false"/> - <booleanAttribute key="automaticAdd" value="true"/> - <booleanAttribute key="automaticValidate" value="false"/> - <stringAttribute key="bootstrap" value=""/> - <stringAttribute key="checked" value="[NONE]"/> - <booleanAttribute key="clearConfig" value="true"/> - <booleanAttribute key="clearws" value="true"/> - <booleanAttribute key="clearwslog" value="false"/> - <stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/SSE Master List Test Suite"/> - <booleanAttribute key="default" value="true"/> - <booleanAttribute key="includeOptional" value="true"/> - <stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/> - <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> - <listEntry value="/org.eclipse.wst.sse.unittests/src/org/eclipse/wst/sse/unittests/MasterListTestSuite.java"/> - </listAttribute> - <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> - <listEntry value="1"/> - </listAttribute> - <listAttribute key="org.eclipse.debug.ui.favoriteGroups"> - <listEntry value="org.eclipse.debug.ui.launchGroup.debug"/> - <listEntry value="org.eclipse.debug.ui.launchGroup.run"/> - </listAttribute> - <stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> - <booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> - <stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> - <stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> - <booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/> - <stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> - <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.wst.sse.unittests.MasterListTestSuite"/> - <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -showLocation -consoleLog"/> - <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.wst.sse.unittests"/> - <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> - <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms128M -Xmx1024M -Dorg.osgi.framework.bundle.parent=ext"/> - <stringAttribute key="pde.version" value="3.3"/> - <stringAttribute key="product" value="org.eclipse.sdk.ide"/> - <booleanAttribute key="run_in_ui_thread" value="true"/> - <booleanAttribute key="show_selected_only" value="false"/> - <booleanAttribute key="tracing" value="false"/> - <booleanAttribute key="useCustomFeatures" value="false"/> - <booleanAttribute key="useDefaultConfig" value="true"/> - <booleanAttribute key="useDefaultConfigArea" value="true"/> - <booleanAttribute key="useProduct" value="true"/> -</launchConfiguration> +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig"> + <booleanAttribute key="append.args" value="true"/> + <booleanAttribute key="askclear" value="false"/> + <booleanAttribute key="automaticAdd" value="true"/> + <booleanAttribute key="automaticValidate" value="false"/> + <stringAttribute key="bootstrap" value=""/> + <stringAttribute key="checked" value="[NONE]"/> + <booleanAttribute key="clearConfig" value="true"/> + <booleanAttribute key="clearws" value="true"/> + <booleanAttribute key="clearwslog" value="false"/> + <stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/SSE Master List Test Suite"/> + <booleanAttribute key="default" value="true"/> + <booleanAttribute key="includeOptional" value="true"/> + <stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/> + <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> + <listEntry value="/org.eclipse.wst.sse.unittests/src/org/eclipse/wst/sse/unittests/MasterListTestSuite.java"/> + </listAttribute> + <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> + <listEntry value="1"/> + </listAttribute> + <listAttribute key="org.eclipse.debug.ui.favoriteGroups"> + <listEntry value="org.eclipse.debug.ui.launchGroup.debug"/> + <listEntry value="org.eclipse.debug.ui.launchGroup.run"/> + </listAttribute> + <stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> + <booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> + <stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> + <stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> + <booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/> + <stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/> + <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.wst.sse.unittests.MasterListTestSuite"/> + <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -showLocation -consoleLog"/> + <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.wst.sse.unittests"/> + <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> + <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms128M -Xmx1024M -Dorg.osgi.framework.bundle.parent=ext"/> + <stringAttribute key="pde.version" value="3.3"/> + <stringAttribute key="product" value="org.eclipse.sdk.ide"/> + <booleanAttribute key="run_in_ui_thread" value="true"/> + <booleanAttribute key="show_selected_only" value="false"/> + <booleanAttribute key="tracing" value="false"/> + <booleanAttribute key="useCustomFeatures" value="false"/> + <booleanAttribute key="useDefaultConfig" value="true"/> + <booleanAttribute key="useDefaultConfigArea" value="true"/> + <booleanAttribute key="useProduct" value="true"/> +</launchConfiguration>