public final class SonarTaskUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
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
|
public static URL getJarPath()
getClass().getProtectionDomain().getCodeSource().getLocation() doesn't work under Ant 1.7.0.
So this is a workaround.public static int getAntLoggerLever(org.apache.tools.ant.Project project)
Main):
public static String getTaskVersion()
Copyright © 2011-2013 SonarSource. All Rights Reserved.