JBossWS SVN: r7953 - stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 10:09:59 -0400 (Wed, 30 Jul 2008)
New Revision: 7953
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java
Log:
[JBWS-2190] improving user patch, let DOM utils determinate default encoding
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java 2008-07-30 14:09:03 UTC (rev 7952)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java 2008-07-30 14:09:59 UTC (rev 7953)
@@ -81,9 +81,13 @@
Element domEnv = null;
try
{
- InputSource inputSource = new InputSource( ins );
- inputSource.setEncoding( prepareEncoding( soapMessage ) );
- domEnv = DOMUtils.parse( inputSource );
+ InputSource inputSource = new InputSource(ins);
+ String encoding = getEncoding(soapMessage);
+ if (encoding != null)
+ {
+ inputSource.setEncoding(encoding);
+ }
+ domEnv = DOMUtils.parse(inputSource);
}
catch (IOException ex)
{
@@ -105,8 +109,12 @@
try
{
InputSource inputSource = new InputSource( reader );
- inputSource.setEncoding( prepareEncoding( soapMessage ) );
- domEnv = DOMUtils.parse( inputSource );
+ String encoding = getEncoding(soapMessage);
+ if (encoding != null)
+ {
+ inputSource.setEncoding(encoding);
+ }
+ domEnv = DOMUtils.parse(inputSource);
}
catch (IOException ex)
{
@@ -121,14 +129,9 @@
return build(soapMessage, domEnv);
}
- private String prepareEncoding(SOAPMessage soapMessage) throws SOAPException
+ private String getEncoding(SOAPMessage soapMessage) throws SOAPException
{
- String encoding = (String)soapMessage.getProperty(SOAPMessage.CHARACTER_SET_ENCODING);
- if(encoding == null)
- {
- encoding = "UTF-8";
- }
- return encoding;
+ return (String)soapMessage.getProperty(SOAPMessage.CHARACTER_SET_ENCODING);
}
public SOAPEnvelope build(SOAPMessage soapMessage, Element domEnv) throws SOAPException
16 years, 5 months
JBossWS SVN: r7952 - framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-07-30 10:09:03 -0400 (Wed, 30 Jul 2008)
New Revision: 7952
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/CustomException.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/EndpointImpl.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/WebFaultTestCase.java
Log:
[JBWS-2152] Adding testcase
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/CustomException.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/CustomException.java 2008-07-30 13:54:40 UTC (rev 7951)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/CustomException.java 2008-07-30 14:09:03 UTC (rev 7952)
@@ -21,6 +21,7 @@
*/
package org.jboss.test.ws.jaxws.webfault;
+import javax.xml.bind.annotation.XmlTransient;
import javax.xml.ws.WebFault;
/**
@@ -33,12 +34,21 @@
public class CustomException extends Exception
{
private Integer number;
+ @XmlTransient
+ private String transientString;
public CustomException(String message, Integer number)
{
super(message);
this.number = number;
}
+
+ public CustomException(String message, Integer number, String transientString)
+ {
+ super(message);
+ this.number = number;
+ this.transientString = transientString;
+ }
public Integer getNumber()
{
@@ -49,4 +59,14 @@
{
this.number = number;
}
+
+ public String getTransientString()
+ {
+ return transientString;
+ }
+
+ public void setTransientString(String transientString)
+ {
+ this.transientString = transientString;
+ }
}
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/EndpointImpl.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/EndpointImpl.java 2008-07-30 13:54:40 UTC (rev 7951)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/EndpointImpl.java 2008-07-30 14:09:03 UTC (rev 7952)
@@ -40,7 +40,7 @@
public void throwCustomException(String input) throws CustomException
{
log.info("throwCustomException: " + input);
- throw new CustomException("This is a @WebFault test", (input != null ? input.length() : 0));
+ throw new CustomException("This is a @WebFault test", (input != null ? input.length() : 0), "blah, blah");
}
public void throwSimpleException(String input) throws SimpleException
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/WebFaultTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/WebFaultTestCase.java 2008-07-30 13:54:40 UTC (rev 7951)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/webfault/WebFaultTestCase.java 2008-07-30 14:09:03 UTC (rev 7952)
@@ -46,7 +46,6 @@
{
private String endpointURL = "http://" + getServerHost() + ":8080/jaxws-webfault";
private static final String TARGET_NS = "http://webfault.jaxws.ws.test.jboss.org/";
- private static final String CUSTOM_FAULT_NS = "org.jboss.test.ws.jaxws.webfault.exceptions";
public static Test suite()
{
@@ -57,6 +56,8 @@
* Tests whether the @WebFault annotation correctly sets the fault element's name and namespace
* (the type doesn't depend on @WebFault, see [JBWS-1904] about this)
*
+ * Also tests that the @XmlTransient annotated fields are not included in the wsdl [JBWS-2152].
+ *
* @throws Exception
*/
public void testWebFaultElement() throws Exception
@@ -108,6 +109,19 @@
if (nameEquals)
{
firstTypeFound = true;
+
+ Element sequence = (Element)DOMUtils.getChildElements(e, new QName("http://www.w3.org/2001/XMLSchema", "sequence")).next();
+ Iterator<Element> children = (Iterator<Element>)DOMUtils.getChildElements(sequence, new QName("http://www.w3.org/2001/XMLSchema", "element"));
+ boolean numberAttributeFound = false;
+ while (children.hasNext())
+ {
+ String name = children.next().getAttribute("name");
+ if ("number".equals(name))
+ numberAttributeFound = true;
+ else if ("transientString".equalsIgnoreCase(name))
+ fail("@XmlTransient fields should not be included.");
+ }
+ assertTrue(numberAttributeFound);
}
nameEquals = e.getAttribute("name").equals("SimpleException");
if (nameEquals)
@@ -137,6 +151,7 @@
catch (CustomException e)
{
assertEquals(new Integer(5), e.getNumber());
+ assertNull(e.getTransientString());
}
catch (Exception e)
{
16 years, 5 months
JBossWS SVN: r7951 - stack/metro/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 09:54:40 -0400 (Wed, 30 Jul 2008)
New Revision: 7951
Modified:
stack/metro/trunk/modules/testsuite/test-excludes-jboss422.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss423.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss424.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss500.txt
stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt
Log:
[JBWS-2129] excluding test
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss422.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss422.txt 2008-07-30 13:38:42 UTC (rev 7950)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss422.txt 2008-07-30 13:54:40 UTC (rev 7951)
@@ -40,6 +40,7 @@
org/jboss/test/ws/jaxws/jbws1904/**
org/jboss/test/ws/jaxws/jbws1969/**
org/jboss/test/ws/jaxws/jbws2000/**
+org/jboss/test/ws/jaxws/jbws2218/**
org/jboss/test/ws/jaxws/jbws2250/**
org/jboss/test/ws/jaxws/jbws860/**
org/jboss/test/ws/jaxws/webfault/**
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss423.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss423.txt 2008-07-30 13:38:42 UTC (rev 7950)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss423.txt 2008-07-30 13:54:40 UTC (rev 7951)
@@ -37,6 +37,7 @@
org/jboss/test/ws/jaxws/jbws1904/**
org/jboss/test/ws/jaxws/jbws1969/**
org/jboss/test/ws/jaxws/jbws2000/**
+org/jboss/test/ws/jaxws/jbws2218/**
org/jboss/test/ws/jaxws/jbws2250/**
org/jboss/test/ws/jaxws/jbws860/**
org/jboss/test/ws/jaxws/webfault/**
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss424.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss424.txt 2008-07-30 13:38:42 UTC (rev 7950)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss424.txt 2008-07-30 13:54:40 UTC (rev 7951)
@@ -37,6 +37,7 @@
org/jboss/test/ws/jaxws/jbws1904/**
org/jboss/test/ws/jaxws/jbws1969/**
org/jboss/test/ws/jaxws/jbws2000/**
+org/jboss/test/ws/jaxws/jbws2218/**
org/jboss/test/ws/jaxws/jbws2250/**
org/jboss/test/ws/jaxws/jbws860/**
org/jboss/test/ws/jaxws/webfault/**
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss500.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss500.txt 2008-07-30 13:38:42 UTC (rev 7950)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss500.txt 2008-07-30 13:54:40 UTC (rev 7951)
@@ -34,6 +34,7 @@
org/jboss/test/ws/jaxws/jbws1904/**
org/jboss/test/ws/jaxws/jbws1969/**
org/jboss/test/ws/jaxws/jbws2000/**
+org/jboss/test/ws/jaxws/jbws2218/**
org/jboss/test/ws/jaxws/jbws2250/**
org/jboss/test/ws/jaxws/jbws860/**
org/jboss/test/ws/jaxws/webfault/**
Modified: stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-07-30 13:38:42 UTC (rev 7950)
+++ stack/metro/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-07-30 13:54:40 UTC (rev 7951)
@@ -34,6 +34,7 @@
org/jboss/test/ws/jaxws/jbws1904/**
org/jboss/test/ws/jaxws/jbws1969/**
org/jboss/test/ws/jaxws/jbws2000/**
+org/jboss/test/ws/jaxws/jbws2218/**
org/jboss/test/ws/jaxws/jbws2250/**
org/jboss/test/ws/jaxws/jbws860/**
org/jboss/test/ws/jaxws/webfault/**
16 years, 5 months
JBossWS SVN: r7950 - in framework/trunk/testsuite/test: java/org/jboss/test/ws/jaxws and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 09:38:42 -0400 (Wed, 30 Jul 2008)
New Revision: 7950
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EJB3Bean.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EndpointInterface.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/JBWS2218TestCase.java
Modified:
framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
Log:
[JBWS-2218] providing test case
Modified: framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2008-07-30 12:28:08 UTC (rev 7949)
+++ framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2008-07-30 13:38:42 UTC (rev 7950)
@@ -517,6 +517,14 @@
</webinf>
</war>
+ <!-- jaxws-jbws2218 -->
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2218.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2218/*.class"/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws2218/*TestCase.class"/>
+ </fileset>
+ </jar>
+
<!-- jaxws-jbws2250 -->
<war warfile="${tests.output.dir}/test-libs/jaxws-jbws2250.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2250/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/test-classes">
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EJB3Bean.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EJB3Bean.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EJB3Bean.java 2008-07-30 13:38:42 UTC (rev 7950)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.test.ws.jaxws.jbws2218;
+
+import javax.ejb.Stateless;
+import javax.jws.WebService;
+import org.jboss.wsf.spi.annotation.WebContext;
+
+@Stateless
+@WebService
+@WebContext(contextRoot = "/myweb", urlPattern="/myweb-service/WebDelegateEndPoint")
+public class EJB3Bean
+{
+ public String helloSimple(String msg)
+ {
+ return msg;
+ }
+}
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EndpointInterface.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EndpointInterface.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/EndpointInterface.java 2008-07-30 13:38:42 UTC (rev 7950)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.test.ws.jaxws.jbws2218;
+
+import javax.jws.WebService;
+
+@WebService(name = "EJB3Bean")
+public interface EndpointInterface
+{
+ String helloSimple(String msg);
+}
Added: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/JBWS2218TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/JBWS2218TestCase.java (rev 0)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2218/JBWS2218TestCase.java 2008-07-30 13:38:42 UTC (rev 7950)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.test.ws.jaxws.jbws2218;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-2218] @WebContext url pattern problem
+ *
+ * @author richard.opalka(a)jboss.com
+ */
+public class JBWS2218TestCase extends JBossWSTest
+{
+ private static EndpointInterface port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS2218TestCase.class, "jaxws-jbws2218.jar");
+ }
+
+ public void setUp() throws MalformedURLException
+ {
+ if (port == null)
+ {
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/myweb/myweb-service/WebDelegateEndPoint?wsdl");
+ QName serviceName = new QName("http://jbws2218.jaxws.ws.test.jboss.org/", "EJB3BeanService");
+ Service service = Service.create(wsdlURL, serviceName);
+ port = service.getPort(EndpointInterface.class);
+ }
+ }
+
+ public void testSimpleAccess() throws Exception
+ {
+ String hello = port.helloSimple("hello");
+ assertEquals("hello", hello);
+ }
+}
16 years, 5 months
JBossWS SVN: r7949 - stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 08:28:08 -0400 (Wed, 30 Jul 2008)
New Revision: 7949
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java
Log:
[JBWS-2190] apply user patch
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java 2008-07-30 10:31:20 UTC (rev 7948)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/EnvelopeBuilderDOM.java 2008-07-30 12:28:08 UTC (rev 7949)
@@ -81,7 +81,9 @@
Element domEnv = null;
try
{
- domEnv = DOMUtils.parse(ins);
+ InputSource inputSource = new InputSource( ins );
+ inputSource.setEncoding( prepareEncoding( soapMessage ) );
+ domEnv = DOMUtils.parse( inputSource );
}
catch (IOException ex)
{
@@ -102,7 +104,9 @@
Element domEnv = null;
try
{
- domEnv = DOMUtils.parse(new InputSource(reader));
+ InputSource inputSource = new InputSource( reader );
+ inputSource.setEncoding( prepareEncoding( soapMessage ) );
+ domEnv = DOMUtils.parse( inputSource );
}
catch (IOException ex)
{
@@ -117,6 +121,16 @@
return build(soapMessage, domEnv);
}
+ private String prepareEncoding(SOAPMessage soapMessage) throws SOAPException
+ {
+ String encoding = (String)soapMessage.getProperty(SOAPMessage.CHARACTER_SET_ENCODING);
+ if(encoding == null)
+ {
+ encoding = "UTF-8";
+ }
+ return encoding;
+ }
+
public SOAPEnvelope build(SOAPMessage soapMessage, Element domEnv) throws SOAPException
{
// Construct the envelope
16 years, 5 months
JBossWS SVN: r7948 - stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 06:31:20 -0400 (Wed, 30 Jul 2008)
New Revision: 7948
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java
Log:
[JBWS-1987] make tests portable accross platforms
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java 2008-07-30 10:24:23 UTC (rev 7947)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java 2008-07-30 10:31:20 UTC (rev 7948)
@@ -37,7 +37,7 @@
private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
private static final String PS = System.getProperty("path.separator"); // ':' on unix, ';' on windows
private static final String LS = System.getProperty("line.separator"); // '\n' on unix, '\r\n' on windows
- private String TOOLS_CONFIG = getResourceFile("tools/scripts/wstools-config.xml").getAbsolutePath();
+ private String TOOLS_CONFIG = getResourceFile("tools" + FS + "scripts" + FS + "wstools-config.xml").getAbsolutePath();
private String JBOSS_HOME;
private String JDK_HOME;
@@ -57,7 +57,7 @@
public void testWSToolsFromCommandLine() throws Exception
{
// use absolute path for the output to be re-usable
- File dest = createResourceFile("wstools/java");
+ File dest = createResourceFile("wstools" + FS + "java");
dest.mkdirs();
String command = JBOSS_HOME + FS + "bin" + FS + "wstools.sh -config " + TOOLS_CONFIG + " -dest "+ dest.getAbsolutePath();
16 years, 5 months
JBossWS SVN: r7947 - in framework/trunk/testsuite/test/java/org/jboss/test/ws: jaxws/smoke/tools and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 06:24:23 -0400 (Wed, 30 Jul 2008)
New Revision: 7947
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java
Log:
[JBWS-1987] make tests portable accross platforms
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java 2008-07-30 09:52:11 UTC (rev 7946)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java 2008-07-30 10:24:23 UTC (rev 7947)
@@ -41,7 +41,8 @@
*/
public abstract class XOPBase extends JBossWSTest
{
- private File imgFile = getResourceFile("jaxws/samples/xop/shared/attach.jpeg");
+ private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
+ private File imgFile = getResourceFile("jaxws" + FS + "samples" + FS + "xop" + FS + "shared" + FS + "attach.jpeg");
protected MTOMEndpoint port;
protected SOAPBinding binding;
@@ -146,7 +147,7 @@
assertNotNull(response);
assertNotNull(response.getDataHandler().getContent());
- File tmpDir = new File(System.getProperty("jboss.home") + "/server/default/tmp/jbossws");
+ File tmpDir = new File(System.getProperty("jboss.home") + FS + "server" + FS + "default" + FS + "tmp" + FS + "jbossws");
assertTrue("Temp dir doesn't exist", tmpDir.exists());
for (String fileName : tmpDir.list())
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java 2008-07-30 09:52:11 UTC (rev 7946)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/ScriptTestCase.java 2008-07-30 10:24:23 UTC (rev 7947)
@@ -40,7 +40,9 @@
*/
public class ScriptTestCase extends JBossWSTest
{
- private String WSDL_LOCATION = "jaxws/smoke/tools/wsdl/TestServiceCatalog.wsdl";
+ private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
+
+ private String WSDL_LOCATION = "jaxws" + FS + "smoke" + FS + "tools" + FS + "wsdl" + FS + "TestServiceCatalog.wsdl";
private String ENDPOINT_CLASS = "org.jboss.test.ws.jaxws.smoke.tools.CalculatorBean";
private String JBOSS_HOME;
@@ -63,9 +65,9 @@
// the script requires the system JAVA_HOME, which points to the JDK not the JRE
- if(origJavaHome.indexOf("/jre")!=-1)
+ if(origJavaHome.indexOf(FS + "jre")!=-1)
{
- String JDK_HOME = origJavaHome.substring(0, origJavaHome.indexOf("/jre"));
+ String JDK_HOME = origJavaHome.substring(0, origJavaHome.indexOf(FS + "jre"));
System.setProperty("java.home", JDK_HOME);
JAVA_HOME= JDK_HOME;
}
@@ -87,15 +89,15 @@
// use absolute path for the output to be re-usable
String absWsdlLoc = getResourceFile(WSDL_LOCATION).getAbsolutePath();
- String absOutput = new File(TEST_DIR, "wsconsume/java").getAbsolutePath();
+ String absOutput = new File(TEST_DIR, "wsconsume" + FS + "java").getAbsolutePath();
- String command = JBOSS_HOME + "/bin/wsconsume.sh -v -k -o " + absOutput + " " + absWsdlLoc;
+ String command = JBOSS_HOME + FS + "bin" + FS + "wsconsume.sh -v -k -o " + absOutput + " " + absWsdlLoc;
Process p = executeCommand(command);
// check status code
assertStatusCode(p, "wsconsume");
- File javaSource = new File(TEST_DIR, "wsconsume/java/org/openuri/_2004/_04/helloworld/EndpointInterface.java");
+ File javaSource = new File(TEST_DIR, "wsconsume" + FS + "java" + FS + "org" + FS + "openuri" + FS + "_2004" + FS + "_04" + FS + "helloworld" + FS + "EndpointInterface.java");
assertTrue("Service endpoint interface not generated", javaSource.exists());
}
@@ -107,15 +109,15 @@
fail("This test has not been verified on windows");
}
- String absOutput = new File(TEST_DIR, "wsprovide/java/").getAbsolutePath();
+ String absOutput = new File(TEST_DIR, "wsprovide" + FS + "java").getAbsolutePath();
- String command = JBOSS_HOME + "/bin/wsprovide.sh -k -w -o " + absOutput + " --classpath " + CLASSES_DIR + " " + ENDPOINT_CLASS;
+ String command = JBOSS_HOME + FS + "bin" + FS + "wsprovide.sh -k -w -o " + absOutput + " --classpath " + CLASSES_DIR + " " + ENDPOINT_CLASS;
Process p = executeCommand(command);
// check status code
assertStatusCode(p, "wsprovide");
- File javaSource = new File(TEST_DIR, "wsprovide/java/org/jboss/test/ws/jaxws/smoke/tools/jaxws/AddResponse.java");
+ File javaSource = new File(TEST_DIR, "wsprovide" + FS + "java" + FS + "org" + FS + "jboss" + FS + "test" + FS + "ws" + FS + "jaxws" + FS + "smoke" + FS + "tools" + FS + "jaxws" + FS + "AddResponse.java");
assertTrue("Response wrapper not generated", javaSource.exists());
}
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java 2008-07-30 09:52:11 UTC (rev 7946)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java 2008-07-30 10:24:23 UTC (rev 7947)
@@ -39,6 +39,7 @@
*/
public class WSProviderPlugin extends JBossWSTest implements WSProviderPluginDelegate
{
+ private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
// tools delegate
WSContractProvider provider;
@@ -55,7 +56,7 @@
if(toogleMessageOut) provider.setMessageStream(System.out);
// shared output directory, relative to test execution
- outputDirectory = createResourceFile("../wsprovide/java");
+ outputDirectory = createResourceFile(".." + FS + "wsprovide" + FS + "java");
}
private ClassLoader getArtefactClassLoader() throws Exception {
@@ -96,7 +97,7 @@
{
File javaSource = new File(
directory.getAbsolutePath()+
- "/org/jboss/test/ws/jaxws/smoke/tools/jaxws/AddResponse.java"
+ FS + "org" + FS + "jboss" + FS + "test" + FS + "ws" + FS + "jaxws" + FS + "smoke" + FS + "tools" + FS + "jaxws" + FS + "AddResponse.java"
);
assertTrue("Source not generated", javaSource.exists());
@@ -124,7 +125,7 @@
*/
public void testResourceDirectory() throws Exception
{
- File directory = createResourceFile("wsprovide/resources");
+ File directory = createResourceFile("wsprovide" + FS + "resources");
provider.setResourceDirectory(directory);
provide();
@@ -135,7 +136,7 @@
{
File wsdl = new File(
outputDirectory.getAbsolutePath()+
- "/CalculatorBeanService.wsdl"
+ FS + "CalculatorBeanService.wsdl"
);
assertTrue("WSDL not generated", wsdl.exists());
@@ -152,7 +153,7 @@
*/
public void testSourceDirectory() throws Exception
{
- File sourceDir = createResourceFile("wsprovide/sources");
+ File sourceDir = createResourceFile("wsprovide" + FS + "sources");
provider.setSourceDirectory(sourceDir);
provider.setGenerateSource(true);
provide();
@@ -169,15 +170,15 @@
{
// Work around the sure jre settings
String javaHome = System.getProperty("java.home");
- String jdkHome = javaHome.substring(0, javaHome.indexOf("/jre"));
+ String jdkHome = javaHome.substring(0, javaHome.indexOf(FS + "jre"));
String targetDir = createResourceFile("").getParent();
URLClassLoader loader = new URLClassLoader(
new URL[]
{
- new URL("file:"+targetDir+"/test-libs/jaxws-classloading-service.jar"),
- new URL("file:"+targetDir+"/test-libs/jaxws-classloading-types.jar"),
- new URL("file:"+jdkHome+"/lib/tools.jar")
+ new URL("file:"+targetDir+FS+"test-libs" + FS + "jaxws-classloading-service.jar"),
+ new URL("file:"+targetDir+FS+"test-libs" + FS + "jaxws-classloading-types.jar"),
+ new URL("file:"+jdkHome+FS+"lib" + FS + "tools.jar")
},
getArtefactClassLoader()
);
@@ -187,7 +188,7 @@
provider.setOutputDirectory(outputDirectory);
provider.provide("org.jboss.test.ws.jaxws.smoke.tools.service.HelloWorld");
- File wsdl = new File(outputDirectory.getAbsolutePath() + "/HelloWorldService.wsdl");
+ File wsdl = new File(outputDirectory.getAbsolutePath() + FS + "HelloWorldService.wsdl");
assertTrue("WSDL not generated", wsdl.exists());
Element root = DOMUtils.parse( new FileInputStream(wsdl));
@@ -222,7 +223,7 @@
System.out.println("-- End captured output --");
assertTrue("Provider messages not correctly redirected",
- messageOut.indexOf("org/jboss/test/ws/jaxws/smoke/tools/jaxws/Add.class") != -1 );
+ messageOut.indexOf("org"+FS+"jboss"+FS+"test"+FS+"ws"+FS+"jaxws"+FS+"smoke"+FS+"tools"+FS+"jaxws"+FS+"Add.class") != -1 );
}
private void provide() throws Exception
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java 2008-07-30 09:52:11 UTC (rev 7946)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java 2008-07-30 10:24:23 UTC (rev 7947)
@@ -51,6 +51,7 @@
*/
public class ProjectGeneratorTestCase extends JBossWSTest
{
+ private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
private String jbossHome;
private File workspaceHome;
private File binDistroDir;
@@ -81,7 +82,7 @@
assertStatusCode(executeCommand("ant -f " + distroBuild.getAbsolutePath() + " -D" + integrationTarget + ".home=" + jbossHome + " -Djbossws.integration.target="
+ integrationTarget + " create-project"), "Error while creating the user project!");
File projectHomeDir = new File(workspaceHome, projectName);
- File packageDir = new File(projectHomeDir.getCanonicalPath() + "/src/main/java/org/jboss/test/ws/projectGenerator");
+ File packageDir = new File(projectHomeDir.getCanonicalPath() + FS + "src" + FS + "main" + FS + "java" + FS + "org" + FS + "jboss" + FS + "test" + FS + "ws" + FS + "projectGenerator");
packageDir.mkdirs();
File endpointImpl = new File(packageDir, "EndpointImpl.java");
writeEndpointImpl(endpointImpl);
@@ -196,7 +197,7 @@
private boolean isDistroTest() throws Exception
{
- File build = new File("../build.xml");
+ File build = new File(".." + FS + "build.xml");
if (!build.exists())
{
String testResDir = JBossWSTestHelper.getTestResourcesDir();
16 years, 5 months
JBossWS SVN: r7946 - in stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws: jaxws/jbws771 and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 05:52:11 -0400 (Wed, 30 Jul 2008)
New Revision: 7946
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws771/JBWS771TestCase.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java
Log:
[JBWS-1987] make tests portable accross platforms
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2008-07-30 08:34:37 UTC (rev 7945)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2008-07-30 09:52:11 UTC (rev 7946)
@@ -43,6 +43,12 @@
*/
public class JBWS1666TestCase extends JBossWSTest
{
+
+ private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
+ private static final String PS = System.getProperty("path.separator"); // ':' on unix, ';' on windows
+
+ java.util.Properties props = System.getProperties();
+
public static Test suite()
{
return new JBossWSTestSetup(JBWS1666TestCase.class, "jaxws-jbws1666.war");
@@ -56,30 +62,30 @@
public void testClientAccess() throws Exception
{
- File javaFile = new File (System.getProperty("java.home") + "/bin/java");
+ File javaFile = new File (System.getProperty("java.home") + FS + "bin" + FS + "java");
String javaCmd = javaFile.exists() ? javaFile.getCanonicalPath() : "java";
String jbh = System.getProperty("jboss.home");
- String jbc = jbh + "/client";
- String jbl = jbh + "/lib";
+ String jbc = jbh + FS + "client";
+ String jbl = jbh + FS + "lib";
// Setup the classpath - do not modify this lightheartedly.
// Maybe you should extend the Class-Path in the MANIFEST instead.
StringBuffer cp = new StringBuffer(System.getProperty("test.classes.directory"));
- cp.append(":" + jbc + "/jbossws-native-client.jar");
+ cp.append(PS + jbc + FS + "jbossws-native-client.jar");
if (isTargetJBoss50())
{
- cp.append(":" + jbc + "/jboss-common-core.jar");
- cp.append(":" + jbc + "/jboss-logging-spi.jar");
+ cp.append(PS + jbc + FS + "jboss-common-core.jar");
+ cp.append(PS + jbc + FS + "jboss-logging-spi.jar");
}
else
{
- cp.append(":" + jbc + "/jboss-common-client.jar");
+ cp.append(PS + jbc + FS + "jboss-common-client.jar");
}
Runtime rt = Runtime.getRuntime();
- String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + "/endorsed -cp " + cp + " " + TestClient.class.getName() + " " + getServerHost();
+ String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + FS + "endorsed -cp " + cp + " " + TestClient.class.getName() + " " + getServerHost();
Process proc = rt.exec(command);
int status = proc.waitFor();
if (status == 0)
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws771/JBWS771TestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws771/JBWS771TestCase.java 2008-07-30 08:34:37 UTC (rev 7945)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws771/JBWS771TestCase.java 2008-07-30 09:52:11 UTC (rev 7946)
@@ -56,6 +56,10 @@
*/
public class JBWS771TestCase extends JBossWSTest
{
+ private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
+ private static final String PS = System.getProperty("path.separator"); // ':' on unix, ';' on windows
+ private static final String LS = System.getProperty("line.separator"); // '\n' on unix, '\r\n' on windows
+
private static final String TARGET_NAMESPACE = "http://jbws771.jaxws.ws.test.jboss.org/";
private static URL wsdlURL;
private static IWebsvc port;
@@ -84,7 +88,7 @@
JBOSS_HOME = System.getProperty("jboss.home");
RESOURCES_DIR = createResourceFile(".").getPath();
- JDK_HOME = System.getProperty("java.home") + "/..";
+ JDK_HOME = System.getProperty("java.home") + FS + "..";
OS = System.getProperty("os.name").toLowerCase();
}
@@ -153,14 +157,14 @@
public void testWSConsume() throws Exception
{
// use absolute path for the output to be re-usable
- String absOutput = createResourceFile("wsconsume/java").getAbsolutePath();
- String command = JBOSS_HOME + "/bin/wsconsume.sh -k -o " + absOutput + " --extension --binding=" + RESOURCES_DIR + "/jaxws/jbws771/binding.xml " + wsdlURL.toExternalForm();
+ String absOutput = createResourceFile("wsconsume" + FS + "java").getAbsolutePath();
+ String command = JBOSS_HOME + FS + "bin" + FS + "wsconsume.sh -k -o " + absOutput + " --extension --binding=" + RESOURCES_DIR + FS + "jaxws" + FS + "jbws771" + FS + "binding.xml " + wsdlURL.toExternalForm();
Process p = executeCommand(command);
// check status code
checkStatusCode(p, "wsconsume");
- File javaSource = getResourceFile("wsconsume/java/org/jboss/test/ws/jaxws/jbws771/JBWS771Service.java");
+ File javaSource = getResourceFile("wsconsume" + FS + "java" + FS + "org" + FS + "jboss" + FS + "test" + FS + "ws" + FS + "jaxws" + FS + "jbws771" + FS + "JBWS771Service.java");
assertTrue("Service endpoint interface not generated", javaSource.exists());
}
@@ -204,9 +208,10 @@
StringBuffer buffer = new StringBuffer();
String line;
while ((line = in.readLine()) != null) {
- buffer.append(line + "\n");
+ buffer.append(line + LS);
}
- System.out.println(buffer.toString() + "\n");
+ System.out.println(buffer.toString());
System.out.println();
+ System.out.println();
}
}
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java 2008-07-30 08:34:37 UTC (rev 7945)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/tools/scripts/ScriptTestCase.java 2008-07-30 09:52:11 UTC (rev 7946)
@@ -34,6 +34,9 @@
*/
public class ScriptTestCase extends JBossWSTest
{
+ private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
+ private static final String PS = System.getProperty("path.separator"); // ':' on unix, ';' on windows
+ private static final String LS = System.getProperty("line.separator"); // '\n' on unix, '\r\n' on windows
private String TOOLS_CONFIG = getResourceFile("tools/scripts/wstools-config.xml").getAbsolutePath();
private String JBOSS_HOME;
@@ -53,22 +56,17 @@
public void testWSToolsFromCommandLine() throws Exception
{
- if (isWindowsOS())
- {
- fail("This test has not been verified on windows");
- }
-
// use absolute path for the output to be re-usable
File dest = createResourceFile("wstools/java");
dest.mkdirs();
- String command = JBOSS_HOME + "/bin/wstools.sh -config " + TOOLS_CONFIG + " -dest "+ dest.getAbsolutePath();
+ String command = JBOSS_HOME + FS + "bin" + FS + "wstools.sh -config " + TOOLS_CONFIG + " -dest "+ dest.getAbsolutePath();
Process p = executeCommand(command);
// check status code
assertStatusCode(p, "wstools");
- File javaSource = getResourceFile("wstools/java/org/jboss/test/ws/jbws810/PhoneBookService.java");
+ File javaSource = getResourceFile("wstools" + FS + "java" + FS + "org" + FS + "jboss" + FS + "test" + FS + "ws" + FS + "jbws810" + FS + "PhoneBookService.java");
assertTrue("Service endpoint interface not generated", javaSource.exists());
}
@@ -89,9 +87,4 @@
int status = p.waitFor();
assertTrue(s + " did exit with status " + status, status == 0);
}
-
- private boolean isWindowsOS()
- {
- return ((OS.indexOf("nt") > -1) || (OS.indexOf("windows") > -1));
- }
}
16 years, 5 months
JBossWS SVN: r7945 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 04:34:37 -0400 (Wed, 30 Jul 2008)
New Revision: 7945
Modified:
stack/cxf/trunk/.classpath
Log:
configure cxf eclipse project
Modified: stack/cxf/trunk/.classpath
===================================================================
--- stack/cxf/trunk/.classpath 2008-07-30 08:33:26 UTC (rev 7944)
+++ stack/cxf/trunk/.classpath 2008-07-30 08:34:37 UTC (rev 7945)
@@ -5,5 +5,9 @@
<classpathentry kind="src" path="modules/client/src/main/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/jbossws-common"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/jbossws-framework"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/jbossws-spi"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/jboss-5.0.0.CR2"/>
<classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
16 years, 5 months
JBossWS SVN: r7944 - stack/metro/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-07-30 04:33:26 -0400 (Wed, 30 Jul 2008)
New Revision: 7944
Modified:
stack/metro/trunk/.classpath
Log:
configure metro eclipse project
Modified: stack/metro/trunk/.classpath
===================================================================
--- stack/metro/trunk/.classpath 2008-07-30 08:31:57 UTC (rev 7943)
+++ stack/metro/trunk/.classpath 2008-07-30 08:33:26 UTC (rev 7944)
@@ -6,5 +6,9 @@
<classpathentry kind="src" path="modules/client/src/main/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/jbossws-common"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/jbossws-framework"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/jbossws-spi"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/jboss-5.0.0.CR2"/>
<classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
16 years, 5 months