JBoss Tools SVN: r41082 - trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2012-05-16 15:24:17 -0400 (Wed, 16 May 2012)
New Revision: 41082
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java
Log:
JBIDE-11728 - Fixing issue with missing / in http:/ when testing JAX-RS methods with parms (also handling https)
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java 2012-05-16 19:22:42 UTC (rev 41081)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java 2012-05-16 19:24:17 UTC (rev 41082)
@@ -101,8 +101,11 @@
modified = modified.replace("//", "/"); //$NON-NLS-1$ //$NON-NLS-2$
// fix JBIDE-11728
- modified = modified.replace("http:/", "http://"); //$NON-NLS-1$ //$NON-NLS-2$
- modified = modified.replace("https:/", "https://"); //$NON-NLS-1$ //$NON-NLS-2$
+ if (modified.startsWith("http:/") && !modified.startsWith("http://")) { //$NON-NLS-1$ //$NON-NLS-2$
+ modified = modified.replace("http:/", "http://"); //$NON-NLS-1$ //$NON-NLS-2$
+ } else if (modified.startsWith("https:/") && !modified.startsWith("https://")) { //$NON-NLS-1$ //$NON-NLS-2$
+ modified = modified.replace("https:/", "https://"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
return modified;
}
12 years, 8 months
JBoss Tools SVN: r41081 - trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2012-05-16 15:22:42 -0400 (Wed, 16 May 2012)
New Revision: 41081
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java
Log:
JBIDE-11728 - Fixing issue with missing / in http:/ when testing JAX-RS methods with parms (also handling https)
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java 2012-05-16 19:21:37 UTC (rev 41080)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java 2012-05-16 19:22:42 UTC (rev 41081)
@@ -102,6 +102,7 @@
// fix JBIDE-11728
modified = modified.replace("http:/", "http://"); //$NON-NLS-1$ //$NON-NLS-2$
+ modified = modified.replace("https:/", "https://"); //$NON-NLS-1$ //$NON-NLS-2$
return modified;
}
12 years, 8 months
JBoss Tools SVN: r41080 - trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2012-05-16 15:21:37 -0400 (Wed, 16 May 2012)
New Revision: 41080
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java
Log:
JBIDE-11728 - Fixing issue with missing / in http:/ when testing JAX-RS methods with parms
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java 2012-05-16 19:16:00 UTC (rev 41079)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/dialogs/WSTesterURLInputsDialog.java 2012-05-16 19:21:37 UTC (rev 41080)
@@ -99,6 +99,10 @@
}
}
modified = modified.replace("//", "/"); //$NON-NLS-1$ //$NON-NLS-2$
+
+ // fix JBIDE-11728
+ modified = modified.replace("http:/", "http://"); //$NON-NLS-1$ //$NON-NLS-2$
+
return modified;
}
return stashedURL;
12 years, 8 months
JBoss Tools SVN: r41079 - in trunk/archives/tests/org.jboss.tools.archives.ui.bot.test: META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-05-16 15:16:00 -0400 (Wed, 16 May 2012)
New Revision: 41079
Added:
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/pom.xml
Modified:
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/META-INF/MANIFEST.MF
Log:
fixed continuous build errors after
41069 5/16/12 7:23 AM 3 jjankovi archives bot test is now included as module in tests' pom.xml
added pom.xml for new swt bot test plugin and synchronized version for it with component version
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/META-INF/MANIFEST.MF 2012-05-16 18:47:51 UTC (rev 41078)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/META-INF/MANIFEST.MF 2012-05-16 19:16:00 UTC (rev 41079)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: Test
Bundle-SymbolicName: org.jboss.tools.archives.ui.bot.test
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 3.2.1.qualifier
Bundle-Activator: org.jboss.tools.archives.ui.bot.test.Activator
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.swtbot.eclipse.core;bundle-version="2.0.0",
Added: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/pom.xml
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/pom.xml (rev 0)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/pom.xml 2012-05-16 19:16:00 UTC (rev 41079)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools.archives</groupId>
+ <artifactId>tests</artifactId>
+ <version>3.2.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.archives.tests</groupId>
+ <artifactId>org.jboss.tools.archives.ui.bot.test</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <properties>
+ <coverage.filter>org.jboss.ide.eclipse.archives.ui*</coverage.filter>
+ <emma.instrument.bundles>org.jboss.ide.eclipse.archives.ui</emma.instrument.bundles>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <configuration>
+ <useUIThread>false</useUIThread>
+ <skip>${swtbot.test.skip}</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
12 years, 8 months
JBoss Tools SVN: r41078 - trunk/documentation/whatsnew/openshift.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-05-16 14:47:51 -0400 (Wed, 16 May 2012)
New Revision: 41078
Modified:
trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.Beta3.html
Log:
[JBIDE-11763] writing N&N
Modified: trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.Beta3.html
===================================================================
--- trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.Beta3.html 2012-05-16 18:36:36 UTC (rev 41077)
+++ trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.Beta3.html 2012-05-16 18:47:51 UTC (rev 41078)
@@ -37,19 +37,132 @@
<tr>
<td colspan="2">
<hr />
- <h3>XXX</h3>
+ <h3>OpenShift Explorer</h3>
<hr />
</td>
</tr>
<tr>
<td valign="top" align="left">
<a name="itemname3" id="itemname3"></a>
- <b>XXX</b>
+ <b>Show environment</b>
</td>
<td valign="top">
some content
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11632">Related Jira</a>,
+ </small>
+ </p>
</td>
</tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Port forwarding</b>
+ </td>
+ <td valign="top">
+ some content
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11073">Related Jira</a>,
+ </small>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Delete Domain</b>
+ </td>
+ <td valign="top">
+ Delete domain with all applications
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-10666">Related Jira</a>,
+ </small>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>OpenShift Application Wizards</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Import to existing project</b>
+ </td>
+ <td valign="top">
+ some content
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11162">Related Jira</a>,
+ </small>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Scalable applications</b>
+ </td>
+ <td valign="top">
+ some content
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11505">Related Jira</a>,
+ </small>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>OpenShift Server Adapter</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>Multimodule projects</b>
+ </td>
+ <td valign="top">
+ some content
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11166">Related Jira</a>,
+ </small>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>OpenShift Java Client</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <a name="itemname3" id="itemname3"></a>
+ <b>REST client</b>
+ </td>
+ <td valign="top">
+ We rewrote the existing <b>openshift-java-client</b> to use the new RESTful service that's now available for OpenShift.<br />
+ It's already pretty stable since this is what we use in our Eclipse based tooling. The source is hosted at github:
+ <a href="https://github.com/openshift/openshift-java-client/tree/rest">https://github.com/openshift/openshift-java-client/tree/rest</a>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11339">Related Jira</a>,
+ <a href="https://issues.jboss.org/browse/JBIDE-11400">Related Jira</a>
+ </small>
+ </p>
+ </td>
+ </tr>
</table>
</body>
12 years, 8 months
JBoss Tools SVN: r41077 - trunk/build/parent.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-05-16 14:36:36 -0400 (Wed, 16 May 2012)
New Revision: 41077
Modified:
trunk/build/parent/pom.xml
Log:
https://issues.jboss.org/browse/JBDS-1990 Build JBDS product w/ Tycho?
added mac osx x86_64 and win x86_64 to target platform configuration to make maven build for product assembling p2repo for all supported platforms
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2012-05-16 18:01:10 UTC (rev 41076)
+++ trunk/build/parent/pom.xml 2012-05-16 18:36:36 UTC (rev 41077)
@@ -147,11 +147,21 @@
<arch>x86</arch>
</environment>
<environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
12 years, 8 months
JBoss Tools SVN: r41076 - in trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples: model and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-05-16 14:01:10 -0400 (Wed, 16 May 2012)
New Revision: 41076
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExample.java
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExampleUtil.java
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java
Log:
JBIDE-11888 - Problems with opening readme.md
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2012-05-16 17:48:28 UTC (rev 41075)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2012-05-16 18:01:10 UTC (rev 41076)
@@ -36,7 +36,6 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
import org.apache.commons.lang.StringEscapeUtils;
import org.eclipse.core.filesystem.EFS;
@@ -136,7 +135,6 @@
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
-import org.xml.sax.SAXException;
/**
* The activator class controls the plug-in life cycle
@@ -662,12 +660,15 @@
return editorDesc;
}
+
public static void fixWelcome(ProjectExample project) {
- if (project == null || project.isWelcome()) {
+ if (project == null) {
return;
}
+ if (!project.isWelcomeFixRequired()) {
+ return;
+ }
checkCheatsheet(project);
-
}
protected static void checkCheatsheet(ProjectExample project) {
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExample.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExample.java 2012-05-16 17:48:28 UTC (rev 41075)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExample.java 2012-05-16 18:01:10 UTC (rev 41076)
@@ -39,6 +39,7 @@
private boolean welcome;
private String type;
private String welcomeURL;
+ private boolean welcomeFixRequired = true;
private List<ProjectFix> fixes = new ArrayList<ProjectFix>();
private List<ProjectFix> unsatisfiedFixes;
private String perspectiveId;
@@ -344,4 +345,12 @@
public Set<String> getEssentialEnterpriseDependencyGavs() {
return essentialEnterpriseDependencies;
}
+
+ public boolean isWelcomeFixRequired() {
+ return welcomeFixRequired;
+ }
+
+ public void setWelcomeFixRequired(boolean welcomeFixRequired) {
+ this.welcomeFixRequired = welcomeFixRequired;
+ }
}
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExampleUtil.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExampleUtil.java 2012-05-16 17:48:28 UTC (rev 41075)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExampleUtil.java 2012-05-16 18:01:10 UTC (rev 41076)
@@ -381,6 +381,7 @@
.log(Messages.ProjectUtil_Invalid_welcome_element);
} else {
project.setWelcomeURL(attribute.trim());
+ project.setWelcomeFixRequired(false);
}
} else if (nodeName.equals("mavenArchetype")) { //$NON-NLS-1$
parseMavenArchetype(project, child);
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java 2012-05-16 17:48:28 UTC (rev 41075)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java 2012-05-16 18:01:10 UTC (rev 41076)
@@ -119,6 +119,7 @@
setTitle(projectExample.getShortDescription());
setDescription("'" + projectExample.getShortDescription() + "' Project is now ready");
if (showReadme != null) {
+ ProjectExamplesActivator.fixWelcome(projectExample);
if (projectExample.isWelcome()) {
showReadme.setEnabled(true);
showReadme.setSelection(store.getBoolean(ProjectExamplesActivator.SHOW_README));
12 years, 8 months
JBoss Tools SVN: r41075 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-05-16 13:48:28 -0400 (Wed, 16 May 2012)
New Revision: 41075
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPageModel.java
Log:
[JBIDE-11861] now using a variable name (static prefix 'jbosstools' + timestamp) to store the ssh key to the pass (was: static name)
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPageModel.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPageModel.java 2012-05-16 15:55:36 UTC (rev 41074)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPageModel.java 2012-05-16 17:48:28 UTC (rev 41075)
@@ -13,6 +13,8 @@
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
import org.eclipse.core.runtime.Preferences;
import org.eclipse.jsch.internal.core.IConstants;
@@ -106,10 +108,17 @@
ISSHPublicKey sshKey = loadSshKey();
IOpenShiftSSHKey sshKeyResource = user.getSSHKeyByPublicKey(sshKey.getPublicKey());
if (sshKeyResource == null) {
- user.putSSHKey(SSHKEY_DEFAULT_NAME, sshKey);
+ user.putSSHKey(getTimestampKeyname(), sshKey);
}
}
+ private String getTimestampKeyname() {
+ return new StringBuilder(
+ SSHKEY_DEFAULT_NAME)
+ .append(new SimpleDateFormat("yyyyMMddhmS").format(new Date()))
+ .toString();
+ }
+
public String getSshKey() {
return sshKey;
}
12 years, 8 months
JBoss Tools SVN: r41074 - in trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui: views and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2012-05-16 11:55:36 -0400 (Wed, 16 May 2012)
New Revision: 41074
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SOAPDOMParser.java
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java
Log:
JBIDE-10947 - Fixing issue with XML pretty print in WS Tester
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SOAPDOMParser.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SOAPDOMParser.java 2012-05-16 15:27:10 UTC (rev 41073)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SOAPDOMParser.java 2012-05-16 15:55:36 UTC (rev 41074)
@@ -255,6 +255,26 @@
return retBool;
}
+
+ public static boolean isValidXML(String xml) {
+ //get the factory
+ DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+
+ try {
+
+ //Using factory get an instance of document builder
+ DocumentBuilder db = dbf.newDocumentBuilder();
+
+ //parse using builder to get DOM representation of the XML file
+ ByteArrayInputStream bais = new ByteArrayInputStream(xml.getBytes());
+ db.parse(bais);
+
+ return true;
+
+ }catch(Exception e) {
+ return false;
+ }
+ }
/**
* Simple JSON pretty print to format JSON output
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java 2012-05-16 15:27:10 UTC (rev 41073)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/JAXRSWSTestView2.java 2012-05-16 15:55:36 UTC (rev 41074)
@@ -1719,7 +1719,7 @@
public void run() {
if (status.getResultsText() != null) {
String results = status.getResultsText();
- if (SOAPDOMParser.isXMLLike(results)) {
+ if (SOAPDOMParser.isValidXML(results)) {
results = SOAPDOMParser.prettyPrint(results);
} else {
results = SOAPDOMParser.prettyPrintJSON(results);
12 years, 8 months
JBoss Tools SVN: r41073 - trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-05-16 11:27:10 -0400 (Wed, 16 May 2012)
New Revision: 41073
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java
Log:
JBIDE-11893 - Show readme shouldn't be checked when creating Java EE Project from Central
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java 2012-05-16 15:23:08 UTC (rev 41072)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesReadyPage.java 2012-05-16 15:27:10 UTC (rev 41073)
@@ -127,7 +127,7 @@
showReadme.setText("Show '" + welcomeURL + "' for further instructions");
} else {
showReadme.setEnabled(false);
- showReadme.setSelection(store.getBoolean(ProjectExamplesActivator.SHOW_README));
+ showReadme.setSelection(false);
showReadme.setText(SHOW_README_FILE_FOR_FURTHER_INSTRUCTIONS);
}
}
12 years, 8 months