JBoss Tools SVN: r24275 - in trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui: utils and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2010-08-18 16:28:50 -0400 (Wed, 18 Aug 2010)
New Revision: 24275
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUIMessages.java
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/TesterWSDLUtils.java
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/WSDLBrowseDialog.java
Log:
OPEN - issue JBIDE-6851: [tester] provide ability to read WSDL exxposed over HTTPS
https://jira.jboss.org/browse/JBIDE-6851
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties 2010-08-18 19:40:14 UTC (rev 24274)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties 2010-08-18 20:28:50 UTC (rev 24275)
@@ -158,6 +158,8 @@
DelimitedStringList_Msg_Yes_Btn=Yes
DelimitedStringList_NO_COMMAS_WARNING=There are no commas delimiting the name and value for this key/value pair.
DelimitedStringList_NO_EQUALS_DELIMITER_WARNING=Parameters should be in 'name=value' format.
+TesterWSDLUtils_WSDL_HTTPS_Secured_Inaccessible=WSDL is secured and inaccessible. Try saving a copy of the WSDL and using the file copy instead.
+TesterWSDLUtils_WSDL_Inaccessible=WSDL is inaccessible.
UidPwdDialog_Description=Specify the user name and password to access this web service via basic authentication.
UidPwdDialog_PWD_Label=Password:
UidPwdDialog_Title=User Name/ Password
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUIMessages.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUIMessages.java 2010-08-18 19:40:14 UTC (rev 24274)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUIMessages.java 2010-08-18 20:28:50 UTC (rev 24275)
@@ -157,6 +157,8 @@
public static String JAXRSWSTestView2_Text_Msg_May_Be_Out_of_Date;
public static String JAXRSWSTestView2_Title_Msg_May_Be_Out_of_Date;
public static String ResultsXMLStorageInput_WS_Invocation_Results_Prefix;
+ public static String TesterWSDLUtils_WSDL_HTTPS_Secured_Inaccessible;
+ public static String TesterWSDLUtils_WSDL_Inaccessible;
public static String UidPwdDialog_Description;
public static String UidPwdDialog_PWD_Label;
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/TesterWSDLUtils.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/TesterWSDLUtils.java 2010-08-18 19:40:14 UTC (rev 24274)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/TesterWSDLUtils.java 2010-08-18 20:28:50 UTC (rev 24275)
@@ -47,6 +47,10 @@
import javax.xml.namespace.QName;
//import org.jdom.Attribute;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.jboss.tools.ws.core.utils.StatusUtils;
+import org.jboss.tools.ws.ui.messages.JBossWSUIMessages;
import org.jdom.Namespace;
import org.jdom.input.DOMBuilder;
@@ -122,6 +126,38 @@
return def;
}
+ public static IStatus isWSDLAccessible(URL contextURL) {
+ Properties props = System.getProperties();
+ String oldPropValue = props.getProperty(DEF_FACTORY_PROPERTY_NAME);
+
+ props.setProperty(DEF_FACTORY_PROPERTY_NAME, PRIVATE_DEF_FACTORY_CLASS);
+
+ WSDLFactory factory;
+ try {
+ factory = WSDLFactory.newInstance();
+ WSDLReader wsdlReader = factory.newWSDLReader();
+ wsdlReader.setFeature(Constants.FEATURE_VERBOSE, false);
+ wsdlReader.setFeature("javax.wsdl.importDocuments", true); //$NON-NLS-1$
+ String context = null;
+ if (contextURL != null)
+ context = contextURL.toString();
+ wsdlReader.readWSDL(context);
+ } catch (WSDLException e) {
+ if (contextURL.getProtocol().equalsIgnoreCase("https")) { //$NON-NLS-1$
+ return StatusUtils.warningStatus(JBossWSUIMessages.TesterWSDLUtils_WSDL_HTTPS_Secured_Inaccessible);
+ } else {
+ return StatusUtils.errorStatus(JBossWSUIMessages.TesterWSDLUtils_WSDL_Inaccessible, e);
+ }
+ }
+
+ if (oldPropValue != null) {
+ props.setProperty(DEF_FACTORY_PROPERTY_NAME, oldPropValue);
+ } else {
+ props.remove(DEF_FACTORY_PROPERTY_NAME);
+ }
+ return Status.OK_STATUS;
+ }
+
public static Definition readWSDLURL(URL contextURL) throws WSDLException, NullPointerException {
Properties props = System.getProperties();
String oldPropValue = props.getProperty(DEF_FACTORY_PROPERTY_NAME);
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/WSDLBrowseDialog.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/WSDLBrowseDialog.java 2010-08-18 19:40:14 UTC (rev 24274)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/WSDLBrowseDialog.java 2010-08-18 20:28:50 UTC (rev 24275)
@@ -423,6 +423,11 @@
.beginTask(JBossWSUIMessages.WSDLBrowseDialog_Status_ParsingWSDLFromURL,
100);
try {
+ IStatus testStatus =
+ TesterWSDLUtils.isWSDLAccessible(testURL);
+ if (testStatus.getSeverity() != IStatus.OK){
+ result = testStatus;
+ }
wsdlDefinition =
TesterWSDLUtils.readWSDLURL(testURL);
} catch (WSDLException e) {
@@ -454,6 +459,12 @@
}
} else {
try {
+ IStatus testStatus =
+ TesterWSDLUtils.isWSDLAccessible(testURL);
+ if (testStatus.getSeverity() != IStatus.OK) {
+ return StatusUtils.errorStatus(testStatus.getMessage(),
+ testStatus.getException());
+ }
wsdlDefinition =
TesterWSDLUtils.readWSDLURL(testURL);
} catch (WSDLException e) {
15 years, 4 months
JBoss Tools SVN: r24274 - trunk/vpe/site.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-18 15:40:14 -0400 (Wed, 18 Aug 2010)
New Revision: 24274
Modified:
trunk/vpe/site/site.xml
Log:
https://jira.jboss.org/browse/JBIDE-6834 Nightly update site http://download.jboss.org/jbosstools/updates/nightly/trunk still has XULRunner 1.9.2
fixed version of xulrunner included into update site.xml
Modified: trunk/vpe/site/site.xml
===================================================================
--- trunk/vpe/site/site.xml 2010-08-18 19:24:47 UTC (rev 24273)
+++ trunk/vpe/site/site.xml 2010-08-18 19:40:14 UTC (rev 24274)
@@ -8,7 +8,8 @@
<feature url="features/org.jboss.tools.vpe.feature_0.0.0.jar" id="org.jboss.tools.vpe.feature" version="0.0.0">
<category name="JBoss Tools vpe Nightly Build Update Site"/>
</feature>
- <feature url="features/org.jboss.tools.xulrunner.feature_0.0.0.jar" id="org.jboss.tools.xulrunner.feature" version="0.0.0">
+ <!-- XulRunner requires version in declaration to avoid include latest 1.9.2 in build -->
+ <feature url="features/org.mozilla.xulrunner.feature_1.9.1.2.jar" id="org.mozilla.xulrunner.feature" version="1.9.1.2">
<category name="JBoss Tools vpe Nightly Build Update Site"/>
</feature>
15 years, 4 months
JBoss Tools SVN: r24273 - in trunk: hibernatetools/site and 15 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-18 15:24:47 -0400 (Wed, 18 Aug 2010)
New Revision: 24273
Added:
trunk/freemarker/site/.project
trunk/hibernatetools/site/.project
trunk/jbpm/site/.project
trunk/jmx/site/.project
trunk/jsf/site/.project
trunk/jst/site/.project
trunk/maven/site/.project
trunk/modeshape/site/.project
trunk/portlet/site/.project
trunk/profiler/site/.project
trunk/seam/site/.project
trunk/site/.project
trunk/smooks/site/.project
trunk/struts/site/.project
trunk/tptp/site/.project
trunk/vpe/site/.project
trunk/ws/site/.project
Log:
update site should be available as eclipse projects during import
.project files are added
Added: trunk/freemarker/site/.project
===================================================================
--- trunk/freemarker/site/.project (rev 0)
+++ trunk/freemarker/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>freemarker-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/freemarker/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/site/.project
===================================================================
--- trunk/hibernatetools/site/.project (rev 0)
+++ trunk/hibernatetools/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>hibernate-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/hibernatetools/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/site/.project
===================================================================
--- trunk/jbpm/site/.project (rev 0)
+++ trunk/jbpm/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jbpm-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/jbpm/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jmx/site/.project
===================================================================
--- trunk/jmx/site/.project (rev 0)
+++ trunk/jmx/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jmx-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/jmx/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/site/.project
===================================================================
--- trunk/jsf/site/.project (rev 0)
+++ trunk/jsf/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jsf-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/jsf/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/site/.project
===================================================================
--- trunk/jst/site/.project (rev 0)
+++ trunk/jst/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jst-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/jst/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/maven/site/.project
===================================================================
--- trunk/maven/site/.project (rev 0)
+++ trunk/maven/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>maven-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/maven/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/site/.project
===================================================================
--- trunk/modeshape/site/.project (rev 0)
+++ trunk/modeshape/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>modshape-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/modeshape/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/portlet/site/.project
===================================================================
--- trunk/portlet/site/.project (rev 0)
+++ trunk/portlet/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>portlet-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/portlet/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/profiler/site/.project
===================================================================
--- trunk/profiler/site/.project (rev 0)
+++ trunk/profiler/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>profiler-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/profiler/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/site/.project
===================================================================
--- trunk/seam/site/.project (rev 0)
+++ trunk/seam/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>seam-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/seam/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/site/.project
===================================================================
--- trunk/site/.project (rev 0)
+++ trunk/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/site/.project
===================================================================
--- trunk/smooks/site/.project (rev 0)
+++ trunk/smooks/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>smooks-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/smooks/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/struts/site/.project
===================================================================
--- trunk/struts/site/.project (rev 0)
+++ trunk/struts/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>struts-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/struts/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/tptp/site/.project
===================================================================
--- trunk/tptp/site/.project (rev 0)
+++ trunk/tptp/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>tptp-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/tptp/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/site/.project
===================================================================
--- trunk/vpe/site/.project (rev 0)
+++ trunk/vpe/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>vpe-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/vpe/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/ws/site/.project
===================================================================
--- trunk/ws/site/.project (rev 0)
+++ trunk/ws/site/.project 2010-08-18 19:24:47 UTC (rev 24273)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>ws-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/ws/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 4 months
JBoss Tools SVN: r24272 - trunk/gwt/site.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-18 15:23:38 -0400 (Wed, 18 Aug 2010)
New Revision: 24272
Modified:
trunk/gwt/site/.project
trunk/gwt/site/site.xml
Log:
fix for gwt update site
Property changes on: trunk/gwt/site/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Property changes on: trunk/gwt/site/site.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 4 months
JBoss Tools SVN: r24271 - in trunk/common/plugins: org.jboss.tools.common.model.ui and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-18 14:49:32 -0400 (Wed, 18 Aug 2010)
New Revision: 24271
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/
trunk/common/plugins/org.jboss.tools.common.model/
Log:
jars built by maven added to svn:ignore
Property changes on: trunk/common/plugins/org.jboss.tools.common.model
___________________________________________________________________
Name: svn:ignore
- target
buildlog.latest.txt
bin
build
*.class
+ target
buildlog.latest.txt
bin
build
*.class
org.jboss.tools.common.model.jar
Property changes on: trunk/common/plugins/org.jboss.tools.common.model.ui
___________________________________________________________________
Name: svn:ignore
- target
buildlog.latest.txt
bin
build
*.class
+ target
buildlog.latest.txt
bin
build
*.class
org.jboss.tools.common.model.ui.jar
15 years, 4 months
JBoss Tools SVN: r24270 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-18 14:37:44 -0400 (Wed, 18 Aug 2010)
New Revision: 24270
Added:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/about.html
Log:
about.html added to deltacloud.ui
Added: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/about.html
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/about.html (rev 0)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/about.html 2010-08-18 18:37:44 UTC (rev 24270)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>Cloud Development Tools</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>Cloud Development Tools</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/about.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 4 months
JBoss Tools SVN: r24269 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/validation.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-18 14:20:15 -0400 (Wed, 18 Aug 2010)
New Revision: 24269
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/validation/SeamProjectPropertyValidatorWrapper.java
Log:
@Override annotation removed from interface method implementation
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/validation/SeamProjectPropertyValidatorWrapper.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/validation/SeamProjectPropertyValidatorWrapper.java 2010-08-18 17:55:09 UTC (rev 24268)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/validation/SeamProjectPropertyValidatorWrapper.java 2010-08-18 18:20:15 UTC (rev 24269)
@@ -73,7 +73,6 @@
/* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager#getMarkerOwner()
*/
- @Override
protected Class getMarkerOwner() {
return SeamProjectPropertyValidatorWrapper.this.getClass();
}
15 years, 4 months
JBoss Tools SVN: r24268 - trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2010-08-18 13:55:09 -0400 (Wed, 18 Aug 2010)
New Revision: 24268
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
Log:
OPEN - issue JBIDE-6850: [tester] provide ability to test services running over HTTPS
https://jira.jboss.org/browse/JBIDE-6850
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java 2010-08-18 17:07:30 UTC (rev 24267)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java 2010-08-18 17:55:09 UTC (rev 24268)
@@ -16,6 +16,15 @@
import java.util.Map;
import java.util.concurrent.ExecutionException;
+import javax.net.ssl.TrustManager;
+import javax.net.ssl.X509TrustManager;
+import javax.net.ssl.HostnameVerifier;
+import javax.net.ssl.HttpsURLConnection;
+import javax.net.ssl.SSLContext;
+import javax.net.ssl.SSLSession;
+import java.security.SecureRandom;
+import java.security.cert.CertificateException;
+import java.security.cert.X509Certificate;
import javax.xml.namespace.QName;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.SOAPBody;
@@ -92,7 +101,39 @@
String serviceName, String messageName, String body, String uid, String pwd ) throws Exception {
this.resultBody = EMPTY_STRING;
+
+ // in case we're using SSL security...
+ if (endpointurl.toLowerCase().startsWith("https://")) { //$NON-NLS-1$
+ TrustManager t = new X509TrustManager() {
+
+ @Override
+ public X509Certificate[] getAcceptedIssuers() {
+ return new X509Certificate[0];
+ }
+
+ @Override
+ public void checkServerTrusted(X509Certificate[] arg0, String arg1)
+ throws CertificateException {
+ }
+
+ @Override
+ public void checkClientTrusted(X509Certificate[] arg0, String arg1) {
+ }
+ };
+ TrustManager[] tm = new TrustManager[] {t};
+ SSLContext ctx = SSLContext.getInstance("SSL"); //$NON-NLS-1$
+ ctx.init(null, tm, new SecureRandom());
+ HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
+ HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
+
+ @Override
+ public boolean verify(String hostname, SSLSession session) {
+ return true;
+ }
+ });
+ }
+
URL serviceURL = new URL (endpointurl); //"http://www.ecubicle.net/gsearch_rss.asmx"
QName serviceQName = new QName (ns, serviceName); // "http://www.ecubicle.net/webservices", "gsearch_rss"
Service s = Service.create(serviceURL, serviceQName);
15 years, 4 months
JBoss Tools SVN: r24267 - in trunk/usage/plugins/org.jboss.tools.usage: src/org/jboss/tools/usage/reporting and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-08-18 13:07:30 -0400 (Wed, 18 Aug 2010)
New Revision: 24267
Modified:
trunk/usage/plugins/org.jboss.tools.usage/JBoss Usage Reporter.launch
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/reporting/EclipseEnvironment.java
Log:
[JBIDE-6376] * eclipse instance id now stays constant (changed on each restart before)
Modified: trunk/usage/plugins/org.jboss.tools.usage/JBoss Usage Reporter.launch
===================================================================
--- trunk/usage/plugins/org.jboss.tools.usage/JBoss Usage Reporter.launch 2010-08-18 17:00:27 UTC (rev 24266)
+++ trunk/usage/plugins/org.jboss.tools.usage/JBoss Usage Reporter.launch 2010-08-18 17:07:30 UTC (rev 24267)
@@ -6,8 +6,8 @@
<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="clearConfig" value="false"/>
+<booleanAttribute key="clearws" value="false"/>
<booleanAttribute key="clearwslog" value="false"/>
<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/JBoss Usage Reporter"/>
<booleanAttribute key="default" value="true"/>
Modified: trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/reporting/EclipseEnvironment.java
===================================================================
--- trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/reporting/EclipseEnvironment.java 2010-08-18 17:00:27 UTC (rev 24266)
+++ trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/reporting/EclipseEnvironment.java 2010-08-18 17:07:30 UTC (rev 24267)
@@ -179,27 +179,19 @@
}
public String getUserId() {
- if (PreferencesUtils.getStore().contains(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID)) {
- return PreferencesUtils.getStore().getString(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID);
- } else {
- String userId = createIdentifier();
- PreferencesUtils.getStore().putValue(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID, userId);
- return userId;
+ IEclipsePreferences preferences = PreferencesUtils.getPreferences();
+ String userId = preferences.get(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID, null);
+ try {
+ if (userId == null) {
+ userId = createIdentifier();
+ preferences.put(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID, userId);
+ preferences.flush();
+ }
+ } catch (BackingStoreException e) {
+ StatusUtils.getErrorStatus(JBossToolsUsageActivator.PLUGIN_ID, "Could not retrieve {0} from preferences.",
+ e, IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID);
}
-// IEclipsePreferences preferences = Preferences.getConfigurationPreferences();
-// String userId = createIdentifier();
-// try {
-// if (!preferences.nodeExists(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID)) {
-// preferences.put(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID, userId);
-// preferences.flush();
-// } else {
-// userId = preferences.get(IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID, userId);
-// }
-// } catch (BackingStoreException e) {
-// StatusUtils.getErrorStatus(JBossToolsUsageActivator.PLUGIN_ID, "Could not retrieve {0} from preferences.",
-// e, IUsageReportPreferenceConstants.ECLIPSE_INSTANCE_ID);
-// }
-// return userId;
+ return userId;
}
/**
15 years, 4 months