Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 119111 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDeployCommand.java (-3 / +19 lines)
Lines 1-12 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005 IBM Corporation and others.
2
 * Copyright (c) 2005, 2006 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
12
 * 20060221   119111 rsinha@ca.ibm.com - Rupam Kuehner
10
 *******************************************************************************/
13
 *******************************************************************************/
11
14
12
package org.eclipse.jst.ws.internal.creation.ui.extension;
15
package org.eclipse.jst.ws.internal.creation.ui.extension;
Lines 16-26 Link Here
16
import org.eclipse.core.runtime.IStatus;
19
import org.eclipse.core.runtime.IStatus;
17
import org.eclipse.core.runtime.Status;
20
import org.eclipse.core.runtime.Status;
18
import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
21
import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
22
import org.eclipse.wst.ws.internal.wsrt.IContext;
19
23
20
public class PreServiceDeployCommand extends AbstractDataModelOperation
24
public class PreServiceDeployCommand extends AbstractDataModelOperation
21
{
25
{
26
  private IContext    context_;
22
  public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
27
  public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
23
  {
28
  {
29
      if (context_.getDeploy())
30
      {
31
        //If and when there are framework specific deploy things to be done,
32
        //do them here.
33
      }
34
      
24
	  return Status.OK_STATUS;
35
	  return Status.OK_STATUS;
25
  }
36
  }
37
  
38
  public void setContext(IContext context)
39
  {
40
      context_=context;
41
  }  
26
}
42
}
(-)src/org/eclipse/jst/ws/internal/creation/ui/extension/ServiceRootFragment.java (-3 / +6 lines)
Lines 1-15 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005 IBM Corporation and others.
2
 * Copyright (c) 2005, 2006 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
11
 * -------- -------- -----------------------------------------------------------
12
 * 20060131 121071   rsinha@ca.ibm.com - Rupam Kuehner     
12
 * 20060131 121071   rsinha@ca.ibm.com - Rupam Kuehner     
13
 * 20060221   119111 rsinha@ca.ibm.com - Rupam Kuehner
13
 *******************************************************************************/
14
 *******************************************************************************/
14
15
15
package org.eclipse.jst.ws.internal.creation.ui.extension;
16
package org.eclipse.jst.ws.internal.creation.ui.extension;
Lines 101-106 Link Here
101
		registry.addMapping( PreServiceDevelopCommand.class, "EarProject", PreServiceAssembleCommand.class );
102
		registry.addMapping( PreServiceDevelopCommand.class, "EarProject", PreServiceAssembleCommand.class );
102
  	registry.addMapping( PreServiceDevelopCommand.class, "Ear", PreServiceAssembleCommand.class );
103
  	registry.addMapping( PreServiceDevelopCommand.class, "Ear", PreServiceAssembleCommand.class );
103
		
104
		
105
    registry.addMapping( PreServiceDevelopCommand.class, "Context", PreServiceDeployCommand.class );
106
    
104
  	registry.addMapping( PreServiceDevelopCommand.class, "WebService", PreServiceInstallCommand.class );
107
  	registry.addMapping( PreServiceDevelopCommand.class, "WebService", PreServiceInstallCommand.class );
105
		registry.addMapping( PreServiceDevelopCommand.class, "Project", PreServiceInstallCommand.class );
108
		registry.addMapping( PreServiceDevelopCommand.class, "Project", PreServiceInstallCommand.class );
106
  	registry.addMapping( PreServiceDevelopCommand.class, "Module", PreServiceInstallCommand.class );
109
  	registry.addMapping( PreServiceDevelopCommand.class, "Module", PreServiceInstallCommand.class );
(-)src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDevelopCommand.java (-4 / +11 lines)
Lines 1-15 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005 IBM Corporation and others.
2
 * Copyright (c) 2005, 2006 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
11
 * -------- -------- -----------------------------------------------------------
12
 * 20060131 121071   rsinha@ca.ibm.com - Rupam Kuehner
12
 * 20060131 121071   rsinha@ca.ibm.com - Rupam Kuehner
13
 * 20060221   119111 rsinha@ca.ibm.com - Rupam Kuehner
13
 *******************************************************************************/
14
 *******************************************************************************/
14
15
15
package org.eclipse.jst.ws.internal.creation.ui.extension;
16
package org.eclipse.jst.ws.internal.creation.ui.extension;
Lines 53-58 Link Here
53
  private String            j2eeLevel_;
54
  private String            j2eeLevel_;
54
  private ResourceContext   resourceContext_;
55
  private ResourceContext   resourceContext_;
55
  
56
  
57
  private boolean deploy_;
56
  private boolean install_;
58
  private boolean install_;
