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 200193 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceDevelopCommand.java (-1 / +1 lines)
Lines 172-178 Link Here
172
		  }
172
		  }
173
		   
173
		   
174
		  // add the module dependency if the initial project is Java project
174
		  // add the module dependency if the initial project is Java project
175
		  if(FacetUtils.isJavaProject(initialProject_)){
175
		  if(initialProject_ != null && FacetUtils.isJavaProject(initialProject_)){
176
			  AddModuleDependenciesCommand addMod = new AddModuleDependenciesCommand();
176
			  AddModuleDependenciesCommand addMod = new AddModuleDependenciesCommand();
177
			  // Should not call AddModuleDependenciesCommand execute() method here since the 
177
			  // Should not call AddModuleDependenciesCommand execute() method here since the 
178
			  // necessary testInfo is not set up.  We are just using some methods here.
178
			  // necessary testInfo is not set up.  We are just using some methods here.
(-)src/org/eclipse/jst/ws/internal/creation/ui/extension/PreServiceAssembleCommand.java (-1 / +1 lines)
Lines 110-116 Link Here
110
		  }			
110
		  }			
111
111
112
		  // add the module dependency if the initial project is Java project
112
		  // add the module dependency if the initial project is Java project
113
		  if(FacetUtils.isJavaProject(initialProject_)) {
113
		  if(initialProject_ != null && FacetUtils.isJavaProject(initialProject_)) {
114
			  AddModuleDependenciesCommand addMod = new AddModuleDependenciesCommand(); 
114
			  AddModuleDependenciesCommand addMod = new AddModuleDependenciesCommand(); 
115
			  // Should not call AddModuleDependenciesCommand execute() method here since the 
115
			  // Should not call AddModuleDependenciesCommand execute() method here since the 
116
			  // necessary testInfo is not set up.  We are just using some methods here.
116
			  // necessary testInfo is not set up.  We are just using some methods here.

Return to bug 200193