Skip to content

Commit

Permalink
fix up sqale
Browse files Browse the repository at this point in the history
(cherry picked from commit e323b3f95865f725dbd4acb4d1b23d2628705b83)
(cherry picked from commit d1620d8)
  • Loading branch information
Jorge Costa authored and Jorge Costa committed May 30, 2015
1 parent 45f5b1f commit 35464fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.sonar.api.server.rule.RulesDefinitionXmlLoader;
import org.sonar.plugins.cxx.CxxLanguage;
import org.sonar.plugins.cxx.utils.CxxUtils;
import org.sonar.squidbridge.rules.SqaleXmlLoader;

/**
* Loads the external rules configuration file.
Expand Down Expand Up @@ -59,6 +60,7 @@ public void define(Context context) {
}
}

SqaleXmlLoader.load(repository, "/com/sonar/sqale/cxx-model.xml");
//i18nLoader.load(repository); //@todo?
repository.done();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.sonar.api.server.rule.RulesDefinition;
import org.sonar.api.server.rule.RulesDefinitionXmlLoader;
import org.sonar.plugins.cxx.CxxLanguage;
import org.sonar.squidbridge.rules.SqaleXmlLoader;

/**
* {@inheritDoc}
Expand Down Expand Up @@ -80,6 +81,7 @@ public void define(Context context) {
}

//i18nLoader.load(repository); //@todo?
SqaleXmlLoader.load(repository, "/com/sonar/sqale/cxx-model.xml");
repository.done();
}

Expand Down

0 comments on commit 35464fb

Please sign in to comment.