project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/sharedui/BuilderSelectionComposite.java
equal
deleted
inserted
replaced
82 * @return null for no error, otherwise a string for the error message |
82 * @return null for no error, otherwise a string for the error message |
83 */ |
83 */ |
84 public IStatus validate() { |
84 public IStatus validate() { |
85 useSBSv2Builder = true; |
85 useSBSv2Builder = true; |
86 IStatus status = null; |
86 IStatus status = null; |
87 if (builderCombo != null && builderCombo.getSelectionIndex() == 1) { |
87 if (builderCombo != null && builderCombo.getSelectionIndex() == 1) { |
88 |
|
89 IPath sbsBinPath = SBSv2Utils.getSBSBinDirectory(); |
|
90 |
88 |
91 if (SBSv2Utils.getSBSBinDirectory() == null){ |
89 if (SBSv2Utils.getSBSBinDirectory() == null){ |
92 status = new Status(Status.ERROR, ProjectUIPlugin.PLUGIN_ID, "The Symbian Build System (sbs) cannot be found on the PATH. Carbide needs a valid SBS installation on the PATH to use the SBSv2 builder."); |
90 status = new Status(Status.ERROR, ProjectUIPlugin.PLUGIN_ID, "The Symbian Build System (sbs) cannot be found on the PATH. Carbide needs a valid SBS installation on the PATH to use the SBSv2 builder."); |
93 } |
91 } |
94 // check the raptor version |
92 // check the raptor version |