57
  private boolean run_;
59
  private boolean run_;
58
  private boolean client_;
60
  private boolean client_;
Lines 107-113 Link Here
107
      wsInfo.setWsdlURL(wsdlURL);      
109
      wsInfo.setWsdlURL(wsdlURL);      
108
		}
110
		}
109
	
111
	
110
		context_     = new SimpleContext(true, true, true, install_, run_, client_, test_, publish_, 
112
		context_     = new SimpleContext(true, true, deploy_, install_, run_, client_, test_, publish_, 
111
																		scenario, 
113
																		scenario, 
112
																		resourceContext_.isOverwriteFilesEnabled(),
114
																		resourceContext_.isOverwriteFilesEnabled(),
113
																		resourceContext_.isCreateFoldersEnabled(),
115
																		resourceContext_.isCreateFoldersEnabled(),
Lines 234-239 Link Here
234
	{
236
	{
235
		install_ = installService;
237
		install_ = installService;
236
	}
238
	}
239
240
  public void setDeployService(boolean deployService)
241
    {
242
        deploy_ = deployService;
243
    }
237
  
244
  
238
	public void setStartService(boolean startService)
245
	public void setStartService(boolean startService)
239
	{
246
	{
(-)src/org/eclipse/jst/ws/internal/creation/ui/widgets/runtime/ServerRuntimeSelectionWidget.java (-22 / +32 lines)
Lines 9-16 Link Here
9
 * IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
11
 * -------- -------- -----------------------------------------------------------
12
 * 20060204 124408   rsinha@ca.ibm.com - Rupam Kuehner          
12
 * 20060204 124408   rsinha@ca.ibm.com - Rupam Kuehner 
13
 * 20060221   100190 pmoogk@ca.ibm.com - Peter Moogk
13
 * 20060221   100190 pmoogk@ca.ibm.com - Peter Moogk         
14
 * 20060221   119111 rsinha@ca.ibm.com - Rupam Kuehner
14
 *******************************************************************************/
15
 *******************************************************************************/
15
package org.eclipse.jst.ws.internal.creation.ui.widgets.runtime;
16
package org.eclipse.jst.ws.internal.creation.ui.widgets.runtime;
16
17
Lines 333-367 Link Here
333
      }
334
      }
334
      else
335
      else
335
      {
336
      {
336
        //Look at the project type to ensure that it is suitable for the selected runtime
337
        //Non-existing project is only permitted if there is a server selected.
337
        //and server.
338
        if (serverFactoryId==null || serverFactoryId.length()==0)
338
        
339
        String templateId = getServiceComponentType();
340
341
        if (templateId != null && templateId.length()>0)
342
        {
339
        {
343
          //Check if the runtime supports it.            
340
          finalStatus = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_PROJECT_MUST_EXIST, new String[]{projectName}));
344
          if (!WebServiceRuntimeExtensionUtils2.doesServiceTypeAndRuntimeSupportTemplate(typeId, runtimeId, templateId))
341
        }
345
          {
342
        else
346
            String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
343
        {
347
            String templateLabel = FacetUtils.getTemplateLabelById(templateId);
344
          // Look at the project type to ensure that it is suitable for the
348
            finalStatus = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE, new String[]{runtimeLabel, templateLabel}));
345
          // selected runtime and server.
349
          }
346
          String templateId = getServiceComponentType();
350
          
347
351
          //Check if the server supports it.
348
          if (templateId != null && templateId.length() > 0)
352
          if (serverFactoryId!=null && serverFactoryId.length()>0)
353
          {
349
          {
354
            if (!valUtils.doesServerSupportTemplate(serverFactoryId, templateId))
350
            // Check if the runtime supports it.
351
            if (!WebServiceRuntimeExtensionUtils2.doesServiceTypeAndRuntimeSupportTemplate(typeId, runtimeId, templateId))
355
            {
352
            {
356
              String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverFactoryId);
353
              String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
357
              String templateLabel = FacetUtils.getTemplateLabelById(templateId);
354
              String templateLabel = FacetUtils.getTemplateLabelById(templateId);
358
              finalStatus = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE, new String[]{serverLabel, templateLabel}));
355
              finalStatus = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE,
356
                  new String[] { runtimeLabel, templateLabel }));
357
            }
358
359
            // Check if the server supports it.
360
            if (serverFactoryId != null && serverFactoryId.length() > 0)
361
            {
362
              if (!valUtils.doesServerSupportTemplate(serverFactoryId, templateId))
363
              {
364
                String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverFactoryId);
365
                String templateLabel = FacetUtils.getTemplateLabelById(templateId);
366
                finalStatus = StatusUtils.errorStatus(NLS.bind(
367
                    ConsumptionUIMessages.MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE,
368
                    new String[] { serverLabel, templateLabel }));
369
              }
