You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hercule 1673 $ ll lib/
total 4388
-rw-rw-r-- 1 clements ofacdev 9755 Aug 21 01:19 ant-task-1.3.2.jar
-rw-rw-r-- 1 clements ofacdev 4480690 Aug 21 01:18
testability-explorer-1.3.2-with-deps.jar
hercule 1674 $ cat build.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<project default="report">
<path id="classpath">
<fileset dir="lib" includes="*.jar"/>
</path>
<taskdef name="testability" classname="com.google.ant.TestabilityTask"
classpathref="classpath"/>
<target name="report" >
<testability filter="" resultfile="report.html"
errorfile="testability.err.txt"
printdepth="2" print="html" mincost="1"
maxexcellentcost="50"
maxacceptablecost="100" worstoffendercount="25"
whitelist=""
cyclomatic="1" global="10"
failproperty="testability.failproperty">
<classpath>
<pathelement path="log4j.1.2.15.jar"/>
</classpath>
</testability>
</target>
</project>
hercule 1675 $ ant -f build.xml
Buildfile: build.xml
report:
BUILD FAILED
com.google.inject.CreationException: Guice creation errors:
1) No implementation for com.google.classpath.ClassPath was bound.
while locating com.google.classpath.ClassPath
for parameter 1 at
com.google.test.metric.JavaTestabilityRunner.<init>(JavaTestabilityRunner.java:5
4)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:20)
2) No implementation for com.google.classpath.ClassPath was bound.
while locating com.google.classpath.ClassPath
for parameter 0 at
com.google.test.metric.ReportGeneratorProvider.<init>(ReportGeneratorProvider.ja
va:73)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:21)
3) No implementation for
com.google.test.metric.ReportGeneratorProvider$ReportFormat was bound.
while locating com.google.test.metric.ReportGeneratorProvider$ReportFormat
for parameter 4 at
com.google.test.metric.ReportGeneratorProvider.<init>(ReportGeneratorProvider.ja
va:73)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:21)
4) No implementation for com.google.test.metric.WhiteList was bound.
while locating com.google.test.metric.WhiteList
for parameter 5 at
com.google.test.metric.JavaTestabilityRunner.<init>(JavaTestabilityRunner.java:5
4)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:20)
5) No implementation for com.google.test.metric.WhiteList was bound.
while locating com.google.test.metric.WhiteList
for parameter 2 at
com.google.test.metric.MetricComputer.<init>(MetricComputer.java:40)
while locating com.google.test.metric.MetricComputer
for parameter 3 at
com.google.test.metric.JavaTestabilityRunner.<init>(JavaTestabilityRunner.java:5
4)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:20)
6) No implementation for java.io.PrintStream annotated with
@com.google.test.metric.ConfigModule.Error() was bound.
while locating java.io.PrintStream annotated with
@com.google.test.metric.ConfigModule.Error()
for parameter 6 at
com.google.test.metric.JavaTestabilityRunner.<init>(JavaTestabilityRunner.java:5
4)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:20)
7) No implementation for java.io.PrintStream annotated with
@com.google.test.metric.ConfigModule.Error() was bound.
while locating java.io.PrintStream annotated with
@com.google.test.metric.ConfigModule.Error()
for parameter 1 at
com.google.test.metric.MetricComputer.<init>(MetricComputer.java:40)
while locating com.google.test.metric.MetricComputer
for parameter 3 at
com.google.test.metric.JavaTestabilityRunner.<init>(JavaTestabilityRunner.java:5
4)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:20)
8) No implementation for java.io.PrintStream annotated with
@com.google.test.metric.ConfigModule.Output() was bound.
while locating java.io.PrintStream annotated with
@com.google.test.metric.ConfigModule.Output()
for parameter 2 at
com.google.test.metric.ReportGeneratorProvider.<init>(ReportGeneratorProvider.ja
va:73)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:21)
9) No implementation for java.lang.Integer annotated with
@com.google.inject.name.Named(value=printDepth) was bound.
while locating java.lang.Integer annotated with
@com.google.inject.name.Named(value=printDepth)
for parameter 3 at
com.google.test.metric.MetricComputer.<init>(MetricComputer.java:40)
while locating com.google.test.metric.MetricComputer
for parameter 3 at
com.google.test.metric.JavaTestabilityRunner.<init>(JavaTestabilityRunner.java:5
4)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:20)
10) No implementation for java.util.List<java.lang.String> was bound.
while locating java.util.List<java.lang.String>
for parameter 4 at
com.google.test.metric.JavaTestabilityRunner.<init>(JavaTestabilityRunner.java:5
4)
at
com.google.test.metric.TestabilityModule.configure(TestabilityModule.java:20)
11) No implementation for com.google.classpath.ClassPath was bound.
at
com.google.test.metric.TestabilityModule.getClassRepo(TestabilityModule.java:25)
11 errors
at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.jav
a:354)
at
com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:152)
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
at com.google.inject.Guice.createInjector(Guice.java:92)
at com.google.inject.Guice.createInjector(Guice.java:69)
at com.google.inject.Guice.createInjector(Guice.java:59)
at
com.google.ant.TestabilityTask.runTestabilityExplorer(TestabilityTask.java:135)
at com.google.ant.TestabilityTask.execute(TestabilityTask.java:110)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 1 second
hercule 1677 $ ant -version
Apache Ant version 1.7.1 compiled on June 27 2008
Original issue reported on code.google.com by [email protected] on 2 Oct 2009 at 12:03
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 2 Oct 2009 at 12:03The text was updated successfully, but these errors were encountered: