Author: Grid.Qian
Date: 2010-12-14 04:18:53 -0500 (Tue, 14 Dec 2010)
New Revision: 27430
Added:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-client.jar
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-jaxrpc.jar
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-jaxws-ext.jar
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-saaj.jar
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/xercesImpl.jar
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/.classpath
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java
Log:
JBIDE-6581: using custom jre to run a server with ws unit test
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/.classpath
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/.classpath 2010-12-14
09:11:36 UTC (rev 27429)
+++
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/.classpath 2010-12-14
09:18:53 UTC (rev 27430)
@@ -8,7 +8,12 @@
</classpathentry>
<classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con"
path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/org.jboss.ide.eclipse.as.runtime.42"/>
<classpathentry kind="lib"
path="jars/jbossws-native-jaxws.jar"/>
<classpathentry kind="lib" path="jars/jaxb-api.jar"/>
+ <classpathentry kind="lib"
path="jars/jbossws-native-jaxrpc.jar"/>
+ <classpathentry kind="lib"
path="jars/jbossws-native-jaxws-ext.jar"/>
+ <classpathentry kind="lib"
path="jars/jbossws-native-saaj.jar"/>
+ <classpathentry kind="lib" path="jars/xercesImpl.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
Added:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-client.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-client.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-jaxrpc.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-jaxrpc.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-jaxws-ext.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-jaxws-ext.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-saaj.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/jbossws-native-saaj.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/xercesImpl.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/jars/xercesImpl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java 2010-12-14
09:11:36 UTC (rev 27429)
+++
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java 2010-12-14
09:18:53 UTC (rev 27430)
@@ -18,8 +18,10 @@
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.IServerWorkingCopy;
import org.eclipse.wst.server.core.ServerUtil;
+import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
import org.jboss.ide.eclipse.as.test.ASTest;
import org.jboss.ide.eclipse.as.test.util.ServerRuntimeUtils;
+import org.jboss.ide.eclipse.as.test.util.jdt.JREUtils;
import org.jboss.tools.test.util.JobUtils;
import org.jboss.tools.test.util.ResourcesUtils;
import org.jboss.tools.test.util.TestProjectProvider;
@@ -36,8 +38,8 @@
private String RuntimeName = "testjbosswsruntime";
public String wsdlFileName = "hello_world.wsdl";
public ServiceModel model;
- private String JBOSS_AS_423_HOME = ASTest.JBOSS_AS_42_HOME;
- private String JBOSS_WS_HOME = JBOSS_AS_423_HOME;
+ private String JBOSS_AS_42_HOME = ASTest.JBOSS_AS_42_HOME;
+ private String JBOSS_WS_HOME = JBOSS_AS_42_HOME;
public String wsHomePath;
IFacetedProject fproject;
public IFile wsdlFile;
@@ -50,7 +52,7 @@
}
public void createWSServer() throws Exception {
- currentServer = create42Server();
+ currentServer = createServer(IJBossToolingConstants.AS_42,
IJBossToolingConstants.SERVER_AS_42, ASTest.JBOSS_AS_42_HOME,
DEFAULT_CONFIG,JREUtils.createJRE());
}
public IProject createProject(String prjName) throws CoreException {