359
            }
370
            }
360
          }
371
          }
361
        }
372
        }
362
        
373
        
363
        
374
        
364
        
365
      }
375
      }
366
    }    
376
    }    
367
377
(-)src/org/eclipse/jst/ws/internal/creation/ui/widgets/runtime/ServerRuntimeSelectionWidgetDefaultingCommand.java (-43 / +15 lines)
Lines 1-15 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004 IBM Corporation and others.
2
 * Copyright (c) 2004, 2006 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
11
 * -------- -------- -----------------------------------------------------------
12
 * 20060131 121071   rsinha@ca.ibm.com - Rupam Kuehner     
12
 * 20060131 121071   rsinha@ca.ibm.com - Rupam Kuehner     
13
 * 20060221   119111 rsinha@ca.ibm.com - Rupam Kuehner
13
 *******************************************************************************/
14
 *******************************************************************************/
14
package org.eclipse.jst.ws.internal.creation.ui.widgets.runtime;
15
package org.eclipse.jst.ws.internal.creation.ui.widgets.runtime;
15
16
Lines 35-42 Link Here
35
import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
36
import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
36
import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
37
import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
37
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.FacetMatchCache;
38
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.FacetMatchCache;
39
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
38
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor;
40
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor;
39
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils;
40
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
41
import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
41
import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
42
import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
42
import org.eclipse.osgi.util.NLS;
43
import org.eclipse.osgi.util.NLS;
Lines 308-317 Link Here
308
    }    
309
    }    
309
310
310
    //No suitable server was found. Popup an error.
311
    //No suitable server was found. Popup an error.
311
    String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(serviceIds_.getRuntimeId());
312
    RuntimeDescriptor runtimeDescriptor = WebServiceRuntimeExtensionUtils2.getRuntimeById(serviceIds_.getRuntimeId());
312
    String serverLabels = getServerLabels(serviceIds_.getRuntimeId());    
313
    if (runtimeDescriptor.getServerRequired())
313
    IStatus status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[]{runtimeLabel, serverLabels}) );
314
    {    
314
    return status;
315
      String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(serviceIds_.getRuntimeId());    
316
      IStatus status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[]{runtimeLabel}) );
317
      return status;
318
    }
319
    
320
    return Status.OK_STATUS;
315
  }  
321
  }  
316
  
322
  
317
  private IServer getServerFromServiceRuntimeId()
323
  private IServer getServerFromServiceRuntimeId()
Lines 352-392 Link Here
352
    return null;
358
    return null;
353
  }  
359
  }  
354
  
360
  
355
  /*
356
  private IServer getFirstSupportedServer(IServer[] servers, String serviceRuntimeId, IProject serviceProject)
357
  {
358
    if (servers != null && servers.length > 0) {
359
      for (int i = 0; i < servers.length; i++)
360
      {
361
        String serverFactoryId = servers[i].getServerType().getId();
362
        if (WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportServer(serviceRuntimeId, serverFactoryId))
363
        {
364
          //TODO check if the server type supports the project before returning.
365
          return servers[i];
366
        }
367
      }
368
    }
369
    return null;
370
  }
371
  */
372
  
361
  
373
  private String getServerLabels(String serviceRuntimeId)
374
  {
375
        String[] validServerFactoryIds = WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByServiceRuntime(serviceRuntimeId);
376
        //String[] validServerLabels = new String[validServerFactoryIds.length];
377
        StringBuffer validServerLabels = new StringBuffer(); 
378
        for (int i=0; i<validServerFactoryIds.length; i++)
379
        {
380
            if (i>0)
381
            {
382
                validServerLabels.append(", ");
383
            }
384
            validServerLabels.append(WebServiceRuntimeExtensionUtils.getServerLabelById(validServerFactoryIds[i]));
385
            
386
        }
387
        return validServerLabels.toString();
388
  }
389
390
  private String getDefaultServiceProjectTemplate()
362
  private String getDefaultServiceProjectTemplate()
391
  {
363
  {
392
    String[] templates = WebServiceRuntimeExtensionUtils2.getServiceProjectTemplates(serviceIds_.getTypeId(), serviceIds_.getRuntimeId());    
364
    String[] templates = WebServiceRuntimeExtensionUtils2.getServiceProjectTemplates(serviceIds_.getTypeId(), serviceIds_.getRuntimeId());    
Lines 604-607 Link Here
604
    return serviceNeedEAR_;
576
    return serviceNeedEAR_;
605
  }
577
  }
606
  
578
  
