|
Lines 3-8
Link Here
|
| 3 |
import java.util.Vector; |
3 |
import java.util.Vector; |
| 4 |
|
4 |
|
| 5 |
import org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand; |
5 |
import org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand; |
|
|
6 |
import org.eclipse.jst.ws.internal.axis.consumption.core.command.GeronimoAxisDeployCommand; |
| 6 |
import org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand; |
7 |
import org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand; |
| 7 |
import org.eclipse.jst.ws.internal.axis.consumption.core.command.WSDL2JavaCommand; |
8 |
import org.eclipse.jst.ws.internal.axis.consumption.core.command.WSDL2JavaCommand; |
| 8 |
import org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxisJarCommand; |
9 |
import org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxisJarCommand; |
|
Lines 142-148
Link Here
|
| 142 |
} else {// For BOTTOM_UP and TOP_DOWN |
143 |
} else {// For BOTTOM_UP and TOP_DOWN |
| 143 |
commands.add(new AxisRunInputCommand(this, project, module)); |
144 |
commands.add(new AxisRunInputCommand(this, project, module)); |
| 144 |
// commands.add(new StartProjectCommand(module)); |
145 |
// commands.add(new StartProjectCommand(module)); |
| 145 |
commands.add(new AxisDeployCommand()); |
146 |
if (getWebServiceInfo().getServerFactoryId().equals("org.eclipse.jst.server.geronimo.10")) { |
|
|
147 |
commands.add(new GeronimoAxisDeployCommand(project, module)); |
| 148 |
} |
| 149 |
else { |
| 150 |
commands.add(new AxisDeployCommand()); |
| 151 |
} |
| 146 |
commands.add( new CopyDeploymentFileCommand( project, module ) ); |
152 |
commands.add( new CopyDeploymentFileCommand( project, module ) ); |
| 147 |
commands.add(new RefreshProjectCommand()); |
153 |
commands.add(new RefreshProjectCommand()); |
| 148 |
if (ctx.getScenario().getValue() == WebServiceScenario.TOPDOWN) { |
154 |
if (ctx.getScenario().getValue() == WebServiceScenario.TOPDOWN) { |
|
Lines 232-240
Link Here
|
| 232 |
|
238 |
|
| 233 |
// Run extension |
239 |
// Run extension |
| 234 |
|
240 |
|
| 235 |
//AxisDeployCommand |
241 |
// GeronimoAxisDeployCommand |
|
|
242 |
registry.addMapping(AxisRunInputCommand.class, "JavaWSDLParam", GeronimoAxisDeployCommand.class); |
| 243 |
|
| 244 |
//AxisDeployCommand |
| 236 |
registry.addMapping(AxisRunInputCommand.class, "JavaWSDLParam", AxisDeployCommand.class); |
245 |
registry.addMapping(AxisRunInputCommand.class, "JavaWSDLParam", AxisDeployCommand.class); |
| 237 |
//RefreshProjectCommand |
246 |
|
|
|
247 |
//RefreshProjectCommand |
| 238 |
registry.addMapping(AxisRunInputCommand.class, "ServerProject", RefreshProjectCommand.class, "Project", new StringToIProjectTransformer()); |
248 |
registry.addMapping(AxisRunInputCommand.class, "ServerProject", RefreshProjectCommand.class, "Project", new StringToIProjectTransformer()); |
| 239 |
|
249 |
|
| 240 |
|
250 |
|
|
Lines 293-310
Link Here
|
| 293 |
// BuildProjectCommand |
303 |
// BuildProjectCommand |
| 294 |
dataRegistry.addMapping(TDAxisInputCommand.class, "ServerProject", BuildProjectCommand.class, "Project", projectTransformer); |
304 |
dataRegistry.addMapping(TDAxisInputCommand.class, "ServerProject", BuildProjectCommand.class, "Project", projectTransformer); |
| 295 |
|
305 |
|
| 296 |
// StartProjectCommand |
306 |
// GeronimoAxisDeployCommand |
| 297 |
// dataRegistry.addMapping(TDAxisInputCommand.class, "ServerProject", StartProjectCommand.class, "ServiceProject", projectTransformer); |
307 |
dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", GeronimoAxisDeployCommand.class); |
| 298 |
// dataRegistry.addMapping(TDAxisInputCommand.class, "ServerServer", StartProjectCommand.class, "ServiceExistingServer", new ServerName2IServerTransformer()); |
308 |
|
| 299 |
// dataRegistry.addMapping(CopyAxisJarCommand.class, "ProjectRestartRequired", StartProjectCommand.class, "IsWebProjectStartupRequested", null); |
|
|
| 300 |
|
| 301 |
// AxisDeployCommand |
309 |
// AxisDeployCommand |
| 302 |
dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisDeployCommand.class); |
310 |
dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisDeployCommand.class); |
| 303 |
|
311 |
|
| 304 |
// AxisOutputCommand |
312 |
// AxisOutputCommand |
| 305 |
dataRegistry.addMapping(Skeleton2WSDLCommand.class, "WsdlURI", AxisOutputCommand.class); |
313 |
dataRegistry.addMapping(Skeleton2WSDLCommand.class, "WsdlURI", AxisOutputCommand.class); |
| 306 |
dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisOutputCommand.class); |
314 |
dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisOutputCommand.class); |
| 307 |
// dataRegistry.addMapping(AxisSkeletonDefaultingCommand.class, "WebServicesParser", AxisOutputCommand.class); |
|
|
| 308 |
|
315 |
|
| 309 |
// ComputeAxisSkeletonBeanCommand |
316 |
// ComputeAxisSkeletonBeanCommand |
| 310 |
dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", ComputeAxisSkeletonBeanCommand.class); |
317 |
dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", ComputeAxisSkeletonBeanCommand.class); |