JBossWS SVN: r9396 - spi/trunk.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-02-25 13:08:50 -0500 (Wed, 25 Feb 2009)
New Revision: 9396
Modified:
spi/trunk/pom.xml
Log:
Moving to 1.1.1
Modified: spi/trunk/pom.xml
===================================================================
--- spi/trunk/pom.xml 2009-02-25 17:31:09 UTC (rev 9395)
+++ spi/trunk/pom.xml 2009-02-25 18:08:50 UTC (rev 9396)
@@ -7,7 +7,7 @@
<artifactId>jbossws-spi</artifactId>
<packaging>jar</packaging>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.1.1-SNAPSHOT</version>
<!-- Parent -->
<parent>
15 years, 10 months
JBossWS SVN: r9395 - in stack/native/trunk/modules/core/src/main/java/org/jboss: ws/core/binding and 11 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-02-25 12:31:09 -0500 (Wed, 25 Feb 2009)
New Revision: 9395
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonClient.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonMessageContext.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/binding/TypeMappingImpl.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceObjectFactoryJAXRPC.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBContextFactory.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/MessageContextJAXWS.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLFragment.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/SecurityStore.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/XSDWriter.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SourceWrapperGenerator.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/JAXBWSDLGenerator.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLGenerator.java
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/NativeWebServiceContext.java
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
Log:
[JBWS-2555] Miscellanous fix for issues reported by FindBugs
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonClient.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonClient.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonClient.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -79,7 +79,7 @@
// provide logging
private static Logger log = Logger.getLogger(CommonClient.class);
- public static String SESSION_COOKIES = "org.jboss.ws.maintain.session.cookies";
+ public static final String SESSION_COOKIES = "org.jboss.ws.maintain.session.cookies";
// The endpoint together with the operationName uniquely identify the call operation
protected EndpointMetaData epMetaData;
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonMessageContext.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonMessageContext.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/CommonMessageContext.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -52,9 +52,9 @@
// expandToDOM in the SOAPContentElement should not happen during normal operation
// This property should be set the message context when it is ok to do so.
- public static String ALLOW_EXPAND_TO_DOM = "org.jboss.ws.allow.expand.dom";
+ public static final String ALLOW_EXPAND_TO_DOM = "org.jboss.ws.allow.expand.dom";
- public static String REMOTING_METADATA = "org.jboss.ws.remoting.metadata";
+ public static final String REMOTING_METADATA = "org.jboss.ws.remoting.metadata";
// The serialization context for this message ctx
private SerializationContext serContext;
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/binding/TypeMappingImpl.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/binding/TypeMappingImpl.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/binding/TypeMappingImpl.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -355,7 +355,7 @@
int nullHash = HashCodeUtil.hash(result, "null");
result = javaType!= null ? HashCodeUtil.hash(result, javaType.getName()) : HashCodeUtil.hash(result, nullHash);
result = xmlType!= null ? HashCodeUtil.hash(result, xmlType.hashCode()): HashCodeUtil.hash(result, nullHash);
- return new Integer(result);
+ return Integer.valueOf(result);
}
private List<KeyPair> getKeyPairsInternal(IQName xmlType, Class javaType)
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceObjectFactoryJAXRPC.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceObjectFactoryJAXRPC.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/client/ServiceObjectFactoryJAXRPC.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -204,6 +204,7 @@
InputStream is = new URL(servletPath).openStream();
BufferedReader br = new BufferedReader(new InputStreamReader(is));
endpointAddress = br.readLine();
+ br.close();
is.close();
}
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBContextFactory.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBContextFactory.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/JAXBContextFactory.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -42,7 +42,7 @@
{
public final static String DEFAULT_JAXB_CONTEXT_FACTORY = "org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory";
- private static ThreadLocal threadContextCount = new ThreadLocal();
+ private static ThreadLocal<Integer> threadContextCount = new ThreadLocal<Integer>();
public abstract JAXBContext createContext(Class[] clazzes, BindingCustomization bindingCustomization) throws WSException;
@@ -56,21 +56,21 @@
protected void incrementContextCount()
{
Integer count = getContextCount();
- threadContextCount.set(new Integer(count + 1));
+ threadContextCount.set(Integer.valueOf(count + 1));
}
public static Integer getContextCount()
{
Integer count = (Integer)threadContextCount.get();
if (count == null)
- count = new Integer(0);
+ count = Integer.valueOf(0);
return count;
}
public static void resetContextCount()
{
- threadContextCount.set(new Integer(0));
+ threadContextCount.set(Integer.valueOf(0));
}
/**
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/MessageContextJAXWS.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/MessageContextJAXWS.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/MessageContextJAXWS.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -114,7 +114,7 @@
resContext.setSOAPMessage(null);
// Reverse the direction
- resContext.put(MessageContext.MESSAGE_OUTBOUND_PROPERTY, new Boolean(!outbound));
+ resContext.put(MessageContext.MESSAGE_OUTBOUND_PROPERTY, Boolean.valueOf(!outbound));
MessageContextAssociation.pushMessageContext(resContext);
cleanupAttachments(reqContext);
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -103,9 +103,12 @@
{
actor = new URI(hElement.getActor());
}
- if (roles.contains(actor) || allRoles)
+ if (actor != null)
{
- headers.add(hElement);
+ if (roles.contains(actor.toString()) || allRoles)
+ {
+ headers.add(hElement);
+ }
}
}
}
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/SOAPFactoryImpl.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -121,8 +121,7 @@
SOAPFactory factory = SOAPFactory.newInstance();
SOAPElement soapElement = factory.createElement(localName, prefix, nsURI);
- if (domElement instanceof Element)
- DOMUtils.copyAttributes(soapElement, (Element)domElement);
+ DOMUtils.copyAttributes(soapElement, domElement);
if (deep)
{
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLFragment.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLFragment.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLFragment.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -171,11 +171,15 @@
else if (source instanceof StreamSource || source instanceof SAXSource)
{
StreamSource streamSource = (StreamSource)source;
+ boolean newReader = false;
Reader reader = streamSource.getReader();
{
if (reader == null)
+ {
reader = new InputStreamReader(streamSource.getInputStream(), "UTF-8");
+ newReader = true;
+ }
}
char[] cbuf = new char[1024];
@@ -206,6 +210,9 @@
len = reader.read(cbuf);
off = 0;
}
+
+ if (newReader)
+ reader.close();
}
else
{
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/SecurityStore.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/SecurityStore.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/SecurityStore.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -249,6 +249,7 @@
log.error(line);
line = reader.readLine();
}
+ reader.close();
stderr.close();
}
log.debug("Command exited with: " + status);
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/XSDWriter.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/XSDWriter.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/XSDWriter.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -91,9 +91,14 @@
// Write updated xsd file
File xsdFile = SchemaUtils.getSchemaTempFile(ns);
FileWriter writer = new FileWriter(xsdFile);
- writer.write(xsdString);
- writer.close();
-
+ try
+ {
+ writer.write(xsdString);
+ }
+ finally
+ {
+ writer.close();
+ }
return xsdFile.toURL();
}
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -46,9 +46,9 @@
public class WSSecurityOMFactory implements ObjectModelFactory
{
- public static String SERVER_RESOURCE_NAME = "jboss-wsse-server.xml";
+ public static final String SERVER_RESOURCE_NAME = "jboss-wsse-server.xml";
- public static String CLIENT_RESOURCE_NAME = "jboss-wsse-client.xml";
+ public static final String CLIENT_RESOURCE_NAME = "jboss-wsse-client.xml";
private static HashMap options = new HashMap(7);
@@ -181,7 +181,7 @@
if ("timestamp-verification".equals(localName))
{
//By default, the createdTolerance should be '0'
- Long createdTolerance = new Long(0);
+ Long createdTolerance = Long.valueOf(0);
String createdToleranceAttr = attrs.getValue("", "createdTolerance");
if (createdToleranceAttr != null)
createdTolerance = (Long)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_LONG_NAME, createdToleranceAttr, null);
@@ -193,13 +193,13 @@
warnCreated = (Boolean)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_BOOLEAN_NAME, warnCreatedAttr, null);
//By default, the expiresTolerance should be '0'
- Long expiresTolerance = new Long(0);
+ Long expiresTolerance = Long.valueOf(0);
String expiresToleranceAttr = attrs.getValue("", "expiresTolerance");
if (expiresToleranceAttr != null)
expiresTolerance = (Long)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_LONG_NAME, expiresToleranceAttr, null);
//By default, we do log warnings if the tolerance is used.
- Boolean warnExpires = new Boolean(true);
+ Boolean warnExpires = Boolean.valueOf(true);
String warnExpiresAttr = attrs.getValue("", "warnExpires");
if (warnExpiresAttr != null)
warnExpires = (Boolean)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_BOOLEAN_NAME, warnExpiresAttr, null);
@@ -284,19 +284,19 @@
else if ("username".equals(localName))
{
//By default, we do not use password digest
- Boolean digestPassword = new Boolean(false);
+ Boolean digestPassword = Boolean.valueOf(false);
String digestPasswordAttr = attrs.getValue("", "digestPassword");
if (digestPasswordAttr != null)
digestPassword = (Boolean)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_BOOLEAN_NAME, digestPasswordAttr, null);
//if password digest is enabled, we use nonces by default
- Boolean useNonce = new Boolean(true);
+ Boolean useNonce = Boolean.valueOf(true);
String useNonceAttr = attrs.getValue("", "useNonce");
if (useNonceAttr != null)
useNonce = (Boolean)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_BOOLEAN_NAME, useNonceAttr, null);
//if password digest is enabled, we use the created element by default
- Boolean useCreated = new Boolean(true);
+ Boolean useCreated = Boolean.valueOf(true);
String useCreatedAttr = attrs.getValue("", "useCreated");
if (useCreatedAttr != null)
useCreated = (Boolean)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_BOOLEAN_NAME, useCreatedAttr, null);
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SourceWrapperGenerator.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SourceWrapperGenerator.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SourceWrapperGenerator.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -268,7 +268,7 @@
JAnnotationUse xmlTypeAnnotation = clazz.annotate(XmlType.class);
xmlTypeAnnotation.param("name", xmlType.getLocalPart());
String xmlTypeNS = xmlType.getNamespaceURI();
- if (xmlTypeNS != null & xmlTypeNS.length() > 0)
+ if (xmlTypeNS != null && xmlTypeNS.length() > 0)
{
xmlTypeAnnotation.param("namespace", xmlTypeNS);
}
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/metadata/ToolsAnnotationMetaDataBuilder.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -57,7 +57,7 @@
private Class endpoint = null;
- public ToolsAnnotationMetaDataBuilder(ToolsEndpointMetaData tmd, String targetNamespace, String typeNamespace2)
+ public ToolsAnnotationMetaDataBuilder(ToolsEndpointMetaData tmd, String targetNamespace, String typeNamespace)
{
this.tmd = tmd;
this.targetNamespace = targetNamespace;
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/JAXBWSDLGenerator.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/JAXBWSDLGenerator.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/JAXBWSDLGenerator.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -76,7 +76,7 @@
public Result createOutput(String namespace, String file) throws IOException
{
// JBWS-1295, getKnownNamespaceURIs is not accurate
- if (namespace.length() > 0 && wsdl.getPrefix(namespace) == null)
+ if (namespace != null && namespace.length() > 0 && wsdl.getPrefix(namespace) == null)
wsdl.registerNamespaceURI(namespace, null);
// JAXB creates an empty namespace due to type references, ignore it
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLDefinitionsFactory.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -85,7 +85,7 @@
*/
public void setFeature(String name, boolean value) throws IllegalArgumentException
{
- features.put(name, new Boolean(value));
+ features.put(name, Boolean.valueOf(value));
}
/**
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLGenerator.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLGenerator.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/wsdl/WSDLGenerator.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -563,7 +563,6 @@
int index = classname.lastIndexOf(".");
if (index < 0)
index = classname.length();
- else index = index;
return classname.substring(0,index);
}
}
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/NativeWebServiceContext.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/NativeWebServiceContext.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/NativeWebServiceContext.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -66,7 +66,7 @@
W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
String address = epMetaData.getEndpointAddress();
builder.address(address);
- builder.wsdlDocumentLocation(address.toString() + "?wsdl");
+ builder.wsdlDocumentLocation(address + "?wsdl");
//TODO set other parameters in the builder
if (referenceParameters != null && W3CEndpointReference.class.getName().equals(clazz.getName()))
{
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2009-02-25 11:44:53 UTC (rev 9394)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2009-02-25 17:31:09 UTC (rev 9395)
@@ -251,7 +251,7 @@
else
{
msgContext = new SOAPMessageContextJAXWS();
- msgContext.put(MessageContextJAXWS.MESSAGE_OUTBOUND_PROPERTY, new Boolean(false));
+ msgContext.put(MessageContextJAXWS.MESSAGE_OUTBOUND_PROPERTY, Boolean.valueOf(false));
msgContext.put(MessageContextJAXWS.INBOUND_MESSAGE_ATTACHMENTS, new HashMap<String, DataHandler>());
invContext.addAttachment(javax.xml.ws.handler.MessageContext.class, msgContext);
}
15 years, 10 months
JBossWS SVN: r9394 - stack/native/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-02-25 06:44:53 -0500 (Wed, 25 Feb 2009)
New Revision: 9394
Modified:
stack/native/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java
Log:
[JBAS-6434] Providing old serialversionuid as the changes on Extendable are backward compatible
Modified: stack/native/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java
===================================================================
--- stack/native/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25 11:42:33 UTC (rev 9393)
+++ stack/native/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25 11:44:53 UTC (rev 9394)
@@ -38,6 +38,8 @@
*/
public abstract class Extendable implements Serializable
{
+ private static final long serialVersionUID = -3164210175211099488L;
+
// provide logging
private Logger log = Logger.getLogger(getClass());
@@ -117,6 +119,10 @@
public List<WSDLExtensibilityElement> getNotUnderstoodExtElements()
{
+ if (notUnderstoodExtElements == null)
+ {
+ notUnderstoodExtElements = new LinkedList<WSDLExtensibilityElement>();
+ }
return notUnderstoodExtElements;
}
@@ -127,6 +133,10 @@
public void addNotUnderstoodExtElement(WSDLExtensibilityElement element)
{
+ if (notUnderstoodExtElements == null)
+ {
+ notUnderstoodExtElements = new LinkedList<WSDLExtensibilityElement>();
+ }
notUnderstoodExtElements.add(element);
}
}
15 years, 10 months
JBossWS SVN: r9393 - stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-02-25 06:42:33 -0500 (Wed, 25 Feb 2009)
New Revision: 9393
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java
Log:
[JBAS-6434] Providing old serialversionuid as the changes on Extendable are backward compatible
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25 05:13:37 UTC (rev 9392)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25 11:42:33 UTC (rev 9393)
@@ -38,6 +38,8 @@
*/
public abstract class Extendable implements Serializable
{
+ private static final long serialVersionUID = -3164210175211099488L;
+
// provide logging
private Logger log = Logger.getLogger(getClass());
@@ -117,6 +119,10 @@
public List<WSDLExtensibilityElement> getNotUnderstoodExtElements()
{
+ if (notUnderstoodExtElements == null)
+ {
+ notUnderstoodExtElements = new LinkedList<WSDLExtensibilityElement>();
+ }
return notUnderstoodExtElements;
}
@@ -127,6 +133,10 @@
public void addNotUnderstoodExtElement(WSDLExtensibilityElement element)
{
+ if (notUnderstoodExtElements == null)
+ {
+ notUnderstoodExtElements = new LinkedList<WSDLExtensibilityElement>();
+ }
notUnderstoodExtElements.add(element);
}
}
15 years, 10 months
JBossWS SVN: r9392 - in common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf: common/concurrent and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-25 00:13:37 -0500 (Wed, 25 Feb 2009)
New Revision: 9392
Added:
common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/common/concurrent/
common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java
Modified:
common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/test/JBossWSTest.java
Log:
[JBWS-2551] fixing Windows issue
Added: common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java
===================================================================
--- common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java (rev 0)
+++ common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java 2009-02-25 05:13:37 UTC (rev 9392)
@@ -0,0 +1,142 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.wsf.common.concurrent;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+/**
+ * Sample usage:
+ *
+ * <blockquote><pre>
+ * CopyJob copyJob = new CopyJob( inputStream, printStream );
+ * new Thread( copyJob ).start();
+ * try
+ * {
+ * // do some other staff
+ * ...
+ * }
+ * finally
+ * {
+ * copyJob.kill();
+ * }
+ * </pre></blockquote>
+ *
+ * @author richard.opalka(a)jboss.com
+ */
+public final class CopyJob implements Runnable
+{
+
+ /**
+ * Input stream to data read from.
+ */
+ private final InputStream is;
+ /**
+ * Output stream to write data to.
+ */
+ private final OutputStream os;
+ /**
+ * Whether this job is terminated.
+ */
+ private boolean terminated;
+
+ /**
+ * Constructor.
+ * @param is input stream to read data from
+ * @param os output stream to write data to
+ */
+ public CopyJob( InputStream is, OutputStream os )
+ {
+ super();
+
+ if ( ( is == null ) || ( os == null ) )
+ {
+ throw new IllegalArgumentException( "Constructor parameters can't be null" );
+ }
+
+ this.is = is;
+ this.os = os;
+ }
+
+ /**
+ * Copies all data from <b>input stream</b> to <b>output stream</b> (both passed to constructor) until job is killed
+ */
+ public final void run()
+ {
+ try
+ {
+ copy( this.is, this.os );
+ }
+ catch ( IOException ioe )
+ {
+ ioe.printStackTrace(System.err);
+ }
+ finally
+ {
+ try { this.is.close(); } catch ( IOException ioe ) { ioe.printStackTrace( System.err ); }
+ }
+ }
+
+ /**
+ * Copies all data from <b>is</b> to <b>os</b> until job is killed
+ * @param is input stream to read data from
+ * @param os output stream to write data to
+ * @throws IOException if I/O error occurs
+ */
+ private void copy( final InputStream is, final OutputStream os ) throws IOException
+ {
+ final byte[] buffer = new byte[ 512 ];
+ int countOfBytes = -1;
+
+ while ( !this.terminated )
+ {
+ while ( is.available() <= 0 )
+ {
+ synchronized( this )
+ {
+ try
+ {
+ this.wait( 50 ); // guard
+ if ( this.terminated ) return;
+ }
+ catch ( InterruptedException ie )
+ {
+ ie.printStackTrace( System.err );
+ }
+ }
+ }
+
+ countOfBytes = is.read( buffer, 0, buffer.length );
+ os.write( buffer, 0, countOfBytes );
+ }
+ }
+
+ /**
+ * Kills this job. Calling this method also ensures that input stream passed to the constructor will be closed properly
+ */
+ public final void kill()
+ {
+ this.terminated = true;
+ }
+
+}
\ No newline at end of file
Modified: common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/test/JBossWSTest.java
===================================================================
--- common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/test/JBossWSTest.java 2009-02-25 05:11:17 UTC (rev 9391)
+++ common/branches/jbossws-common-1.0.9/src/main/java/org/jboss/wsf/test/JBossWSTest.java 2009-02-25 05:13:37 UTC (rev 9392)
@@ -41,6 +41,7 @@
import org.jboss.logging.Logger;
import org.jboss.wsf.common.DOMWriter;
import org.jboss.wsf.common.IOUtils;
+import org.jboss.wsf.common.concurrent.CopyJob;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@@ -111,16 +112,16 @@
System.out.println("Executing command: " + command);
Process p = Runtime.getRuntime().exec(command);
+ CopyJob inputStreamJob = new CopyJob(p.getInputStream(), os == null ? System.out : os);
+ CopyJob errorStreamJob = new CopyJob(p.getErrorStream(), System.err);
+ // unfortunately the following threads are needed because of Windows behavior
System.out.println("Process input stream:");
- IOUtils.copyStream(os == null ? System.out : os, p.getInputStream());
+ System.err.println("Process error stream:");
+ new Thread( inputStreamJob ).start();
+ new Thread( errorStreamJob ).start();
try
{
int statusCode = p.waitFor();
- if (statusCode != 0)
- {
- System.err.println("Process error stream:");
- IOUtils.copyStream(System.err, p.getErrorStream());
- }
String fallbackMessage = "Process did exit with status " + statusCode;
assertTrue(message != null ? message : fallbackMessage, statusCode == 0);
}
@@ -130,6 +131,8 @@
}
finally
{
+ inputStreamJob.kill();
+ errorStreamJob.kill();
p.destroy();
}
}
15 years, 10 months
JBossWS SVN: r9391 - in common/trunk/src/main/java/org/jboss/wsf: common/concurrent and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-25 00:11:17 -0500 (Wed, 25 Feb 2009)
New Revision: 9391
Added:
common/trunk/src/main/java/org/jboss/wsf/common/concurrent/
common/trunk/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java
Modified:
common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java
Log:
[JBWS-2551] fixing Windows issue
Added: common/trunk/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java (rev 0)
+++ common/trunk/src/main/java/org/jboss/wsf/common/concurrent/CopyJob.java 2009-02-25 05:11:17 UTC (rev 9391)
@@ -0,0 +1,142 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.wsf.common.concurrent;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+/**
+ * Sample usage:
+ *
+ * <blockquote><pre>
+ * CopyJob copyJob = new CopyJob( inputStream, printStream );
+ * new Thread( copyJob ).start();
+ * try
+ * {
+ * // do some other staff
+ * ...
+ * }
+ * finally
+ * {
+ * copyJob.kill();
+ * }
+ * </pre></blockquote>
+ *
+ * @author richard.opalka(a)jboss.com
+ */
+public final class CopyJob implements Runnable
+{
+
+ /**
+ * Input stream to data read from.
+ */
+ private final InputStream is;
+ /**
+ * Output stream to write data to.
+ */
+ private final OutputStream os;
+ /**
+ * Whether this job is terminated.
+ */
+ private boolean terminated;
+
+ /**
+ * Constructor.
+ * @param is input stream to read data from
+ * @param os output stream to write data to
+ */
+ public CopyJob( InputStream is, OutputStream os )
+ {
+ super();
+
+ if ( ( is == null ) || ( os == null ) )
+ {
+ throw new IllegalArgumentException( "Constructor parameters can't be null" );
+ }
+
+ this.is = is;
+ this.os = os;
+ }
+
+ /**
+ * Copies all data from <b>input stream</b> to <b>output stream</b> (both passed to constructor) until job is killed
+ */
+ public final void run()
+ {
+ try
+ {
+ copy( this.is, this.os );
+ }
+ catch ( IOException ioe )
+ {
+ ioe.printStackTrace(System.err);
+ }
+ finally
+ {
+ try { this.is.close(); } catch ( IOException ioe ) { ioe.printStackTrace( System.err ); }
+ }
+ }
+
+ /**
+ * Copies all data from <b>is</b> to <b>os</b> until job is killed
+ * @param is input stream to read data from
+ * @param os output stream to write data to
+ * @throws IOException if I/O error occurs
+ */
+ private void copy( final InputStream is, final OutputStream os ) throws IOException
+ {
+ final byte[] buffer = new byte[ 512 ];
+ int countOfBytes = -1;
+
+ while ( !this.terminated )
+ {
+ while ( is.available() <= 0 )
+ {
+ synchronized( this )
+ {
+ try
+ {
+ this.wait( 50 ); // guard
+ if ( this.terminated ) return;
+ }
+ catch ( InterruptedException ie )
+ {
+ ie.printStackTrace( System.err );
+ }
+ }
+ }
+
+ countOfBytes = is.read( buffer, 0, buffer.length );
+ os.write( buffer, 0, countOfBytes );
+ }
+ }
+
+ /**
+ * Kills this job. Calling this method also ensures that input stream passed to the constructor will be closed properly
+ */
+ public final void kill()
+ {
+ this.terminated = true;
+ }
+
+}
\ No newline at end of file
Modified: common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java 2009-02-24 23:45:09 UTC (rev 9390)
+++ common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java 2009-02-25 05:11:17 UTC (rev 9391)
@@ -41,6 +41,7 @@
import org.jboss.logging.Logger;
import org.jboss.wsf.common.DOMWriter;
import org.jboss.wsf.common.IOUtils;
+import org.jboss.wsf.common.concurrent.CopyJob;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@@ -111,16 +112,16 @@
System.out.println("Executing command: " + command);
Process p = Runtime.getRuntime().exec(command);
+ CopyJob inputStreamJob = new CopyJob(p.getInputStream(), os == null ? System.out : os);
+ CopyJob errorStreamJob = new CopyJob(p.getErrorStream(), System.err);
+ // unfortunately the following threads are needed because of Windows behavior
System.out.println("Process input stream:");
- IOUtils.copyStream(os == null ? System.out : os, p.getInputStream());
+ System.err.println("Process error stream:");
+ new Thread( inputStreamJob ).start();
+ new Thread( errorStreamJob ).start();
try
{
int statusCode = p.waitFor();
- if (statusCode != 0)
- {
- System.err.println("Process error stream:");
- IOUtils.copyStream(System.err, p.getErrorStream());
- }
String fallbackMessage = "Process did exit with status " + statusCode;
assertTrue(message != null ? message : fallbackMessage, statusCode == 0);
}
@@ -130,6 +131,8 @@
}
finally
{
+ inputStreamJob.kill();
+ errorStreamJob.kill();
p.destroy();
}
}
15 years, 10 months
JBossWS SVN: r9390 - stack/cxf/trunk/modules/resources/src/main/resources/bin.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-24 18:45:09 -0500 (Tue, 24 Feb 2009)
New Revision: 9390
Modified:
stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.bat
stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.sh
Log:
[JBWS-2551] fixing CP issue
Modified: stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.bat
===================================================================
--- stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.bat 2009-02-24 23:44:29 UTC (rev 9389)
+++ stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.bat 2009-02-24 23:45:09 UTC (rev 9390)
@@ -55,10 +55,11 @@
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/commons-lang.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-api.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-common-utilities.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-corba.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-soap.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-xml.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-core.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-management.jar
-set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-soap.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-transports-jms.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-transports-http.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-tools-common.jar
Modified: stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.sh
===================================================================
--- stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.sh 2009-02-24 23:44:29 UTC (rev 9389)
+++ stack/cxf/trunk/modules/resources/src/main/resources/bin/wsconsume.sh 2009-02-24 23:45:09 UTC (rev 9390)
@@ -89,10 +89,11 @@
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/commons-lang.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-api.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-common-utilities.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-corba.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-soap.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-xml.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-core.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-management.jar"
-WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-soap.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-transports-jms.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-transports-http.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-tools-common.jar"
15 years, 10 months
JBossWS SVN: r9389 - stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-24 18:44:29 -0500 (Tue, 24 Feb 2009)
New Revision: 9389
Modified:
stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.bat
stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.sh
Log:
[JBWS-2551] fixing cp issue
Modified: stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.bat
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.bat 2009-02-24 19:14:14 UTC (rev 9388)
+++ stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.bat 2009-02-24 23:44:29 UTC (rev 9389)
@@ -55,10 +55,11 @@
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/commons-lang.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-api.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-common-utilities.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-corba.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-soap.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-xml.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-core.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-management.jar
-set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-bindings-soap.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-transports-jms.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-rt-transports-http.jar
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/cxf-tools-common.jar
Modified: stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.sh
===================================================================
--- stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.sh 2009-02-24 19:14:14 UTC (rev 9388)
+++ stack/cxf/branches/jbossws-cxf-3.1.0/modules/resources/src/main/resources/bin/wsconsume.sh 2009-02-24 23:44:29 UTC (rev 9389)
@@ -89,10 +89,11 @@
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/commons-lang.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-api.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-common-utilities.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-corba.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-soap.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-xml.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-core.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-management.jar"
-WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-bindings-soap.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-transports-jms.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-rt-transports-http.jar"
WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/cxf-tools-common.jar"
15 years, 10 months
JBossWS SVN: r9388 - stack/native/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-24 14:14:14 -0500 (Tue, 24 Feb 2009)
New Revision: 9388
Modified:
stack/native/trunk/pom.xml
Log:
[JBWS-2515] rollback
Modified: stack/native/trunk/pom.xml
===================================================================
--- stack/native/trunk/pom.xml 2009-02-24 19:13:23 UTC (rev 9387)
+++ stack/native/trunk/pom.xml 2009-02-24 19:14:14 UTC (rev 9388)
@@ -403,6 +403,24 @@
</plugins>
</build>
+ <!-- Repositories -->
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <url>http://repository.jboss.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <url>http://snapshots.jboss.org/maven2</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
<!-- Profiles -->
<profiles>
15 years, 10 months
JBossWS SVN: r9387 - stack/native/branches/jbossws-native-3.1.0.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-02-24 14:13:23 -0500 (Tue, 24 Feb 2009)
New Revision: 9387
Modified:
stack/native/branches/jbossws-native-3.1.0/pom.xml
Log:
[JBWS-2515] rollback
Modified: stack/native/branches/jbossws-native-3.1.0/pom.xml
===================================================================
--- stack/native/branches/jbossws-native-3.1.0/pom.xml 2009-02-24 19:12:08 UTC (rev 9386)
+++ stack/native/branches/jbossws-native-3.1.0/pom.xml 2009-02-24 19:13:23 UTC (rev 9387)
@@ -403,6 +403,24 @@
</plugins>
</build>
+ <!-- Repositories -->
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <url>http://repository.jboss.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <url>http://snapshots.jboss.org/maven2</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
<!-- Profiles -->
<profiles>
15 years, 10 months