607
}
579
}
(-)src/org/eclipse/jst/ws/internal/creation/ui/widgets/binding/ServerWidgetBinding.java (-3 / +6 lines)
Lines 1-16 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004 IBM Corporation and others.
2
 * Copyright (c) 2004, 2006 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
11
 * -------- -------- -----------------------------------------------------------
12
 * 20060204 124408   rsinha@ca.ibm.com - Rupam Kuehner
12
 * 20060204 124408   rsinha@ca.ibm.com - Rupam Kuehner
13
 * 20060204 121605   rsinha@ca.ibm.com - Rupam Kuehner           
13
 * 20060204 121605   rsinha@ca.ibm.com - Rupam Kuehner           
14
 * 20060221   119111 rsinha@ca.ibm.com - Rupam Kuehner
14
 *******************************************************************************/
15
 *******************************************************************************/
15
package org.eclipse.jst.ws.internal.creation.ui.widgets.binding;
16
package org.eclipse.jst.ws.internal.creation.ui.widgets.binding;
16
17
Lines 381-386 Link Here
381
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "TestService", PreClientDevelopCommand.class);
382
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "TestService", PreClientDevelopCommand.class);
382
      
383
      
383
      dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
384
      dataRegistry.addMapping( ServerWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
385
      dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DeployClient", PreClientDevelopCommand.class );
384
      dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "InstallClient", PreClientDevelopCommand.class );
386
      dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "InstallClient", PreClientDevelopCommand.class );
385
      dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "InstallClient", PreClientDevelopCommand.class, "StartService", null);      
387
      dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "InstallClient", PreClientDevelopCommand.class, "StartService", null);      
386
      dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", PreClientDevelopCommand.class );
388
      dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", PreClientDevelopCommand.class );
Lines 512-517 Link Here
512
      dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", ClientTestDelegateCommand.class);
514
      dataRegistry.addMapping(ServerExtensionDefaultingCommand.class, "ServiceTypeRuntimeServer", ClientTestDelegateCommand.class);
513
	  
515
	  
514
	    // Setup the PreServiceDevelopCommand.
516
	    // Setup the PreServiceDevelopCommand.
517
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "DeployService", PreServiceDevelopCommand.class);
515
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "InstallService", PreServiceDevelopCommand.class);
518
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "InstallService", PreServiceDevelopCommand.class);
516
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "StartService", PreServiceDevelopCommand.class);      
519
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "StartService", PreServiceDevelopCommand.class);      
517
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "TestService", PreServiceDevelopCommand.class);
520
      dataRegistry.addMapping( ServerExtensionDefaultingCommand.class, "TestService", PreServiceDevelopCommand.class);
(-)src/org/eclipse/jst/ws/internal/creation/ui/ant/AntServiceRootCommandFragment.java (-3 / +7 lines)
Lines 1-12 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005 IBM Corporation and others.
2
 * Copyright (c) 2005, 2006 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
12
 * 20060221   119111 rsinha@ca.ibm.com - Rupam Kuehner
10
 *******************************************************************************/
13
 *******************************************************************************/
11
package org.eclipse.jst.ws.internal.creation.ui.ant;
14
package org.eclipse.jst.ws.internal.creation.ui.ant;
12
15
Lines 90-95 Link Here
90
    dataRegistry.addMapping(AntDefaultingOperation.class, "ClientIdsFixed", ServerRuntimeSelectionWidgetDefaultingCommand.class);
93
    dataRegistry.addMapping(AntDefaultingOperation.class, "ClientIdsFixed", ServerRuntimeSelectionWidgetDefaultingCommand.class);
91
    dataRegistry.addMapping(AntDefaultingOperation.class, "StartService", PreServiceDevelopCommand.class);
94
    dataRegistry.addMapping(AntDefaultingOperation.class, "StartService", PreServiceDevelopCommand.class);
92
    dataRegistry.addMapping(AntDefaultingOperation.class, "InstallService", PreServiceDevelopCommand.class);
95
    dataRegistry.addMapping(AntDefaultingOperation.class, "InstallService", PreServiceDevelopCommand.class);
96
    dataRegistry.addMapping(AntDefaultingOperation.class, "DeployService", PreServiceDevelopCommand.class);
93
    
97
    
94
    // Map ServerRuntimeSelectionWidgetDefaultingCommand
98
    // Map ServerRuntimeSelectionWidgetDefaultingCommand
95
    dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerExtensionDefaultingCommand.class);    
99
    dataRegistry.addMapping(ServerRuntimeSelectionWidgetDefaultingCommand.class, "ServiceTypeRuntimeServer", ServerExtensionDefaultingCommand.class);    

Return to bug 119111