public final class SonarQubeTaskUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
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–2016 SonarSource. All rights reserved.