import-bot (20212) [Avatar] Offline
#1
[Originally posted by thkoenni]

I am trying to use the junitreport task and am getting an error. I have the
latest version of xalan.jar in my lib directory, and am pointing to it in the
classpath--
<path id="test.classpath" >
<pathelement location="${lib.dir}/junit.jar}" />
<pathelement location="${lib.dir}/xalan.jar" />
<pathelement location="${test.dir}" />
</path>
When running the build with -debug the error message is:

file:G:/work/AntTestProjects/build.xml:58: Class org.apache.tools.ant.taskdefs.o
ptional.junit.AggregateTransformer doesn't support the "fomat" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHe
lper.java:422)
at org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:306)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig
urable.java:242)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig
urable.java:211)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig
urable.java:262)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig
urable.java:211)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:259)
at org.apache.tools.ant.Task.perform(Task.java:340)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

Any suggestions?

Thanks, Tom K
import-bot (20212) [Avatar] Offline
#2
Re: junitreport
[Originally posted by erikhatcher]

fomat? you mean 'format', right? is that the issue? for general Ant
support issues, please use
the Ant user list from now on though. this forum is for issues directly
related to our book.