|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sonar.ant.SonarTaskUtils
public final class SonarTaskUtils
| Method Summary | |
|---|---|
protected static String |
extractURI(String pathToClass,
String path)
|
static int |
getAntLoggerLever(org.apache.tools.ant.Project project)
Workaround to get Ant logger level. |
static URL |
getJarPath()
For unknown reasons getClass().getProtectionDomain().getCodeSource().getLocation() doesn't work under Ant 1.7.0. |
static String |
getTaskVersion()
Returns the version of the Ant Task |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static URL getJarPath()
getClass().getProtectionDomain().getCodeSource().getLocation() doesn't work under Ant 1.7.0.
So this is a workaround.
protected static String extractURI(String pathToClass,
String path)
public static int getAntLoggerLever(org.apache.tools.ant.Project project)
Main):
public static String getTaskVersion()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||