import org.sonar.api.web.*;
@WidgetLayout(WidgetLayoutType.NONE)
-@Description("Displays general project information taken from the pom.xml")
+@Description("Displays general project information")
public class DescriptionWidget extends AbstractRubyTemplate implements RubyRailsWidget {
public String getId() {
return "description";
File classesDir = project.getFileSystem().getBuildOutputDir();
if (classesDir == null || !classesDir.exists()) {
throw new SonarException("Findbugs needs sources to be compiled. "
- + "Please build project or edit pom.xml to set the <outputDirectory> property before executing sonar.");
+ + "Please build project before executing sonar and check the location of compiled classes.");
}
edu.umd.cs.findbugs.Project findbugsProject = new edu.umd.cs.findbugs.Project();
*/
public void checkUp() {
String exceptionLabel = "Sonar server at " + url +
- " is unreacheable. Either start it or setup the sonar.host.url maven setting if the URL is incorrect";
+ " is unreacheable. Either start it or setup the sonar.host.url setting if the URL is incorrect";
if (getId() == null) {
throw new ServerConnectionException(exceptionLabel);
}